Skip to content
OpenAdvisories
Medium GHSA-927q-g9w9-pm54 RUSTSEC-2025-0027

Panic in mp3-metadata due to the lack of bounds checking

Published Apr 30, 2025 · Updated Oct 28, 2025 · Assigned by GHSA

Description

The `get_id3()` methods used by `mp3_metadata::read_from_slice()` does not perform adequate bounds checking when recreating the tag due to the use of desynchronization.

Fixed in [Fix index error](https://github.com/GuillaumeGomez/mp3-metadata/pull/37), released as part of 0.4.0.

Affected packages

EcosystemPackageAffectedFixedRecord
crates.io mp3-metadata < 0.4.0 0.4.0 GHSA-927q-g9w9-pm54
crates.io mp3-metadata >= 0.0.0-0, < 0.4.0 0.4.0 RUSTSEC-2025-0027

References