PT-2025-39507 · Crates.Io · Serde Yaml

Published

2025-09-15

·

Updated

2025-09-15

CVSS v4.0

6.9

Medium

VectorAV:L/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
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.

Fix

Memory Corruption

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

GHSA-HHW4-XG65-FP2X

Affected Products

Serde Yaml