Every CVE Search/ Get API key

RUSTSEC-2026-0131

Double-free in `Chomp::inner()`

No score

Chomp::inner() uses std::ptr::read_unaligned to move out the value from a raw pointer. If the original value is an owned type (e.g. Box), calling inner() moves out the ownership, but the original variable will still be dropped at the end of its scope. This causes the same heap memory to be freed twice, resulting in a double-free and undefined behavior.

This can be triggered through safe public APIs — Chomp::new() and Chomp::inner() — with no unsafe required from the caller.

What each source reports

OSV No score

Double-free in `Chomp::inner()`

Chomp::inner() uses std::ptr::read_unaligned to move out the value from a raw pointer. If the original value is an owned type (e.g. Box), calling inner() moves out the ownership, but the original variable will still be dropped at the end of its scope. This causes the same heap memory to be freed twice, resulting in a double-free and undefined behavior.

This can be triggered through safe public APIs — Chomp::new() and Chomp::inner() — with no unsafe required from the caller.

Record
RUSTSEC-2026-0131
Updated
2026-11-02

Affected packages

Affected packages
PackageAffectedFixed
bitchomp
crates.io
0.0.0-0 and later None known

History

History
RecordedChangedSources
first indexedOSV

Dates are when Every CVE recorded each change. Upstream dates may differ.

In short

RUSTSEC-2026-0131 is a vulnerability with no CVSS score yet in bitchomp, published May 2, 2026. No source lists public exploit code. No source names a fixed version.

References

MoveEnter Open