CVE-2026-24660

LibRaw: LibRaw: Memory Corruption via Malicious File Processing

Published Apr 7, 2026 CVSS 3.1 · 8.1 High EPSS < 1% KEV · Not listed
Description
A heap-based buffer overflow vulnerability exists in the x3f_load_huffman functionality of LibRaw Commit d20315b. A specially crafted malicious file can lead to a heap buffer overflow. An attacker can provide a malicious file to trigger this vulnerability.

Analysis

AI-generated

Technical impact

A heap-based buffer overflow exists in LibRaw’s x3f_load_huffman routine. A specially crafted file can corrupt memory, and the overflow may be leveraged to execute arbitrary code, compromising the confidentiality and integrity of the application and possibly leading to crashes or denial of service.

Affected Systems

The vulnerability affects the LibRaw library from the vendor LibRaw:LibRaw. The affected release is 0.22.0 as identified by the CPE entry. No other product or version information is provided in the CVE record.

Risk and Exploitability

The CVSS score of 8.1 indicates a high severity condition. The EPSS score of less than 1% suggests a low likelihood of exploitation in the wild, and the vulnerability is not currently listed in the CISA KEV catalog. The attack vector requires an attacker to supply a malicious file to a program that uses LibRaw, which is likely a local or effectively local exploitation scenario if the file can be controlled by the user.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Apply the vendor’s patch or upgrade LibRaw to a version that fixes CVE-2026-24660.
  • If an update is not feasible, restrict the types and sizes of files processed by LibRaw, or validate input before it reaches the library.
  • Consider running interfacing applications in a sandboxed environment to limit the impact of a potential memory corruption.
  • Monitor logs for abnormal crashes or memory corruption patterns associated with image processing tasks.

Generated by OpenCVE AI on April 10, 2026 at 22:45 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Debian DLA Debian DLA DLA-4704-1 libraw security update
Ubuntu USN Ubuntu USN USN-8522-1 LibRaw vulnerabilities
History
Type Values Removed Values Added
CPEs cpe:2.3:a:libraw:libraw:0.22.0:*:*:*:*:*:*:*
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Libraw
Libraw libraw
Vendors & Products Libraw
Libraw libraw
Type Values Removed Values Added
Title LibRaw: LibRaw: Memory Corruption via Malicious File Processing
Weaknesses CWE-120
References
Metrics threat_severity

None

threat_severity

Important

Type Values Removed Values Added
Description A heap-based buffer overflow vulnerability exists in the x3f_load_huffman functionality of LibRaw Commit d20315b. A specially crafted malicious file can lead to a heap buffer overflow. An attacker can provide a malicious file to trigger this vulnerability.
Weaknesses CWE-190
References
Metrics cvssV3_1

{'score': 8.1, 'vector': 'CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H'}

Weaknesses
  • CWE-120

    Buffer Copy without Checking Size of Input ('Classic Buffer Overflow')

  • CWE-190

    Integer Overflow or Wraparound

Sources

Status
PUBLISHED
Assigner
talos
Published
Updated
Jul 15, 2026, 1:17 AM
Reserved
Jan 27, 2026, 4:49 PM
Status
Modified
Published
Apr 7, 2026, 3:17 PM
Modified
Jul 15, 2026, 2:18 AM
Severity
Important
Public date
Apr 7, 2026, 1:49 PM