Skip to content
OpenAdvisories
High GHSA-gfxp-f68g-8x78 RUSTSEC-2025-0067

LibYML: `libyml::string::yaml_string_extend` is unsound and unmaintained

Published Sep 15, 2025 · Updated Oct 28, 2025 · Assigned by GHSA

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`

Affected packages

EcosystemPackageAffectedFixedRecord
crates.io libyml >= 0.0.4, <= 0.0.5 — GHSA-gfxp-f68g-8x78
crates.io libyml >= 0.0.0-0 — RUSTSEC-2025-0067

References