Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1359 CNY

100%

CVE-2023-45663— Disclosure of uninitialized memory in stbi__tga_load in stb_image

Quick assessment

Affected
nothings stb
Exploitation
No confirmed in-the-wild exploitation; assess based on exposure
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

stb是一款用于C/C ++的单文件公共域库。 stb_image 存在安全漏洞,该漏洞源于可能会导致越界读取。

CVSS 5.3 · Medium EPSS 0.66% · P50

Possible ATT&CK Techniques 1 AI

T1203 · Exploitation for Client Execution
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2023-45663

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
Disclosure of uninitialized memory in stbi__tga_load in stb_image
Source: CVE Program / CVE List V5
Vulnerability Description
stb_image is a single file MIT licensed library for processing images. The stbi__getn function reads a specified number of bytes from context (typically a file) into the specified buffer. In case the file stream points to the end, it returns zero. There are two places where its return value is not checked: In the `stbi__hdr_load` function and in the `stbi__tga_load` function. The latter of the two is likely more exploitable as an attacker may also control the size of an uninitialized buffer.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
Source: CVE Program / CVE List V5
Vulnerability Type
对未经初始化资源的使用
Source: CVE Program / CVE List V5
Vulnerability Title
stb_image 安全漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
stb是一款用于C/C ++的单文件公共域库。 stb_image 存在安全漏洞,该漏洞源于可能会导致越界读取。
Source: CNNVD (China National Vulnerability Database)
CVSS Information
N/A
Source: CNNVD (China National Vulnerability Database)
Vulnerability Type
N/A
Source: CNNVD (China National Vulnerability Database)

Affected Products

Vendor Product Affected Versions CPE Subscribe
nothings stb <= 2.28 -

II. Public POCs for CVE-2023-45663

# POC Description Source Link Shenlong Link
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2023-45663

请登录查看更多情报信息。

Mailing List Discussions for CVE-2023-45663 (3)

Other References for CVE-2023-45663 (4)

Same Patch Batch · nothings · 2023-10-20 · 14 CVEs total

CVE-2023-45681 7.3 HIGH Out of bounds heap buffer write in stb_vorbis
CVE-2023-45679 7.3 HIGH Attempt to free an uninitialized memory pointer in vorbis_deinit in stb_vorbis
CVE-2023-45677 7.3 HIGH Heap buffer out of bounds write in start_decoder in stb_vorbis
CVE-2023-45676 7.3 HIGH Multi-byte write heap buffer overflow in start_decoder in stb_vorbis
CVE-2023-45666 7.3 HIGH Possible double-free or memory leak in stbi__load_gif_main in stb_image
CVE-2023-45664 7.3 HIGH Double-free in stbi__load_gif_main_outofmem in stb_image
CVE-2023-45678 6.5 MEDIUM Off-by-one heap buffer write in start_decoder in stb_vorbis
CVE-2023-45675 6.5 MEDIUM 0 byte write heap buffer overflow in start_decoder in stb_vorbis
CVE-2023-45662 6.5 MEDIUM Multi-byte read heap buffer overflow in stbi__vertical_flip in stb_image
CVE-2023-45661 6.5 MEDIUM Wild address read in stbi__gif_load_next in stb_image
CVE-2023-45682 5.3 MEDIUM Wild address read in vorbis_decode_packet_rest in stb_vorbis
CVE-2023-45680 5.3 MEDIUM Null pointer dereference in vorbis_deinit in stb_vorbis
CVE-2023-45667 5.3 MEDIUM Null pointer dereference because of an uninitialized variable in stb_image

IV. Related Vulnerabilities

V. Comments for CVE-2023-45663

No comments yet


Leave a comment