DEBIAN-CVE-2026-5318
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.
DEBIAN-CVE-2026-5318
Primary source · Revision 1
Imported from structured advisory data. Source references identify upstream records or fields; verify affected versions and your deployed configuration.
Security context
Source reference: osv:DEBIAN-CVE-2026-5318
libraw
Source reference: /affected/0/package/name
- Affected versions
- 0.21.4-2
Source reference:
/affected/0/versions0.21.4-3~exp1Source reference:
/affected/0/versions0.21.4-3~exp2Source reference:
/affected/0/versions0.21.5b-1Source reference:
/affected/0/versions0.22.0-1~exp1Source reference:
/affected/0/versions0.22.1-1~exp1Source reference:
/affected/0/versions0.22.1-1~exp2Source reference:
/affected/0/versions - Fixed versions
- 0.22.1-1
Source reference:
/affected/0/ranges - Prerequisites
- Not stated in this record
Structured affected-version data
Original package identities and version rules from this source.
[
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "0.22.1-1"
}
]
}
],
"package": {
"name": "libraw",
"purl": "pkg:deb/debian/libraw?arch=source&distro=forky",
"ecosystem": "Debian:14"
},
"versions": [
"0.21.4-2",
"0.21.4-3~exp1",
"0.21.4-3~exp2",
"0.21.5b-1",
"0.22.0-1~exp1",
"0.22.1-1~exp1",
"0.22.1-1~exp2"
],
"database_specific": {
"source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-5318.json"
},
"ecosystem_specific": {
"urgency": "not yet assigned"
}
}
]Publisher severity
No explicit severity was provided.
- Event
- #57782 · Revision 1
- Added to Heist Feed
- Publisher date