CVE-2026-5318

EUVD-2026-18116
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.
ProviderTypeBase ScoreAtk. VectorAtk. ComplexityPriv. RequiredVector
NISTPrimary
4.3 MEDIUM
NETWORK
LOW
NONE
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L
Base Score
CVSS 3.x
EPSS Score
Percentile: 47.26%
Affected Products (NVD)
VendorProductVersion
librawlibraw
𝑥
< 0.22.1
𝑥
= Vulnerable software versions
Debian logo
Debian Releases
Debian Product
Codename
libraw
bookworm
0.20.2-2.1+deb12u1
fixed
bookworm (security)
0.20.2-2.1+deb12u2
fixed
bullseye
0.20.2-1+deb11u1
fixed
bullseye (security)
0.20.2-1+deb11u3
fixed
forky
0.22.1-1
fixed
sid
0.22.1-1
fixed
trixie
0.21.4-2
fixed
Ubuntu logo
Ubuntu Releases
Ubuntu Product
Codename
darktable
bionic
needs-triage
focal
needs-triage
jammy
needs-triage
noble
needs-triage
questing
ignored
resolute
needs-triage
xenial
ignored
exactimage
bionic
needs-triage
focal
needs-triage
jammy
needs-triage
noble
needs-triage
questing
ignored
resolute
needs-triage
xenial
ignored
dcraw
bionic
needs-triage
focal
needs-triage
jammy
needs-triage
noble
needs-triage
questing
ignored
resolute
needs-triage
xenial
ignored
rawtherapee
bionic
needs-triage
focal
needs-triage
jammy
needs-triage
noble
needs-triage
questing
ignored
resolute
needs-triage
xenial
ignored
kodi
bionic
needs-triage
focal
needs-triage
jammy
needs-triage
noble
needs-triage
questing
ignored
resolute
needs-triage
xenial
ignored
digikam
bionic
needs-triage
focal
needs-triage
jammy
needs-triage
noble
needs-triage
questing
ignored
resolute
needs-triage
xenial
ignored
libraw
bionic
not-affected
focal
not-affected
jammy
not-affected
noble
not-affected
questing
not-affected
resolute
not-affected
xenial
not-affected
ufraw
bionic
needs-triage
jammy
dne
noble
dne
questing
dne
resolute
dne
xenial
ignored