GHSA-hhw4-xg65-fp2x: serde_yml crate is unsound and unmaintained
Using serdeyml::ser::Serializer.emitter can cause a segmentation fault, which is unsound. The GitHub project for serdeyml was archived after unsoundness issues were raised. If you rely on this crate, it is highly recommended switching to a maintained alternative.
Published Sep 15, 2025
Affected packages
serde_yml
- Ecosystem
- Rust (crates.io)
- Affected
- <= 0.0.12
- Fixed in
- No patched version yet
- Check
cargo tree -i serde_yml
Advisory details
From the GitHub Advisory Database (CC BY 4.0).
Using serde_yml::ser::Serializer.emitter can cause a segmentation fault, which is unsound.
The GitHub project for serde_yml was archived after unsoundness issues were raised.
If you rely on this crate, it is highly recommended switching to a maintained alternative.
Recommended alternatives
- `serde_norway` - Maintained fork of
serde_yaml, usingunsafe-libyaml-norway - `serde_yaml_ng` - Maintained fork of
serde_yaml, using unmaintainedunsafe-libyaml
Incomplete pure Rust alternatives
These implementation do not rely on C libyaml.
References
How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology
