Skip to main content

Boteraser | Website and Server Security Solutions

🛡️ GHSA-hhw4-xg65-fp2x — serde-yml

⚪ Unknown ✅ No Known Exploit CWE-787 OSV
N/A
CVSS Score
0 Low4 Medium7 High9 Critical10

Description

serde_yml crate is unsound and unmaintained

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](https://crates.io/crates/serde_norway) - Maintained fork of serde_yaml, using unsafe-libyaml-norway
  • [serde_yaml_ng](https://crates.io/crates/serde_yaml_ng) - Maintained fork of serde_yaml, using unmaintained unsafe-libyaml

Incomplete pure Rust alternatives

These implementation do not rely on C libyaml.

  • [serde_yaml2](https://crates.io/crates/serde_yaml2)
  • [yaml-peg](https://crates.io/crates/yaml-peg)

How this vulnerability can be exploited

This issue can be reached with local access to the system, attack complexity is low, an attacker needs no privileges on the target. No user interaction is required. Rated impact: confidentiality none, integrity none, availability high.

CVSS metrics in full

The score comes from this vector: CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N

  • Attack vector: Local — a local account, shell or session on the host is needed.
  • Attack complexity: Low — the attack works reliably, with no preparation.
  • Attack requirements: None — no deployment-specific condition has to hold.
  • Privileges required: None — an unauthenticated stranger can try it.
  • User interaction: None — nobody has to be tricked into anything.
  • Confidentiality impact: None.
  • Integrity impact: None.
  • Availability impact: High — total loss, or loss the attacker controls.

Weakness class

GHSA-hhw4-xg65-fp2x is classified as CWE-787: Out-of-bounds Write. Data is written past the end or before the start of a buffer, corrupting whatever is stored there.

Affected software

GHSA-hhw4-xg65-fp2x is recorded against 1 package.

  • serde-yml

Timeline and source

Published on 15 September 2025 and last revised on 28 October 2025. No public exploit is currently recorded for this entry. Record sourced from OSV.

References

github.com (Web)
github.com (Package)
rustsec.org (Web)

Other advisories for this package

serde-yml has other advisories on record. If you are patching this one, these are worth checking on the same host:

Same weakness in other software

These advisories are the same class of weakness (CWE-787: Out-of-bounds Write) in other software:

Details

Severity Unknown
CVSS Score N/A
CVSS Vector CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
CWE CWE-787
Public Exploit ✅ No
Source OSV
Published 2025-09-15
Updated 2026-08-20
Modified 2025-10-28
Fix URL N/A

Affected Packages

Software From version Fixed in
serde-yml — —

Similar Threats

Free Vulnerability Check

Is your site affected by GHSA-hhw4-xg65-fp2x?

BotEraser helps you identify potentially vulnerable plugins and themes by checking your installation against GHSA-hhw4-xg65-fp2x and other known CVE records.

Scan My Site Free →

No credit card required  ·  Results in minutes

ⓘ Data Notice: The information presented above has been compiled from publicly available internet sources. Boteraser aggregates this data solely for informational purposes and does not independently classify, evaluate, or endorse any findings about the vulnerabilities listed. The accuracy and completeness of this information is the sole responsibility of the original publishers. Boteraser and its operators accept no liability for any decisions made based on this data.

Browse related advisories

All advisoriesGitHub AdvisoryGitHub Advisory Undated
✓