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.
Conclusion & alert: CVE-2026-5318 is rated Exploit Available (50/100): CVSS Low severity, with low exploitation likelihood (EPSS 0.06%). Core evidence: 2 public exploit reference(s) are indexed (Exploit-DB). Mandatory action: Public exploits are available—assess exposure, apply mitigations, and prioritize patching.
Risk is dynamic; we continuously reassess and refresh what is shown on this page as upstream context changes.
| EDB-ID | Source | Kind | Published | Link |
|---|---|---|---|---|
| — | nvd_ref | exploit_tag | Exploit-DB ↗ | |
| — | nvd_ref | exploit_tag | Exploit-DB ↗ |
EPSS lead: Daily EPSS estimates relative likelihood of exploitation; percentile ranks this CVE among scored vulnerabilities (higher = more severe relative rank).
| # | Date | Old EPSS score | New EPSS score | Delta (New - Old) |
|---|---|---|---|---|
| 1 | 2026-05-14 | 0.02% | 0.06% | +0.04% |
| 2 | 2026-04-02 | — | 0.02% | — |
Full EPSS history (2 records total)
CVSS metrics for this CVE.
| Base score | Version | Severity | Vector | Exploitability | Impact | Score source |
|---|---|---|---|---|---|---|
| 2.1 | 4.0 | LOW |
|
— | — | [email protected] |
| 4.3 | 3.1 | MEDIUM |
|
2.8 | 1.4 | [email protected] |
| 4.3 | 3.1 | MEDIUM |
|
2.8 | 1.4 | [email protected] |
| 5.0 | 2.0 | MEDIUM |
|
10.0 | 2.9 | [email protected] |
| vendor | priority | summary | link |
|---|---|---|---|
debian
|
not yet assigned | CVE-2026-5318 not yet assigned priority: Debian including 1 source packages (libraw), 5 status rows across 5 suites (bookworm, bullseye, forky, sid, trixie): open 3, resolved 2. | https://security-tracker.debian.org/tracker/CVE-2026-5318 |
redhat
|
medium | — | https://access.redhat.com/security/cve/CVE-2026-5318 |
suse
|
low | CVE-2026-5318 severity low: SUSE including 8 source package names (libraw, libraw-devel, …), 36 product×package rows across 15 product lines (SUSE Linux Enterprise High Performance Computing 15 SP4-LTSS, SUSE Linux Enterprise High Performance Computing 15 SP5-LTSS, … (15 product lines)): Known Not Affected 36. | https://www.suse.com/security/cve/CVE-2026-5318/ |
ubuntu
|
medium | CVE-2026-5318 medium priority: Ubuntu including 8 source packages (darktable, dcraw, …), 63 status rows across 8 suites (bionic, focal, jammy, noble, questing, resolute, upstream, xenial): needs-triage 51, not-affected 7, DNE 4, released 1. | https://ubuntu.com/security/CVE-2026-5318 |
| URL | Tags |
|---|---|
| https://github.com/LibRaw/LibRaw/ | Product |
| https://github.com/LibRaw/LibRaw/commit/a6734e867b19d75367c05f872ac26322464e3995 | Patch |
| https://github.com/LibRaw/LibRaw/issues/794 | Issue Tracking |
| https://github.com/LibRaw/LibRaw/issues/794#issuecomment-4065342499 | Issue Tracking |
| https://github.com/LibRaw/LibRaw/releases/tag/0.22.1 | Product Release Notes |
| https://github.com/biniamf/pocs/tree/main/libraw_lljpeg | Exploit Third Party Advisory |
| https://vuldb.com/submit/780538 | Exploit Third Party Advisory VDB Entry |
| https://vuldb.com/vuln/354650 | Third Party Advisory VDB Entry |
| https://vuldb.com/vuln/354650/cti | Permissions Required VDB Entry |