CVE-2023-45680 MEDIUM

CVE-2023-45680: Null pointer dereference in vorbis_deinit in stb_vorbis

Vendor Nothings
Product stb
Weakness CWE-476
Published October 20, 2023
Last update September 11, 2024

CVSS base score

5.3/10
Attack vector Network
Attack complexity Low
Privileges required None
User interaction None
Confidentiality None
Integrity None

CVSS vector

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

What the vulnerability does

01Description

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, the `f->comment_list` is set to `NULL`, but `f->comment_list_length` is not reset. Later in `vorbis_deinit` it tries to dereference the `NULL` pointer. This issue may lead to denial of service.

Key dates

02Disclosure timeline

October 20, 2023 CVE published
September 11, 2024 Record updated