Lucene search

K
veracodeVeracode Vulnerability DatabaseVERACODE:44006
HistoryOct 26, 2023 - 7:53 a.m.

Double Free

2023-10-2607:53:14
Veracode Vulnerability Database
sca.analysiscenter.veracode.com
3
libstb.so
double free
start_decoder
stb_vorbis.c
vulnerability
memory corruption
code execution

7.8 High

CVSS3

Attack Vector

LOCAL

Attack Complexity

LOW

Privileges Required

NONE

User Interaction

REQUIRED

Scope

UNCHANGED

Confidentiality Impact

HIGH

Integrity Impact

HIGH

Availability Impact

HIGH

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

7.4 High

AI Score

Confidence

High

0.001 Low

EPSS

Percentile

28.7%

libstb.so is vulnerable to Double Free. The vulnerability is due to start_decoder function in stb_vorbis.c file does not initialize the memory allocated for f->comment_list. This allows an attacker to craft a file that triggers an early return in the function, leading to setup_free being called on these uninitialized pointers, which could result in memory corruption or code execution.

CPENameOperatorVersion
libstb.soeq0.0
libstb.soeq0.0

7.8 High

CVSS3

Attack Vector

LOCAL

Attack Complexity

LOW

Privileges Required

NONE

User Interaction

REQUIRED

Scope

UNCHANGED

Confidentiality Impact

HIGH

Integrity Impact

HIGH

Availability Impact

HIGH

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

7.4 High

AI Score

Confidence

High

0.001 Low

EPSS

Percentile

28.7%