Lucene search

K
nvd[email protected]NVD:CVE-2023-45662
HistoryOct 21, 2023 - 12:15 a.m.

CVE-2023-45662

2023-10-2100:15:08
CWE-125
web.nvd.nist.gov
2
stb_image
mit licensed library
image processing
out-of-bounds read

CVSS3

8.1

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

NONE

User Interaction

REQUIRED

Scope

UNCHANGED

Confidentiality Impact

HIGH

Integrity Impact

NONE

Availability Impact

HIGH

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

AI Score

7.4

Confidence

High

EPSS

0.001

Percentile

31.9%

stb_image is a single file MIT licensed library for processing images. When stbi_set_flip_vertically_on_load is set to TRUE and req_comp is set to a number that doesn’t match the real number of components per pixel, the library attempts to flip the image vertically. A crafted image file can trigger memcpy out-of-bounds read because bytes_per_pixel used to calculate bytes_per_row doesn’t match the real image array dimensions.

Affected configurations

Nvd
Node
nothingsstb_image.hMatch2.28
VendorProductVersionCPE
nothingsstb_image.h2.28cpe:2.3:a:nothings:stb_image.h:2.28:*:*:*:*:*:*:*

CVSS3

8.1

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

NONE

User Interaction

REQUIRED

Scope

UNCHANGED

Confidentiality Impact

HIGH

Integrity Impact

NONE

Availability Impact

HIGH

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

AI Score

7.4

Confidence

High

EPSS

0.001

Percentile

31.9%