CVE 5.3 MEDIUM

LibRaw JPEG DHT losslessjpeg.cpp initval out-of-bounds write_CVE-2026-5318

5.3 / 10
MEDIUM
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:P

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.

Basic Information

ID CVE-2026-5318
Source VulDB
Published Apr 2, 2026 at 01:45
Modified Apr 7, 2026 at 11:26

Affected Product

Vendor n/a
Product LibRaw
Version 0.1
Affected Versions n/a LibRaw 0.1
n/a LibRaw 0.2
n/a LibRaw 0.3
n/a LibRaw 0.4
n/a LibRaw 0.5
n/a LibRaw 0.6
n/a LibRaw 0.7
n/a LibRaw 0.8
n/a LibRaw 0.9
n/a LibRaw 0.10
n/a LibRaw 0.11
n/a LibRaw 0.12
n/a LibRaw 0.13
n/a LibRaw 0.14
n/a LibRaw 0.15
n/a LibRaw 0.16
n/a LibRaw 0.17
n/a LibRaw 0.18
n/a LibRaw 0.19
n/a LibRaw 0.20
n/a LibRaw 0.21
n/a LibRaw 0.22.0

CWE Classification

References

💭 Join the Security Discussion

🔒 Your email address will not be published. Required fields are marked *

⚠️ Please be respectful and constructive in your comments. Security discussions should remain professional.