USN-8522-1: LibRaw vulnerabilities

Published Jul 9, 2026
·
Updated

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

13 affected componentsFixes available
LibRaw
All of the following
ubuntu/libraw-bin<0.21.5b-1ubuntu1.1
0.21.5b-1ubuntu1.1
Ubuntu Ubuntu=26.04
All of the following
ubuntu/libraw23t64<0.21.5b-1ubuntu1.1
0.21.5b-1ubuntu1.1
Ubuntu Ubuntu=26.04
All of the following
ubuntu/libraw-bin<0.21.2-2.1ubuntu0.24.04.2
0.21.2-2.1ubuntu0.24.04.2
Ubuntu Ubuntu=24.04
All of the following
ubuntu/libraw23t64<0.21.2-2.1ubuntu0.24.04.2
0.21.2-2.1ubuntu0.24.04.2
Ubuntu Ubuntu=24.04
All of the following
ubuntu/libraw-bin<0.20.2-2ubuntu2.22.04.3
0.20.2-2ubuntu2.22.04.3
Ubuntu Ubuntu=22.04
All of the following
ubuntu/libraw20<0.20.2-2ubuntu2.22.04.3
0.20.2-2ubuntu2.22.04.3
Ubuntu Ubuntu=22.04

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade ubuntu/libraw-bin to a version that resolves this vulnerability.

    Fixed in 0.21.5b-1ubuntu1.1
  2. Upgrade

    Upgrade ubuntu/libraw23t64 to a version that resolves this vulnerability.

    Fixed in 0.21.5b-1ubuntu1.1
  3. Upgrade

    Upgrade ubuntu/libraw-bin to a version that resolves this vulnerability.

    Fixed in 0.21.2-2.1ubuntu0.24.04.2
  4. Upgrade

    Upgrade ubuntu/libraw23t64 to a version that resolves this vulnerability.

    Fixed in 0.21.2-2.1ubuntu0.24.04.2
  5. Upgrade

    Upgrade ubuntu/libraw-bin to a version that resolves this vulnerability.

    Fixed in 0.20.2-2ubuntu2.22.04.3
  6. Upgrade

    Upgrade ubuntu/libraw20 to a version that resolves this vulnerability.

    Fixed in 0.20.2-2ubuntu2.22.04.3

Event History

Jul 9, 2026
Advisory Published
via Ubuntu·12:00 AM
Data Sourced
via Ubuntu·12:00 AM
DescriptionAffected Software

Child vulnerabilities

Contains the following vulnerabilities.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203