CVE-2026-24660

8.1

LibRaw · LibRaw

A heap-based buffer overflow exists in the LibRaw x3f_load_huffman functionality, allowing remote code execution via a maliciously crafted file.

Executive summary

A heap-based buffer overflow in LibRaw allows unauthenticated remote attackers to potentially execute arbitrary code by supplying a specially crafted file.

Vulnerability

This vulnerability is a heap-based buffer overflow occurring within the x3f_load_huffman function. It is triggered when the software processes a malicious file, and it does not require prior user authentication.

Business impact

The successful exploitation of this vulnerability can result in full system compromise, including unauthorized data access and integrity loss. With a CVSS score of 8.1, the vulnerability is categorized as High severity, reflecting the potential for significant impact on system availability and security if an attacker successfully triggers the overflow.

Remediation

Immediate Action: Monitor the official LibRaw repository for a security patch or updated commit that addresses the heap overflow in the x3f_load_huffman function.

Proactive Monitoring: Review application logs for crashes associated with image processing or suspicious file handling patterns that may indicate an attempt to trigger the overflow.

Compensating Controls: Implement file validation and sandboxing for incoming image files to ensure that malformed data is not processed by the vulnerable LibRaw library.

Exploitation status

Public Exploit Available: No (exploit_available: false)

Analyst recommendation

Given the High severity of this vulnerability, administrators should prioritize replacing the affected library version as soon as a fix is released. Until a patch is available, restrict the processing of untrusted files using this library to isolated, low-privilege environments to minimize the risk of successful code execution.

More LibRaw CVEs

Sources

Originally found and disclosed by Discovered by Francesco Benvenuto of Cisco Talos., per the CVE Program record.