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.
serde_norway - Maintained fork of serde_yaml, using unsafe-libyaml-norwayserde_yaml_ng - Maintained fork of serde_yaml, using unmaintained unsafe-libyamlThese implementation do not rely on C libyaml.
{
"cwe_ids": [
"CWE-787"
],
"github_reviewed": true,
"github_reviewed_at": "2025-09-15T13:58:35Z",
"nvd_published_at": null,
"severity": "MODERATE"
}