CVE-2023-45682
published medium CVSS 3.1 · 5.3Wild address read in vorbis_decode_packet_rest in stb_vorbis
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| nothings | — | stb<= 1.22 | Affected | Not stated | GitHub_M |
| nothings | — | stb0 through 1.22 · Other versions: unknown | Affected | Not stated | CISA-ADP |
| SUSE / openSUSE | openSUSE-Leap-15.6 | SDL2_sound-develaarch64 | Advisory build | 2.0.4-bp156.2.3.1 | OPENSUSE-SU-2025:0037-1 |
| SUSE / openSUSE | openSUSE-Leap-15.6 | SDL2_sound-develi586 | Advisory build | 2.0.4-bp156.2.3.1 | OPENSUSE-SU-2025:0037-1 |
| SUSE / openSUSE | openSUSE-Leap-15.6 | SDL2_sound-develppc64le | Advisory build | 2.0.4-bp156.2.3.1 | OPENSUSE-SU-2025:0037-1 |
| SUSE / openSUSE | openSUSE-Leap-15.6 | SDL2_sound-devels390x | Advisory build | 2.0.4-bp156.2.3.1 | OPENSUSE-SU-2025:0037-1 |
| SUSE / openSUSE | openSUSE-Leap-15.6 | SDL2_sound-develx86_64 | Advisory build | 2.0.4-bp156.2.3.1 | OPENSUSE-SU-2025:0037-1 |
| SUSE / openSUSE | openSUSE-Leap-15.6 | libSDL2_sound2aarch64 | Advisory build | 2.0.4-bp156.2.3.1 | OPENSUSE-SU-2025:0037-1 |
Show 4 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| SUSE / openSUSE | openSUSE-Leap-15.6 | libSDL2_sound2i586 | Advisory build | 2.0.4-bp156.2.3.1 | OPENSUSE-SU-2025:0037-1 |
| SUSE / openSUSE | openSUSE-Leap-15.6 | libSDL2_sound2ppc64le | Advisory build | 2.0.4-bp156.2.3.1 | OPENSUSE-SU-2025:0037-1 |
| SUSE / openSUSE | openSUSE-Leap-15.6 | libSDL2_sound2s390x | Advisory build | 2.0.4-bp156.2.3.1 | OPENSUSE-SU-2025:0037-1 |
| SUSE / openSUSE | openSUSE-Leap-15.6 | libSDL2_sound2x86_64 | Advisory build | 2.0.4-bp156.2.3.1 | OPENSUSE-SU-2025:0037-1 |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 5.3 / 10
- Severity
- medium
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| nothings | stb | <= 1.22 (affected) | GitHub_M · cna |
| nothings | stb | 0 through 1.22 (affected · custom)Default: unknown | CISA-ADP · adp |
Weaknesses
1- CWE-125 CWE-125: Out-of-bounds Read
References
4- https://github.com/nothings/stb/blob/5736b15f7ea0ffb08dd38af21067c314d6a3aae9/stb_vorbis.c#L1717-L1729
- https://github.com/nothings/stb/blob/5736b15f7ea0ffb08dd38af21067c314d6a3aae9/stb_vorbis.c#L1754-L1756
- https://github.com/nothings/stb/blob/5736b15f7ea0ffb08dd38af21067c314d6a3aae9/stb_vorbis.c#L3231
- https://securitylab.github.com/advisories/GHSL-2023-145_GHSL-2023-151_stb_image_h/
Provider assertions
3GitHub_M · cna
Wild address read in vorbis_decode_packet_rest in stb_vorbis
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- 176b55dd4664b7521b4a5d89255d47af0224a3dcf5da3338e3c229950c972eeb
- Ingested
- 23 Sep 2026, 08:12:31 UTC
- Source record
- Official CVE record