Vulnerability DatabaseGHSA-hhw4-xg65-fp2x

GHSA-hhw4-xg65-fp2x
Rust vulnerability analysis and mitigation

Overview

The serde_yml crate, a Rust serialization library, has been identified with a critical vulnerability (GHSA-hhw4-xg65-fp2x) that affects all versions up to and including 0.0.12. The vulnerability was discovered and disclosed in September 2025, impacting the Rust ecosystem. The issue primarily affects the serialization functionality of the crate, which has been found to be unsound and is now unmaintained (GitHub Advisory).

Technical details

The vulnerability stems from unsoundness in the serde_yml::ser::Serializer.emitter implementation that can trigger segmentation faults during execution. The issue has been assigned a CVSS v4 base score of 6.9 (Moderate severity), with local attack vector, low attack complexity, and no required privileges or user interaction. The vulnerability is classified as CWE-787 (Out-of-bounds Write), where the product writes data beyond the intended buffer boundaries (GitHub Advisory, RustSec Advisory).

Impact

The primary impact of this vulnerability is on system availability, with the potential to cause segmentation faults that can crash applications using the affected crate. The vulnerability has no direct impact on system confidentiality or integrity, but the unsoundness of the implementation poses significant reliability risks for dependent applications (GitHub Advisory).

Mitigation and workarounds

No direct patches are available as the crate is now unmaintained. Users are strongly recommended to migrate to alternative maintained solutions. Recommended alternatives include serdenorway (using unsafe-libyaml-norway) and serdeyamlng (using unmaintained unsafe-libyaml). For those seeking pure Rust alternatives, serdeyaml2 and yaml-peg are available, though these implementations are noted as incomplete (RustSec Advisory).

Community reactions

The GitHub project for serde_yml has been archived following the discovery of these unsoundness issues, indicating a significant impact on the project's viability. The security community has responded by developing and recommending several alternative implementations to help users migrate away from the vulnerable crate (GitHub Advisory).

Additional resources


SourceThis report was generated using AI

Related Rust vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

GHSA-2fjw-whxm-9v4qCRITICAL9.3
  • RustRust
  • nftnl
NoYesNov 25, 2025
CVE-2025-66017HIGH8.2
  • RustRust
  • cggmp21
NoYesNov 25, 2025
GHSA-mj73-j457-8x9qLOW2.7
  • RustRust
  • maxminddb
NoYesDec 02, 2025
GHSA-pq5v-rwp8-p7gmLOW2.7
  • RustRust
  • rtvm-interpreter
NoNoDec 02, 2025
RUSTSEC-2025-0132N/AN/A
  • RustRust
  • maxminddb
NoYesNov 28, 2025

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management