Advisory Database
  • Advisories
  • Dependency Scanning
  1. cargo
  2. ›
  3. mp3-metadata
  4. ›
  5. GHSA-927q-g9w9-pm54

GHSA-927q-g9w9-pm54: Panic in mp3-metadata due to the lack of bounds checking

April 30, 2025 (updated October 31, 2025)

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.

References

  • github.com/GuillaumeGomez/mp3-metadata
  • github.com/GuillaumeGomez/mp3-metadata/issues/36
  • github.com/GuillaumeGomez/mp3-metadata/pull/37
  • github.com/advisories/GHSA-927q-g9w9-pm54
  • rustsec.org/advisories/RUSTSEC-2025-0027.html

Code Behaviors & Features

Detect and mitigate GHSA-927q-g9w9-pm54 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 0.4.0

Fixed versions

  • 0.4.0

Solution

Upgrade to version 0.4.0 or above.

Impact 6.2 MEDIUM

CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Learn more about CVSS

Weakness

  • CWE-119: Improper Restriction of Operations within the Bounds of a Memory Buffer

Source file

cargo/mp3-metadata/GHSA-927q-g9w9-pm54.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Thu, 13 Nov 2025 12:30:25 +0000.