Advisory

USN-8522-1

Also known as: CVE-2026-20884, CVE-2026-20889, CVE-2026-21413, CVE-2026-24450, CVE-2026-24660, CVE-2026-5342

Summary

libraw vulnerabilities

Details

It was discovered that LibRaw incorrectly handled certain Nikon RAW image
files. An attacker could possibly use this issue to cause LibRaw to crash,
resulting in a denial of service. (CVE-2026-5342)

It was discovered that LibRaw had an integer overflow in its DNG image
loader. An attacker could possibly use this issue to cause LibRaw to
crash, resulting in a denial of service, or execute arbitrary code.
(CVE-2026-20884)

It was discovered that LibRaw incorrectly handled certain X3F thumbnail
data. An attacker could possibly use this issue to cause LibRaw to crash,
resulting in a denial of service, or execute arbitrary code.
(CVE-2026-20889)

It was discovered that LibRaw had a heap-based buffer overflow in its
lossless JPEG image loader. An attacker could possibly use this issue to
cause LibRaw to crash, resulting in a denial of service, or execute
arbitrary code. (CVE-2026-21413)

It was discovered that LibRaw had an integer overflow in its uncompressed
floating-point DNG image loader. An attacker could possibly use this issue
to cause LibRaw to crash, resulting in a denial of service, or execute
arbitrary code. This issue only affected Ubuntu 24.04 LTS and Ubuntu 25.04.
(CVE-2026-24450)

It was discovered that LibRaw had a heap-based buffer overflow in its X3F
Huffman decoder. An attacker could possibly use this issue to cause LibRaw
to crash, resulting in a denial of service, or execute arbitrary code.
(CVE-2026-24660)

Severity

Not rated by the source.

Dates

Published
2026-07-09 12:45 UTC
Modified
2026-07-09 21:44 UTC

Affected packages and fixes

libraw

Debian packages (deb) · Ubuntu 22.04

Affected

  • introduced 0, fixed 0.20.2-2ubuntu2.22.04.3 (ecosystem)

Fixed versions

0.20.2-2ubuntu2.22.04.3

Fix

  • Fixed version 0.20.2-2ubuntu2.22.04.3
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

libraw

Debian packages (deb) · Ubuntu 24.04

Affected

  • introduced 0, fixed 0.21.2-2.1ubuntu0.24.04.2 (ecosystem)

Fixed versions

0.21.2-2.1ubuntu0.24.04.2

Fix

  • Fixed version 0.21.2-2.1ubuntu0.24.04.2
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

libraw

Debian packages (deb) · Ubuntu 26.04

Affected

  • introduced 0, fixed 0.21.5b-1ubuntu1.1 (ecosystem)

Fixed versions

0.21.5b-1ubuntu1.1

Fix

  • Fixed version 0.21.5b-1ubuntu1.1
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: Ubuntu Security Notices · CC BY-SA 4.0

Sources & licences