# RUSTSEC-2025-0067: libyml::string::yaml\_string\_extend is unsound and unmaintained

- Database: RustSec
- Published: 2025-09-11
- Modified: 2025-10-28

## Also published as

- [GHSA-GFXP-F68G-8X78](https://cve.now/GHSA-GFXP-F68G-8X78.md) (GitHub)

## Affected versions

- libyml (crates.io): all versions

## 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://crates.io/crates/libyml
- https://rustsec.org/advisories/RUSTSEC-2025-0067.html
- https://github.com/rustsec/advisory-db/issues/2395

Page: https://cve.now/RUSTSEC-2025-0067

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