RUSTSEC-2025-0068

Source
https://rustsec.org/advisories/RUSTSEC-2025-0068
Import Source
https://github.com/rustsec/advisory-db/blob/osv/crates/RUSTSEC-2025-0068.json
JSON Data
https://api.osv.dev/v1/vulns/RUSTSEC-2025-0068
Aliases
Published
2025-09-11T12:00:00Z
Modified
2025-10-28T06:29:25.168149Z
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

  • serde_norway - Maintained fork of serde_yaml, using unsafe-libyaml-norway
  • serde_yaml_ng - Maintained fork of serde_yaml, using unmaintained unsafe-libyaml

Incomplete pure Rust alternatives

These implementation do not rely on C libyaml.

Database specific
{
    "license": "CC0-1.0"
}
References

Affected packages

crates.io / serde_yml

Package

Affected ranges

Type
SEMVER
Events
Introduced
0.0.0-0

Ecosystem specific

{
    "affected_functions": null,
    "affects": {
        "os": [],
        "arch": [],
        "functions": []
    }
}

Database specific

source
"https://github.com/rustsec/advisory-db/blob/osv/crates/RUSTSEC-2025-0068.json"
cvss
null
informational
"unsound"
categories
[]