# GHSA-gfxp-f68g-8x78: LibYML: `libyml::string::yaml_string_extend` is unsound and unmaintained

- Severity: High (CVSS:4.0, scored by GitHub) `CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Published: 2025-09-11T12:00:00.000Z
- Modified: 2025-10-28T06:29:24.654Z
- Also known as: RUSTSEC-2025-0067
- Weaknesses: CWE-758

## Description

In version 0.0.4, `libyml::string::yaml_string_extend` was revised resulting in undefined behaviour, which is unsound.

The GitHub project for `libyml` was archived after unsoundness issues were raised.

If you rely on this crate, it is highly recommended switching to a maintained alternative.

## Recommended alternatives

- [`libyaml-safer`](https://crates.io/crates/libyaml-safer) 
- [`unsafe-libyaml-norway`](https://crates.io/crates/unsafe-libyaml-norway) - Maintained fork of `unsafe-libyaml`

(As written by GitHub Advisory Database.)

## Affected

- libyml (crates.io): from 0.0.4 up to 0.0.5; from 0.0.0-0

## References

- <https://github.com/rustsec/advisory-db/issues/2395> (report, web)
- <https://github.com/sebastienrousseau/libyml> (package)
- <https://rustsec.org/advisories/RUSTSEC-2025-0067.html> (advisory, web)
- <https://crates.io/crates/libyml> (package)

## Sources

- GitHub Advisory Database: [GHSA-gfxp-f68g-8x78](https://github.com/advisories/GHSA-gfxp-f68g-8x78), CC-BY-4.0, modified 2025-10-28
- RustSec Advisory Database: [RUSTSEC-2025-0067](https://rustsec.org/advisories/RUSTSEC-2025-0067.html), CC0-1.0, modified 2025-10-28

---

Page: https://cve.day/GHSA-gfxp-f68g-8x78 · Whole record: https://cve.day/GHSA-gfxp-f68g-8x78.json · Rebuilt by cve.day 2026-11-25T22:56:43.267Z
