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

Goal: 1000 CNY · Raised: 1000 CNY

100.0%

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

CVSS 4.3 · Medium EPSS 0.04% · P13
Get alerts for future matching vulnerabilitiesLog 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: NVD (National Vulnerability Database)
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: NVD (National Vulnerability Database)
CVSS Information
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L
Source: NVD (National Vulnerability Database)
Vulnerability Type
跨界内存写
Source: NVD (National Vulnerability Database)
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

VendorProductAffected VersionsCPESubscribe
-LibRaw 0.1 cpe:2.3:a:libraw:libraw:*:*:*:*:*:*:*:*

II. Public POCs for CVE-2026-5318

#POC DescriptionSource LinkShenlong Link
AI-Generated POCPremium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2026-5318

登录查看更多情报信息。

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

CVE-2026-303327.5 HIGHEtcher 安全漏洞
CVE-2026-53446.3 MEDIUMTextpattern XML-RPC TXP_RPCServer.php mt_uploadImage path traversal
CVE-2026-53425.3 MEDIUMLibRaw TIFF/NEF decoders_libraw.cpp nikon_load_padded_packed_raw out-of-bounds
CVE-2026-53314.7 MEDIUMOpenCart Extension Installer installer.php path traversal
CVE-2026-53603.7 LOWFree5GC aper type confusion
CVE-2026-25212Percona PMM 安全漏洞
CVE-2026-26895osTicket 安全漏洞
CVE-2026-34876Mbed TLS 安全漏洞
CVE-2026-30603Qianniao QN-L23PA0904 安全漏洞
CVE-2026-34877Mbed TLS 安全漏洞
CVE-2026-30252Interzen Consulting ZenShare Suite 安全漏洞
CVE-2026-30251Interzen Consulting ZenShare Suite 安全漏洞

IV. Related Vulnerabilities

V. Comments for CVE-2026-5318

No comments yet


Leave a comment