GHSA-gfxp-f68g-8x78: LibYML: `libyml::string::yaml_string_extend` is unsound and unmaintained
In version 0.0.4, libyml::string::yamlstringextend was revised resulting in undefined behaviour, which is unsound. The GitHub project for libyml was archived after unsoundness issues were raised. If you rely on this crate, it is highly recommended switching to a maintained alternative. Recommended alternatives - libyaml-safer - unsafe-libyaml-norway - Maintained fork of unsafe-libyaml
Published Sep 15, 2025
Affected packages
libyml
- Ecosystem
- Rust (crates.io)
- Affected
- >= 0.0.4, <= 0.0.5
- Fixed in
- No patched version yet
- Check
cargo tree -i libyml
Advisory details
From the GitHub Advisory Database (CC BY 4.0).
In version 0.0.4, libyml::string::yaml_string_extend was revised resulting in undefined behaviour, which is unsound.
The GitHub project for libyml was archived after unsoundness issues were raised.
If you rely on this crate, it is highly recommended switching to a maintained alternative.
Recommended alternatives
- `libyaml-safer`
- `unsafe-libyaml-norway` - Maintained fork of
unsafe-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
