{"id":"GHSA-927q-g9w9-pm54","aliases":["RUSTSEC-2025-0027"],"status":"published","title":"Panic in mp3-metadata due to the lack of bounds checking","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.\n\nFixed in [Fix index error](https://github.com/GuillaumeGomez/mp3-metadata/pull/37), released as part of 0.4.0.","severity":{"version":"4.0","score":5.5,"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","level":"medium","from":"ghsa"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-119"],"published":"2025-04-28T12:00:00Z","modified":"2025-10-28T06:29:23Z","fixes":[{"ecosystem":"crates.io","package":"mp3-metadata","fixed_in":["0.4.0"],"sources":["ghsa","osv"]}],"affected":[{"source":"ghsa","ecosystem":"crates.io","package":"mp3-metadata","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.4.0"}]}]},{"source":"osv","ecosystem":"crates.io","package":"mp3-metadata","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"0.4.0"}]}]},{"source":"osv","ecosystem":"crates.io","package":"mp3-metadata","ranges":[{"type":"SEMVER","events":[{"introduced":"0.0.0-0"},{"fixed":"0.4.0"}]}]}],"references":[{"url":"https://github.com/GuillaumeGomez/mp3-metadata/issues/36","tags":["web","report"]},{"url":"https://github.com/GuillaumeGomez/mp3-metadata/pull/37","tags":["web"]},{"url":"https://rustsec.org/advisories/RUSTSEC-2025-0027.html","tags":["web","advisory"]},{"url":"https://github.com/advisories/GHSA-927q-g9w9-pm54"},{"url":"https://github.com/GuillaumeGomez/mp3-metadata","tags":["package"]},{"url":"https://crates.io/crates/mp3-metadata","tags":["package"]}],"sources":{"ghsa":[{"id":"GHSA-927q-g9w9-pm54","title":"Panic in mp3-metadata due to the lack of bounds checking","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.\n\nFixed in [Fix index error](https://github.com/GuillaumeGomez/mp3-metadata/pull/37), released as part of 0.4.0.","status":"published","published":"2025-04-30T17:41:16Z","modified":"2025-04-30T17:41:39Z","cvss":[{"version":"4.0","score":5.5,"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","level":"medium"}],"cwes":["CWE-119"],"updated_at":"2026-11-02T14:38:42.263728Z"}],"osv":[{"id":"GHSA-927q-g9w9-pm54","title":"Panic in mp3-metadata due to the lack of bounds checking","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.\n\nFixed in [Fix index error](https://github.com/GuillaumeGomez/mp3-metadata/pull/37), released as part of 0.4.0.","status":"published","published":"2025-04-30T17:41:16Z","modified":"2025-10-28T06:29:23.888737Z","cvss":[{"version":"4.0","score":5.5,"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","level":"medium"}],"cwes":["CWE-119"],"updated_at":"2026-11-02T15:46:43.123867Z"},{"id":"RUSTSEC-2025-0027","title":"Panic in mp3-metadata due to the lack of bounds checking","description":"The `get_id3()` methods used by `mp3_metadata::read_from_slice()` does not perform adequate bounds\nchecking 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\npart of 0.4.0.","status":"published","published":"2025-04-28T12:00:00Z","modified":"2025-10-28T06:29:23.888737Z","updated_at":"2026-11-02T15:53:39.971022Z"}]}}
