RUSTSEC-2025-0027
MEDIUMPanic in mp3-metadata due to the lack of bounds checking
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, released as part of 0.4.0.
- Published
- 28 Apr 2025
- Last modified
- 28 Oct 2025
- Weakness
- CWE-119
- Also known as
- GHSA-927q-g9w9-pm54
- Sources
- OSV GHSA-927q-g9w9-pm54JSONOSVJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| OSV | GitHub | CVSS 4.0 | CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:P |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| OSV | crates.io | mp3-metadata | < 0.4.0 | 0.4.0 |
| OSV | crates.io | mp3-metadata | >= 0.0.0-0, < 0.4.0 | 0.4.0 |
References
- https://github.com/GuillaumeGomez/mp3-metadata/issues/36 · WEB, REPORT
- https://github.com/GuillaumeGomez/mp3-metadata/pull/37 · WEB
- https://github.com/GuillaumeGomez/mp3-metadata · PACKAGE
- https://rustsec.org/advisories/RUSTSEC-2025-0027.html · WEB, ADVISORY
- https://crates.io/crates/mp3-metadata · PACKAGE
History
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 28 Apr 2025)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 30 Apr 2025)