Lucene search

K
cvelistGitHub_MCVELIST:CVE-2023-45667
HistoryOct 20, 2023 - 11:26 p.m.

CVE-2023-45667 Null pointer dereference because of an uninitialized variable in stb_image

2023-10-2023:26:44
CWE-476
GitHub_M
www.cve.org
cve-2023-45667
null pointer dereference
stb_image
uninitialized variable
mit licensed library
image processing

5.3 Medium

CVSS3

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

NONE

User Interaction

NONE

Scope

UNCHANGED

Confidentiality Impact

NONE

Integrity Impact

NONE

Availability Impact

LOW

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

8.7 High

AI Score

Confidence

High

0.001 Low

EPSS

Percentile

34.8%

stb_image is a single file MIT licensed library for processing images.

If stbi__load_gif_main in stbi_load_gif_from_memory fails it returns a null pointer and may keep the z variable uninitialized. In case the caller also sets the flip vertically flag, it continues and calls stbi__vertical_flip_slices with the null pointer result value and the uninitialized z value. This may result in a program crash.

CNA Affected

[
  {
    "vendor": "nothings",
    "product": "stb",
    "versions": [
      {
        "version": "<= 2.28",
        "status": "affected"
      }
    ]
  }
]

5.3 Medium

CVSS3

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

NONE

User Interaction

NONE

Scope

UNCHANGED

Confidentiality Impact

NONE

Integrity Impact

NONE

Availability Impact

LOW

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

8.7 High

AI Score

Confidence

High

0.001 Low

EPSS

Percentile

34.8%