{"id":"GHSA-927q-g9w9-pm54","aliases":["GHSA-927q-g9w9-pm54","RUSTSEC-2025-0027"],"related":[],"kind":"vulnerability","state":"published","title":"Panic in mp3-metadata due to the lack of bounds checking","summary":"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.\n\nFixed in [Fix index error](https://github.com/GuillaumeGomez/mp3-metadata/pull/37), released as part of 0.4.0.","summaryFormat":"markdown","summarySource":"ghsa","descriptions":[{"lang":"en","text":"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.\n\nFixed in [Fix index error](https://github.com/GuillaumeGomez/mp3-metadata/pull/37), released as part of 0.4.0.","format":"markdown","source":"ghsa"}],"published":"2025-04-28T12:00:00.000Z","modified":"2025-10-28T06:29:23.888Z","severity":{"scorer":"GitHub","scheme":"CVSS:4.0","vector":"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","rating":"MEDIUM"},"severities":[{"scorer":"GitHub","scheme":"CVSS:4.0","vector":"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","rating":"MEDIUM"}],"cwes":["CWE-119"],"affected":[{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"0.4.0"}],"ecosystem":"crates.io","package":"mp3-metadata","purl":"pkg:cargo/mp3-metadata","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"0.0.0-0","status":"affected","fixed":"0.4.0"}],"ecosystem":"crates.io","package":"mp3-metadata","purl":"pkg:cargo/mp3-metadata","source":"rustsec"}],"references":[{"url":"https://github.com/GuillaumeGomez/mp3-metadata/issues/36","tags":["report","web"],"sources":["ghsa","rustsec"]},{"url":"https://github.com/GuillaumeGomez/mp3-metadata/pull/37","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/GuillaumeGomez/mp3-metadata","tags":["package"],"sources":["ghsa"]},{"url":"https://rustsec.org/advisories/RUSTSEC-2025-0027.html","tags":["advisory","web"],"sources":["ghsa","rustsec"]},{"url":"https://crates.io/crates/mp3-metadata","tags":["package"],"sources":["rustsec"]}],"credits":[],"sources":[{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-927q-g9w9-pm54","url":"https://github.com/advisories/GHSA-927q-g9w9-pm54","licence":"CC-BY-4.0","modified":"2025-10-28T06:29:23.888Z"},{"source":"rustsec","name":"RustSec Advisory Database","id":"RUSTSEC-2025-0027","url":"https://rustsec.org/advisories/RUSTSEC-2025-0027.html","licence":"CC0-1.0","modified":"2025-10-28T06:29:23.888Z"}],"updatedAt":"2026-11-25T22:56:43.253Z"}