GHSA-hhw4-xg65-fp2x

Suggest an improvement
Source
https://github.com/advisories/GHSA-hhw4-xg65-fp2x
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2025/09/GHSA-hhw4-xg65-fp2x/GHSA-hhw4-xg65-fp2x.json
JSON Data
https://api.test.osv.dev/v1/vulns/GHSA-hhw4-xg65-fp2x
Published
2025-09-15T13:58:35Z
Modified
2025-09-15T13:58:35Z
Severity
  • 6.9 (Medium) CVSS_V4 - 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 CVSS Calculator
Summary
serde_yml crate is unsound and unmaintained
Details

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

Incomplete pure Rust alternatives

These implementation do not rely on C libyaml.

Database specific
{
    "github_reviewed_at": "2025-09-15T13:58:35Z",
    "nvd_published_at": null,
    "severity": "MODERATE",
    "cwe_ids": [
        "CWE-787"
    ],
    "github_reviewed": true
}
References

Affected packages

crates.io / serde_yml

Package

Affected ranges

Type
SEMVER
Events
Introduced
0Unknown introduced version / All previous versions are affected
Last affected
0.0.12