USN-8522-1: LibRaw vulnerabilities
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)
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
ubuntu/libraw-binto a version that resolves this vulnerability.Fixed in 0.21.5b-1ubuntu1.1 - Upgrade
Upgrade
ubuntu/libraw23t64to a version that resolves this vulnerability.Fixed in 0.21.5b-1ubuntu1.1 - Upgrade
Upgrade
ubuntu/libraw-binto a version that resolves this vulnerability.Fixed in 0.21.2-2.1ubuntu0.24.04.2 - Upgrade
Upgrade
ubuntu/libraw23t64to a version that resolves this vulnerability.Fixed in 0.21.2-2.1ubuntu0.24.04.2 - Upgrade
Upgrade
ubuntu/libraw-binto a version that resolves this vulnerability.Fixed in 0.20.2-2ubuntu2.22.04.3 - Upgrade
Upgrade
ubuntu/libraw20to a version that resolves this vulnerability.Fixed in 0.20.2-2ubuntu2.22.04.3
Event History
Child vulnerabilities
Contains the following vulnerabilities.