CVE-2023-45676 - CVE House
Back to Database
Status published High CVE-2023-45676

Multi-byte write heap buffer overflow in start_decoder in stb_vorbis

Vulnerability Description

stb_vorbis is a single file MIT licensed library for processing ogg vorbis files. A crafted file may trigger out of bounds write in `f->vendor[i] = get8_packet(f);`. The root cause is an integer overflow in `setup_malloc`. A sufficiently large value in the variable `sz` overflows with `sz+7` in and the negative value passes the maximum available memory buffer check. This issue may lead to code execution.

Impact Analysis

Refer to official advisory for detailed impact metrics.

Remediation

Ensure systems are updated to the latest vendor-supplied patch levels.

THREAT MONITOR

Am I Vulnerable?

Launch our assessment wizard to check if your infrastructure is exposed to • CVE-2023-45676

Credits & Attribution

No credits recorded in the NVD database.

Affected Vendor

Affected Software

stb
Vulnerable Versions:
<= 1.22

Timeline

Official Publish: October 20th, 2023
Last Modified: September 12th, 2024
Added to House: July 22nd, 2026

CVSS Vectors

V3: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L

Weaknesses (CWE)