Skip to content
OpenAdvisories
High · 7.3 CVE-2023-45679 EUVD-2023-49969

Attempt to free an uninitialized memory pointer in vorbis_deinit in stb_vorbis

Published Oct 20, 2023 · Updated Sep 12, 2024 · Assigned by GitHub_M

Description

stb_vorbis is a single file MIT licensed library for processing ogg vorbis files. A crafted file may trigger memory allocation failure in `start_decoder`. In that case the function returns early, but some of the pointers in `f->comment_list` are left initialized and later `setup_free` is called on these pointers in `vorbis_deinit`. This issue may lead to code execution.

Affected products

VendorProductAffectedFixed
nothings stb <= 1.22 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 libstb No fix yet —
Debian 13 libstb No fix yet —
Debian 12 libstb No fix yet —
ReleasePackageFixed inAdvisory
Ubuntu 26.10 libstb No fix yet —
Ubuntu 26.04 LTS libstb No fix yet —
Ubuntu 25.10 libstb No fix yet —
Ubuntu 24.04 LTS libstb No fix yet —
Ubuntu 22.04 LTS libstb No fix yet —
Show 1 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu 20.04 LTS libstb No fix yet —
ReleasePackageFixed inAdvisory
SUSE Package Hub 15 SP6 SDL2_sound 2.0.4-bp156.2.3.1 openSUSE-SU-2025:0037-1
ReleasePackageFixed inAdvisory
openSUSE Leap 15.6 SDL2_sound 2.0.4-bp156.2.3.1 openSUSE-SU-2025:0037-1

Advisories 1

References