{"id":"GHSA-hhw4-xg65-fp2x","summary":"serde_yml crate is unsound and unmaintained","details":"Using `serde_yml::ser::Serializer.emitter` can cause a segmentation fault, which is unsound.\n\nThe GitHub project for `serde_yml` 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- [`serde_norway`](https://crates.io/crates/serde_norway) - Maintained fork of `serde_yaml`, using `unsafe-libyaml-norway`\n- [`serde_yaml_ng`](https://crates.io/crates/serde_yaml_ng) - Maintained fork of `serde_yaml`, using unmaintained `unsafe-libyaml`\n\n## Incomplete pure Rust alternatives\n\nThese implementation do not rely on C `libyaml`.\n\n- [`serde_yaml2`](https://crates.io/crates/serde_yaml2)\n- [`yaml-peg`](https://crates.io/crates/yaml-peg)","aliases":["RUSTSEC-2025-0068"],"modified":"2025-10-28T06:29:25.168149Z","published":"2025-09-15T13:58:35Z","database_specific":{"nvd_published_at":null,"cwe_ids":["CWE-787"],"severity":"MODERATE","github_reviewed":true,"github_reviewed_at":"2025-09-15T13:58:35Z"},"references":[{"type":"WEB","url":"https://github.com/rustsec/advisory-db/issues/2395"},{"type":"PACKAGE","url":"https://github.com/sebastienrousseau/serde_yml"},{"type":"WEB","url":"https://rustsec.org/advisories/RUSTSEC-2025-0068.html"}],"affected":[{"package":{"name":"serde_yml","ecosystem":"crates.io","purl":"pkg:cargo/serde_yml"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"last_affected":"0.0.12"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2025/09/GHSA-hhw4-xg65-fp2x/GHSA-hhw4-xg65-fp2x.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N"}]}