Advisory

GHSA-927q-g9w9-pm54

Also known as: RUSTSEC-2025-0027

Summary

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

Details

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.

Severity

Medium Basis: The source's own band: MODERATE

Dates

Published
2025-04-30 17:41 UTC
Modified
2025-10-28 06:29 UTC

Affected packages and fixes

mp3-metadata

crates.io · All systems

Affected

  • introduced 0, fixed 0.4.0 (semver)

Fixed versions

0.4.0

Fix

  • Fixed version 0.4.0
    cargo update -p mp3-metadata --precise 0.4.0

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences