# GHSA-GFXP-F68G-8X78: LibYML: libyml::string::yaml\_string\_extend is unsound and unmaintained

- Database: GitHub
- Severity: high (stated by ghsa, no CVSS score)
- Published: 2025-09-15
- Modified: 2025-10-28

## Also published as

- [RUSTSEC-2025-0067](https://cve.now/RUSTSEC-2025-0067.md) (RustSec)

## Affected versions

- libyml (crates.io): from 0.0.4, through 0.0.5

## 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`

## References

- https://github.com/rustsec/advisory-db/issues/2395
- https://github.com/sebastienrousseau/libyml
- https://rustsec.org/advisories/RUSTSEC-2025-0067.html

Page: https://cve.now/GHSA-GFXP-F68G-8X78

Wrong or missing data? Send feedback: POST https://cve.now/api/v1/feedback (see https://cve.now/agents#feedback).
