CVE-2026-5318Libraw
Low 2.1 No auth needed
Follow: this CVE · Libraw · Libraw We alert you by email or Slack (account required).
- Priority
- 28
- CVSS 4.0
- 2.1
- EPSS
- —
- Auth required
- No
- Published
- Apr 2, 2026
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- SSVC (CISA)
- Exploitation: proof of concept · Automatable: no · Technical impact: partial
- Vector
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/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
What happens
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.
What to do
- Apply the vendor's security update for Libraw.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| libraw | libraw | < 0.22.1 |
Official sources
References
Links published by the sources. Open them with care.
- github.com Product
- github.com Patch
- github.com Issue Tracking
- github.com Issue Tracking
- github.com Product Release Notes
- github.com Exploit Third Party Advisory
- vuldb.com Exploit Third Party Advisory VDB Entry
- vuldb.com Third Party Advisory VDB Entry
- vuldb.com Permissions Required VDB Entry