CVE-2026-5318A weakness has been identified in LibRaw up to 0.22.0.
Updated under an hour ago ()
Does this affect you?
It affects libraw. Add what you run to find out whether that includes you.
No exploitation reported and no EPSS estimate yet.
Do this next
Free account, 1 product
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.
- CVSS
- 4.3 MEDIUM (v3.1, NVD)CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L
- Weakness (CWE)
- CWE-119, CWE-787
- Known exploited
- Not in CISA's KEV catalog
- EPSS (exploitation in the next 30 days)
- Not loaded for this CVE
- Assigned by
- Not given
- NVD analysis
- Analyzed
- Record last updated
- Jun 17, 2026
- First seen by InfoSec Signals
- Oct 9, 2026
Affected products
libraw libraw libraw:libraw | before 0.22.1 | NVD |
References
- https://github.com/LibRaw/LibRaw/product
- https://github.com/LibRaw/LibRaw/commit/a6734e867b19d75367c05f872ac26322464e3995patch
- https://github.com/LibRaw/LibRaw/issues/794issue-tracking
- https://github.com/LibRaw/LibRaw/issues/794#issuecomment-4065342499issue-tracking
- https://github.com/LibRaw/LibRaw/releases/tag/0.22.1product, release-notes
- https://github.com/biniamf/pocs/tree/main/libraw_lljpegexploit, third-party-advisory
- https://vuldb.com/submit/780538exploit, third-party-advisory, vdb-entry
- https://vuldb.com/vuln/354650third-party-advisory, vdb-entry
- https://vuldb.com/vuln/354650/ctipermissions-required, vdb-entry
The CVE record on cve.org NVD's entry
The CVE record is authoritative. Products marked “from the name” were identified from the CNA's free-text names, not a CPE, and are matched less certainly. This product uses the NVD API but is not endorsed or certified by the NVD.