{"id":"CVE-2023-45682","aliases":["DEBIAN-CVE-2023-45682","EUVD-2023-49972","MGASA-2026-0191","UBUNTU-CVE-2023-45682","openSUSE-SU-2025:0037-1"],"status":"published","title":"Wild address read in vorbis_decode_packet_rest in stb_vorbis","description":"stb_vorbis is a single file MIT licensed library for processing ogg vorbis files. A crafted file may trigger out of bounds read in `DECODE` macro when `var` is negative. As it can be seen in the definition of `DECODE_RAW` a negative `var` is a valid value. This issue may be used to leak internal memory allocation information.","severity":{"version":"3.1","score":5.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L","level":"medium","assessor":"cna","from":"cve"},"epss":{"day":"2026-11-10","score":0.00577,"percentile":0.47896,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":false},"cwes":["CWE-125"],"published":"2023-10-20T23:27:04Z","modified":"2026-10-26T18:02:49Z","affected":[{"source":"osv","ecosystem":"Debian:12","package":"libstb","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.0~git20220908.8b5f1f3+ds-1","0.0~git20230129.5736b15+ds-1","0.0~git20230129.5736b15+ds-1.1","0.0~git20230129.5736b15+ds-1.1~exp1","0.0~git20230129.5736b15+ds-1.2","0.0~git20240715.f7f20f39fe4f+ds-1","0.0~git20241109.5c20573+ds-1","0.0~git20250907.fede005+ds-1"]},{"source":"osv","ecosystem":"Debian:13","package":"libstb","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.0~git20241109.5c20573+ds-1","0.0~git20250907.fede005+ds-1"]},{"source":"osv","ecosystem":"Debian:14","package":"libstb","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.0~git20241109.5c20573+ds-1","0.0~git20250907.fede005+ds-1"]},{"source":"osv","ecosystem":"Mageia:9","package":"libxmp","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.5.0-2.1.mga9"}]}],"bundled":7},{"source":"osv","ecosystem":"Ubuntu:20.04:LTS","package":"libstb","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.0~git20190817.1.052dce1-1"]},{"source":"osv","ecosystem":"Ubuntu:22.04:LTS","package":"libstb","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.0~git20200713.b42009b+ds-1","0.0~git20210910.af1a5bc+ds-1"]},{"source":"osv","ecosystem":"Ubuntu:24.04:LTS","package":"libstb","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.0~git20230129.5736b15+ds-1","0.0~git20230129.5736b15+ds-1.1","0.0~git20230129.5736b15+ds-1.2"]},{"source":"osv","ecosystem":"Ubuntu:25.10","package":"libstb","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.0~git20240715.f7f20f39fe4f+ds-1","0.0~git20241109.5c20573+ds-1"]},{"source":"osv","ecosystem":"Ubuntu:26.10","package":"libstb","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.0~git20250907.fede005+ds-1"]},{"source":"osv","ecosystem":"Ubuntu:26.04:LTS","package":"libstb","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.0~git20241109.5c20573+ds-1","0.0~git20250907.fede005+ds-1"]},{"source":"osv","ecosystem":"SUSE:Package Hub 15 SP6","package":"SDL2_sound","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.0.4-bp156.2.3.1"}]}],"bundled":6},{"source":"osv","ecosystem":"openSUSE:Leap 15.6","package":"SDL2_sound","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.0.4-bp156.2.3.1"}]}],"bundled":6}],"products":[{"vendor":"nothings","product":"stb"},{"vendor":"nothings","product":"stb_vorbis.c"}],"references":[{"url":"https://securitylab.github.com/advisories/GHSL-2023-145_GHSL-2023-151_stb_image_h/","tags":["x_refsource_CONFIRM","x_transferred","Third Party Advisory","advisory","report"]},{"url":"https://github.com/nothings/stb/blob/5736b15f7ea0ffb08dd38af21067c314d6a3aae9/stb_vorbis.c#L1717-L1729","tags":["x_refsource_MISC","x_transferred","Third Party Advisory","web","report"]},{"url":"https://github.com/nothings/stb/blob/5736b15f7ea0ffb08dd38af21067c314d6a3aae9/stb_vorbis.c#L1754-L1756","tags":["x_refsource_MISC","x_transferred","Third Party Advisory","web","report"]},{"url":"https://github.com/nothings/stb/blob/5736b15f7ea0ffb08dd38af21067c314d6a3aae9/stb_vorbis.c#L3231","tags":["x_refsource_MISC","x_transferred","Third Party Advisory","web","report"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/45xxx/CVE-2023-45682.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2023-45682","tags":["advisory"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2023-45682","tags":["advisory"]},{"url":"https://advisories.mageia.org/MGASA-2026-0191.html","tags":["advisory"]},{"url":"https://bugs.mageia.org/show_bug.cgi?id=33915","tags":["report"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/CVZWMTH36ES7RCJEMRANBDTL76QBE75Z/","tags":["web"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/FKMOFYKVMD2LPU7O33SEH2RGSY2ZE73K/","tags":["web"]},{"url":"https://ubuntu.com/security/CVE-2023-45682","tags":["report"]},{"url":"https://github.com/nothings/stb/pull/1560","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2023-45682","tags":["report"]},{"url":"https://lists.opensuse.org/archives/list/security-announce@lists.opensuse.org/thread/PYKIGUIZT6TXJBJESQGK4RWVLRA2YLO4/","tags":["advisory"]},{"url":"https://bugzilla.suse.com/1216478","tags":["report"]},{"url":"https://www.suse.com/security/cve/CVE-2023-45676","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2023-45677","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2023-45679","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2023-45680","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2023-45681","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2023-45682","tags":["web"]}],"sources":{"cve":[{"id":"CVE-2023-45682","title":"Wild address read in vorbis_decode_packet_rest in stb_vorbis","description":"stb_vorbis is a single file MIT licensed library for processing ogg vorbis files. A crafted file may trigger out of bounds read in `DECODE` macro when `var` is negative. As it can be seen in the definition of `DECODE_RAW` a negative `var` is a valid value. This issue may be used to leak internal memory allocation information.","status":"published","published":"2023-10-20T23:27:04.879Z","modified":"2024-09-12T13:35:19.803Z","cvss":[{"version":"3.1","score":5.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L","level":"medium","assessor":"cna"}],"cwes":["CWE-125"],"updated_at":"2026-11-02T14:35:22.640346Z"}],"euvd":[{"id":"EUVD-2023-49972","description":"stb_vorbis is a single file MIT licensed library for processing ogg vorbis files. A crafted file may trigger out of bounds read in `DECODE` macro when `var` is negative. As it can be seen in the definition of `DECODE_RAW` a negative `var` is a valid value. This issue may be used to leak internal memory allocation information.","status":"published","published":"2023-10-20T23:27:04Z","modified":"2024-09-12T13:35:19Z","cvss":[{"version":"3.1","score":5.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L","level":"medium"}],"updated_at":"2026-11-03T00:55:57.273476Z"}],"nvd":[{"id":"CVE-2023-45682","description":"stb_vorbis is a single file MIT licensed library for processing ogg vorbis files. A crafted file may trigger out of bounds read in `DECODE` macro when `var` is negative. As it can be seen in the definition of `DECODE_RAW` a negative `var` is a valid value. This issue may be used to leak internal memory allocation information.","status":"published","published":"2023-10-21T00:15:09.67Z","modified":"2026-06-17T06:29:21.443Z","cvss":[{"version":"3.1","score":5.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L","level":"medium","assessor":"secondary"},{"version":"3.1","score":7.1,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:H","level":"high","assessor":"primary"}],"cwes":["CWE-125"],"updated_at":"2026-11-02T14:08:39.058878Z"}],"osv":[{"id":"CVE-2023-45682","title":"Wild address read in vorbis_decode_packet_rest in stb_vorbis","description":"stb_vorbis is a single file MIT licensed library for processing ogg vorbis files. A crafted file may trigger out of bounds read in `DECODE` macro when `var` is negative. As it can be seen in the definition of `DECODE_RAW` a negative `var` is a valid value. This issue may be used to leak internal memory allocation information.","status":"published","published":"2023-10-20T23:27:04.879Z","modified":"2026-03-14T12:20:50.542006Z","cvss":[{"version":"3.1","score":5.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L","level":"medium"}],"cwes":["CWE-125"],"updated_at":"2026-11-02T15:44:34.287121Z"},{"id":"DEBIAN-CVE-2023-45682","description":"stb_vorbis is a single file MIT licensed library for processing ogg vorbis files. A crafted file may trigger out of bounds read in `DECODE` macro when `var` is negative. As it can be seen in the definition of `DECODE_RAW` a negative `var` is a valid value. This issue may be used to leak internal memory allocation information.","status":"published","published":"2023-10-21T00:15:09.67Z","modified":"2026-10-26T18:02:49.449346437Z","cvss":[{"version":"3.1","score":7.1,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:H","level":"high"}],"updated_at":"2026-11-02T15:45:40.275853Z"},{"id":"UBUNTU-CVE-2023-45682","description":"stb_vorbis is a single file MIT licensed library for processing ogg vorbis files. A crafted file may trigger out of bounds read in `DECODE` macro when `var` is negative. As it can be seen in the definition of `DECODE_RAW` a negative `var` is a valid value. This issue may be used to leak internal memory allocation information.","status":"published","published":"2023-10-21T00:15:00Z","modified":"2026-10-17T12:57:21.392206027Z","cvss":[{"version":"3.1","score":5.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L","level":"medium"},{"version":"3.1","score":7.1,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:H","level":"high"}],"updated_at":"2026-11-02T16:54:22.741943Z"},{"id":"MGASA-2026-0191","title":"Updated libxmp packages fix security vulnerabilities","description":"CVE-2023-45679: Attempt to free an uninitialized memory pointer in\nvorbis_deinit()\nCVE-2023-45680: Null pointer dereference in vorbis_deinit()\nCVE-2023-45681: Out of bounds heap buffer write\nCVE-2023-45676: Multi-byte write heap buffer overflow in start_decoder()\nCVE-2023-45677: Heap buffer out of bounds write in start_decoder()\nCVE-2023-45682: Wild address read in vorbis_decode_packet_rest()\nCVE-2025-47256 stack-based buffer overflow in depack_pha in\nloaders/prowizard/pha.c via a malformed Pha format tracker module in a\n.mod file.\n","status":"published","published":"2026-06-10T05:07:06Z","modified":"2026-06-10T05:15:04.425477251Z","updated_at":"2026-11-02T15:49:43.178336Z"},{"id":"openSUSE-SU-2025:0037-1","title":"Security update for SDL2_sound","description":"This update for SDL2_sound fixes the following issues:\n\n- Update to release 2.0.4:\n  * Update bundled stb_vorbis to address CVE-2023-45676,\n    CVE-2023-45677, CVE-2023-45679, CVE-2023-45680,\n    CVE-2023-45681, CVE-2023-45682.\n\n- Update to release 2.0.2\n  * No further changes from the last snapshot 2.0.1+g60\n","status":"published","published":"2025-01-30T16:22:36Z","modified":"2026-02-04T03:30:54.399669Z","updated_at":"2026-11-02T16:58:36.976155Z"}]}}
