CVE-2026-5318
mediumpriority · track · 17EPSS 0.008 · 56 %ileEUUSEPSS · scored 2026-10-23
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
Technical severity, 0–10. One row per scoring source.
base score 0–10 · higher = more severe · hover a vector to decode⚠ sources disagree · low–medium · 1.3–5.3
ssvc
A stakeholder decision — act, attend, or track — from exploitation and impact.
weaknesses
The CWE weakness classes this flaw belongs to.
affected products (23)
Products and version ranges known to be affected.
also known as (3)
Other names and identifiers for this entity.
sources
Which sources assert this record, and when.
references (26)
External citations — patches, advisories, analysis.
- https://github.com/LibRaw/LibRaw/cnnvd
- https://github.com/LibRaw/LibRaw/commit/a6734e867b19d75367c05f872ac26322464e3995cnnvd
- https://github.com/LibRaw/LibRaw/issues/794cnnvd
- https://github.com/LibRaw/LibRaw/issues/794#issuecomment-4065342499cnnvd
- https://github.com/biniamf/pocs/tree/main/libraw_lljpegcnnvd
- https://vuldb.com/submit/780538cnnvd
- https://vuldb.com/vuln/354650cnnvd
- https://vuldb.com/vuln/354650/cticnnvd
Attackers weaponise vulnerabilities like this against internet-exposed services. See what is exposed on your perimeter with a free passive scan.
Free scan