LibYML: `libyml::string::yaml_string_extend` is unsound and unmaintained
High severity
GitHub Reviewed
Published
Sep 15, 2025
to the GitHub Advisory Database
•
Updated Sep 15, 2025
Description
Published to the GitHub Advisory Database
Sep 15, 2025
Reviewed
Sep 15, 2025
Last updated
Sep 15, 2025
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 ofunsafe-libyaml
References