{"id":"GHSA-gfxp-f68g-8x78","aliases":["GHSA-gfxp-f68g-8x78","RUSTSEC-2025-0067"],"related":[],"kind":"vulnerability","state":"published","title":"LibYML: `libyml::string::yaml_string_extend` is unsound and unmaintained","summary":"In version 0.0.4, `libyml::string::yaml_string_extend` was revised resulting in undefined behaviour, which is unsound.\n\nThe GitHub project for `libyml` was archived after unsoundness issues were raised.\n\nIf you rely on this crate, it is highly recommended switching to a maintained alternative.\n\n## Recommended alternatives\n\n- [`libyaml-safer`](https://crates.io/crates/libyaml-safer) \n- [`unsafe-libyaml-norway`](https://crates.io/crates/unsafe-libyaml-norway) - Maintained fork of `unsafe-libyaml`","summaryFormat":"markdown","summarySource":"ghsa","descriptions":[{"lang":"en","text":"In version 0.0.4, `libyml::string::yaml_string_extend` was revised resulting in undefined behaviour, which is unsound.\n\nThe GitHub project for `libyml` was archived after unsoundness issues were raised.\n\nIf you rely on this crate, it is highly recommended switching to a maintained alternative.\n\n## Recommended alternatives\n\n- [`libyaml-safer`](https://crates.io/crates/libyaml-safer) \n- [`unsafe-libyaml-norway`](https://crates.io/crates/unsafe-libyaml-norway) - Maintained fork of `unsafe-libyaml`","format":"markdown","source":"ghsa"}],"published":"2025-09-11T12:00:00.000Z","modified":"2025-10-28T06:29:24.654Z","severity":{"scorer":"GitHub","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N","rating":"HIGH"},"severities":[{"scorer":"GitHub","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N","rating":"HIGH"}],"cwes":["CWE-758"],"affected":[{"ranges":[{"type":"semver","introduced":"0.0.4","status":"affected","lastAffected":"0.0.5"}],"ecosystem":"crates.io","package":"libyml","purl":"pkg:cargo/libyml","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"0.0.0-0","status":"affected"}],"ecosystem":"crates.io","package":"libyml","purl":"pkg:cargo/libyml","source":"rustsec"}],"references":[{"url":"https://github.com/rustsec/advisory-db/issues/2395","tags":["report","web"],"sources":["ghsa","rustsec"]},{"url":"https://github.com/sebastienrousseau/libyml","tags":["package"],"sources":["ghsa"]},{"url":"https://rustsec.org/advisories/RUSTSEC-2025-0067.html","tags":["advisory","web"],"sources":["ghsa","rustsec"]},{"url":"https://crates.io/crates/libyml","tags":["package"],"sources":["rustsec"]}],"credits":[],"sources":[{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-gfxp-f68g-8x78","url":"https://github.com/advisories/GHSA-gfxp-f68g-8x78","licence":"CC-BY-4.0","modified":"2025-10-28T06:29:24.654Z"},{"source":"rustsec","name":"RustSec Advisory Database","id":"RUSTSEC-2025-0067","url":"https://rustsec.org/advisories/RUSTSEC-2025-0067.html","licence":"CC0-1.0","modified":"2025-10-28T06:29:24.654Z"}],"updatedAt":"2026-11-25T22:56:43.267Z"}