Skip to content
Heist/ feed
UnratedFix available

DEBIAN-CVE-2026-5342

Type: advisorySource: OSV1 source record

A flaw has been found in LibRaw up to 0.22.0. This affects the function LibRaw::nikon_load_padded_packed_raw of the file src/decoders/decoders_libraw.cpp of the component TIFF/NEF. Executing a manipulation of the argument load_flags/raw_width can lead to out-of-bounds read. It is possible to launch the attack remotely. The exploit has been published and may be used. Upgrading to version 0.22.1 mitigates this issue. This patch is called b8397cd45657b84e88bd1202528d1764265f185c. It is advisable to upgrade the affected component.

Announced Source revision 1
Original source ↗

DEBIAN-CVE-2026-5342

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-5342

libraw

Source reference: /affected/0/package/name

Affected versions
0.20.2-2.1

Source reference: /affected/0/versions

0.20.2-2.1+deb12u1

Source reference: /affected/0/versions

Fixed versions
0.20.2-2.1+deb12u2

Source reference: /affected/0/ranges

Prerequisites
Not stated in this record

libraw

Source reference: /affected/1/package/name

Affected versions
0.21.4-2

Source reference: /affected/1/versions

Fixed versions
0.21.4-2+deb13u1

Source reference: /affected/1/ranges

Prerequisites
Not stated in this record

libraw

Source reference: /affected/2/package/name

Affected versions
0.21.4-2

Source reference: /affected/2/versions

0.21.4-3~exp1

Source reference: /affected/2/versions

0.21.4-3~exp2

Source reference: /affected/2/versions

0.21.5b-1

Source reference: /affected/2/versions

0.22.0-1~exp1

Source reference: /affected/2/versions

0.22.1-1~exp1

Source reference: /affected/2/versions

0.22.1-1~exp2

Source reference: /affected/2/versions

Fixed versions
0.22.1-1

Source reference: /affected/2/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.20.2-2.1+deb12u2"
          }
        ]
      }
    ],
    "package": {
      "name": "libraw",
      "purl": "pkg:deb/debian/libraw?arch=source&distro=bookworm",
      "ecosystem": "Debian:12"
    },
    "versions": [
      "0.20.2-2.1",
      "0.20.2-2.1+deb12u1"
    ],
    "database_specific": {
      "source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-5342.json"
    },
    "ecosystem_specific": {
      "urgency": "not yet assigned"
    }
  },
  {
    "ranges": [
      {
        "type": "ECOSYSTEM",
        "events": [
          {
            "introduced": "0"
          },
          {
            "fixed": "0.21.4-2+deb13u1"
          }
        ]
      }
    ],
    "package": {
      "name": "libraw",
      "purl": "pkg:deb/debian/libraw?arch=source&distro=trixie",
      "ecosystem": "Debian:13"
    },
    "versions": [
      "0.21.4-2"
    ],
    "database_specific": {
      "source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-5342.json"
    },
    "ecosystem_specific": {
      "urgency": "not yet assigned"
    }
  },
  {
    "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-5342.json"
    },
    "ecosystem_specific": {
      "urgency": "not yet assigned"
    }
  }
]

Publisher severity

No explicit severity was provided.

Event
#57334 · Revision 1
Added to Heist Feed
Publisher date
Read the original announcement