🛡️ RUSTSEC-2025-0167 — bitmaps

⚪ Unknown ✅ No Known Exploit OSV
N/A
CVSS Score
0 Low4 Medium7 High9 Critical10

Description

Bitmap::try_from(&[u8]) can create invalid values

The TryFrom<&[u8]> implementation for Bitmap<SIZE> copies the input bytes

into an uninitialized backing store and calls assume_init() without

validating that the bytes form a valid value of the backing store type. For

SIZE = 1 the backing store is a bool, so any input byte other than 0x00

or 0x01 produces an invalid value, which is immediate undefined behavior.

The AsMut<[u8]> implementation has the same problem, as it allows safe code

to write invalid bit patterns into the backing store through the returned slice.

No fixed version is available, as the crate is unmaintained; its GitHub

repository was archived by the owner on 2026-05-03.

Affected software

RUSTSEC-2025-0167 is recorded against 1 package.

  • bitmaps

Timeline and source

Published on 25 December 2025 and last revised on 10 August 2026. No public exploit is currently recorded for this entry. Record sourced from OSV.

References

crates.io (Package)
rustsec.org (Advisory)
github.com (Report)

Details

Severity Unknown
CVSS Score N/A
CVSS Vector N/A
CWE N/A
Public Exploit ✅ No
Source OSV
Published 2025-12-25
Updated 2026-08-12
Modified 2026-08-10
Fix URL N/A

Affected Packages

Software From version Fixed in
bitmaps

Similar Threats

Free Vulnerability Check

Is your site affected by RUSTSEC-2025-0167?

BotEraser helps you identify potentially vulnerable plugins and themes by checking your installation against RUSTSEC-2025-0167 and other known CVE records.

Scan My Site Free →

No credit card required  ·  Results in minutes

ⓘ Data Notice: The information presented above has been compiled from publicly available internet sources. Boteraser aggregates this data solely for informational purposes and does not independently classify, evaluate, or endorse any findings about the vulnerabilities listed. The accuracy and completeness of this information is the sole responsibility of the original publishers. Boteraser and its operators accept no liability for any decisions made based on this data.