CVE-2026-5318

libraw: A weakness has been identified in LibRaw up to 0.22.0

CVE-2026-5318 is fixed in 8 products on 1 platform, first by DEBIAN-CVE-2026-5318, released April 2, 2026. It is not reported as exploited. Patch Radar priority: Routine.

Routine
CVSS
4.3
medium
Exploitation
None reported
No vendor assessment
CISA KEV
Not listed
Not in the Known Exploited Vulnerabilities catalog
EPSS
0.0064
50th percentile

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.

Where it's fixed

ProductFixed inFixReleased
Linux
darktable · Fedora 43 5.6.1-2.fc43 FEDORA-2026-0B55B49B93 Sep 1, 2026
darktable-debuginfo · Fedora 43 5.6.1-2.fc43 FEDORA-2026-0B55B49B93 Sep 1, 2026
darktable-debugsource · Fedora 43 5.6.1-2.fc43 FEDORA-2026-0B55B49B93 Sep 1, 2026
darktable-tools-basecurve · Fedora 43 5.6.1-2.fc43 FEDORA-2026-0B55B49B93 Sep 1, 2026
darktable-tools-basecurve-debuginfo · Fedora 43 5.6.1-2.fc43 FEDORA-2026-0B55B49B93 Sep 1, 2026
darktable-tools-noise · Fedora 43 5.6.1-2.fc43 FEDORA-2026-0B55B49B93 Sep 1, 2026
darktable-tools-noise-debuginfo · Fedora 43 5.6.1-2.fc43 FEDORA-2026-0B55B49B93 Sep 1, 2026
libraw · Debian 14 0.22.1-1 DEBIAN-CVE-2026-5318 Apr 2, 2026

Patch Radar data is free to use with attribution. Terms and how to credit it.

Product names, logos and trademarks shown on Patch Radar belong to their respective owners. They are used only to identify the software each security fix applies to and to help readers find their platform. Their use does not imply any affiliation with, or endorsement by, those owners, and Patchblox is not affiliated with any of them.