GHSA-pr59-jjr4-gcf6 Lack of sufficient checks in public API

Not scored Published

Unsound API checks in the unmaintained anon-vec crate allow memory corruption, potentially leading to code execution or crashes.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Not stated
Victim action needed
Not needed
Fix
None listed

What is GHSA-pr59-jjr4-gcf6?

GHSA-pr59-jjr4-gcf6 is a memory corruption vulnerability in anon-vec, published on 6 May 2025.

Official description

The following functions in the anon-vec crate are unsound due to insufficient checks on their arguments::

  • AnonVec::get_ref()
  • AnonVec::get_mut()
  • AnonVec::remove_get()

The crate was built as a learning project and is not being maintained.

Which versions are affected by GHSA-pr59-jjr4-gcf6?

3 open source packages ship an affected version, including anon-vec.

PackageAffectedFixed in
anon-vec crates.ioAll versions to 0.1.1None
anon-vec crates.ioAll versions to 0.1.1None
anon-vec crates.ioFrom 0.0.0-0None

How do I fix GHSA-pr59-jjr4-gcf6?

No fix has been published for GHSA-pr59-jjr4-gcf6 yet. Limit exposure of the affected software until one is available.

Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.

Is GHSA-pr59-jjr4-gcf6 being exploited?

There is no known exploitation of GHSA-pr59-jjr4-gcf6 in the wild and no public exploit code.

Sources

Also known as RUSTSEC-2025-0039.

Is GHSA-pr59-jjr4-gcf6 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free