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.test.osv.dev/v1/vulns/RUSTSEC-2025-0068
Published
2025-09-11T12:00:00Z
Modified
2025-09-12T07:28:19Z
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
{
    "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": [],
        "functions": [],
        "arch": []
    }
}

Database specific

{
    "informational": "unsound",
    "categories": [],
    "cvss": null
}