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

Goal: 1000 CNY · Raised: 1359 CNY

100%

CVE-2026-5318— LibRaw JPEG DHT losslessjpeg.cpp initval out-of-bounds write

Quick assessment

Affected
n/a LibRaw
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.

Libraw是Libraw公司的一个用来处理RAW(CRW/CR2,NEF,RAF,DNG,andothers)格式图片的C++库,支持各种操作系统。 LibRaw 0.22.0及之前版本存在缓冲区错误漏洞,该漏洞源于组件JPEG DHT Parser的文件src/decompressors/losslessjpeg.cpp中函数HuffTable::initval对参数bits[]的操作存在越界写入,可能导致远程攻击。

CVSS 4.3 · Medium EPSS 0.78% · P54

Possible ATT&CK Techniques 1 AI

T1190 · Exploit Public-Facing Application
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2026-5318

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
LibRaw JPEG DHT losslessjpeg.cpp initval out-of-bounds write
Source: CVE Program / CVE List V5
Vulnerability Description
A weakness has been identified in LibRaw up to 0.22.0. This impacts the function HuffTable::initval of the file src/decompressors/losslessjpeg.cpp of the component JPEG DHT Parser. This manipulation of the argument bits[] causes out-of-bounds write. It is possible to initiate the attack remotely. The exploit has been made available to the public and could be used for attacks. Upgrading to version 0.22.1 will fix this issue. Patch name: a6734e867b19d75367c05f872ac26322464e3995. It is advisable to upgrade the affected component.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L
Source: CVE Program / CVE List V5
Vulnerability Type
跨界内存写
Source: CVE Program / CVE List V5
Vulnerability Title
Libraw 缓冲区错误漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
Libraw是Libraw公司的一个用来处理RAW(CRW/CR2,NEF,RAF,DNG,andothers)格式图片的C++库,支持各种操作系统。 LibRaw 0.22.0及之前版本存在缓冲区错误漏洞,该漏洞源于组件JPEG DHT Parser的文件src/decompressors/losslessjpeg.cpp中函数HuffTable::initval对参数bits[]的操作存在越界写入,可能导致远程攻击。
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
- LibRaw 0.1 cpe:2.3:a:libraw:libraw:*:*:*:*:*:*:*:*

II. Public POCs for CVE-2026-5318

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

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2026-5318

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

Patches & Fixes for CVE-2026-5318 (2)

Vendor Advisories for CVE-2026-5318 (3)

Proof of Concept for CVE-2026-5318 (1)

Other References for CVE-2026-5318 (1)

Same Patch Batch · n/a · 2026-04-02 · 13 CVEs total

CVE-2026-30332 7.5 HIGH Etcher 安全漏洞
CVE-2026-5344 6.3 MEDIUM Textpattern XML-RPC TXP_RPCServer.php mt_uploadImage path traversal
CVE-2026-5342 5.3 MEDIUM LibRaw TIFF/NEF decoders_libraw.cpp nikon_load_padded_packed_raw out-of-bounds
CVE-2026-5331 4.7 MEDIUM OpenCart Extension Installer installer.php path traversal
CVE-2026-5360 3.7 LOW Free5GC aper type confusion
CVE-2026-25212 Percona PMM 安全漏洞
CVE-2026-26895 osTicket 安全漏洞
CVE-2026-34876 Mbed TLS 安全漏洞
CVE-2026-30603 Qianniao QN-L23PA0904 安全漏洞
CVE-2026-34877 Mbed TLS 安全漏洞
CVE-2026-30252 Interzen Consulting ZenShare Suite 安全漏洞
CVE-2026-30251 Interzen Consulting ZenShare Suite 安全漏洞

IV. Related Vulnerabilities

V. Comments for CVE-2026-5318

No comments yet


Leave a comment