Skip to content

unsafe-libyaml: unmaintained (repository archived) - #3345

Merged
djc merged 4 commits into
rustsec:mainfrom
Yil00:unsafe-libyaml
Oct 12, 2026
Merged

djc merged 4 commits into
rustsec:mainfrom
Yil00:unsafe-libyaml

Conversation

@Yil00

@Yil00 Yil00 commented Oct 10, 2026

Copy link
Copy Markdown
Contributor

Affected crate(s)

  • unsafe-libyaml (77 million recent downloads per crates.io, 313 million total)

Links to upstream issue(s) or PR(s)

Severity

Informational (unmaintained). No vulnerability is claimed. The crate is a c2rust translation of libyaml into unsafe Rust and will no longer receive fixes; it is still pulled in by serde_yaml (deprecated) and its forks such as serde_yaml_ng.

Checklist

  • Advisory filename(s) starts with RUSTSEC-0000-0000 as the ID
  • date field is set to the public disclosure date (the archival date)
  • Contains a concise and descriptive title after advisory metadata
  • Asked maintainer(s) if publishing an advisory is appropriate: not possible, the repository is archived and read-only; the archival is the maintainer's own public signal

@Yil00 Yil00 mentioned this pull request Oct 10, 2026
5 of 7 tasks

@Yil00 Yil00 left a comment

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Update recommended alternatives

@djc
djc merged commit a877a93 into rustsec:main Oct 12, 2026
1 check passed

Consider a YAML parser written in safe Rust, for example:

- [saphyr](https://crates.io/crates/saphyr) ([serde-saphyr](https://crates.io/crates/serde-saphyr) for serde users)

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This might worsen the existing confusion around these projects - serde-saphyr does not depend on saphyr, but rather on a fork of it. There appear to be plans for a saphyr-serde crate that uses saphyr (though not sure how up-to-date).

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ahh, sorry, I was not aware of that context. Do you want to submit a PR with proposed changes to clarify?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants