Sublime Text 3
CVE-2025-65741
CRITICAL
Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessObtain local access to macOS host
-
DeliveryCompile malicious .dylib payload
-
ExploitPlant library in Sublime Text load path
-
ExecutionUser launches Sublime Text 3
-
ImpactExecute arbitrary code in application context
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A08:2025 - Software or Data Integrity Failures
ASVS 5.0
V13 - Configuration Search path element control
|
| Exploitation Conditions | Requires local access to a macOS system running Sublime Text 3 Build 3208 or prior, the ability to write an attacker-compiled .dylib into a location Sublime Text searches when loading libraries, and the user subsequently launching the application so the library is loaded and executed. Limiting factors: the attacker must already have local filesystem access (not satisfied by the network vector claimed in the input CVSS), the target must be the legacy Sublime Text 3 branch on macOS specifically, and the injected code runs only with the privileges of the user who runs the editor. This local, platform- and version-specific precondition is the main constraint on realistic risk despite the 9.8 score. |
| Impact | The input lists a CVSS 3.1 base score of 9.8 with vector AV:N/AC:L/PR:N/UI:N, which asserts remote, unauthenticated, network-reachable exploitation. This directly conflicts with the described mechanism: CWE-427 dylib injection, where 'an attacker could compile a .dylib file and force the execution of this library in the context of the Sublime Text application.' Loading an attacker-supplied dylib into a local desktop application requires the attacker to place that library somewhere Sublime Text searches and for the local user to launch the app - this is a local-access condition, not a network vector. I therefore treat the AV:N/PR:N labeling as inconsistent with the mechanism: CVSS indicates a network vector but the description implies local filesystem access - verify with vendor. There is no KEV listing (not confirmed actively exploited) and no EPSS value supplied, so widespread or automated exploitation cannot be asserted from the data. A public PoC reference exists (the vinicius-batistella GitHub repo) but it is not verified as working exploit code. The vuln.today Decision label is act_now, which signals urgency, yet the underlying signals (no KEV, EPSS absent, unverified PoC, local mechanism) are weaker and partly conflicting; the realistic priority is a local code-execution/persistence risk on macOS endpoints still running the legacy Sublime Text 3, not an internet-facing 9.8 emergency. Resolving the AV discrepancy with the vendor should precede any 9.8-driven prioritization. |
| Exploit ScenarioDerived | An attacker with local access to a macOS host compiles a malicious .dylib and places it where Sublime Text 3 (Build 3208 or prior) resolves and loads libraries; when the user next launches the editor, the planted library executes arbitrary code in the context of the Sublime Text process, inheriting that user's privileges. A public PoC reference exists for this technique but is not verified as working exploit code. Exploitation realistically depends on prior local access to the filesystem rather than the remote network vector the CVSS vector implies. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Nov 04, 2026
Local dylib injection in Sublime Text 3 Build 3208 and earlier on macOS can execute attacker-supplied code with the privileges of the user running the editor. Exploitation requires local filesystem access to plant an attacker-compiled .dylib in a location the application searches at launch, and the provided assessment therefore does not support the input 9.8 network vector; the practical risk is local and version-specific. A public PoC reference exists; it is not verified as working exploit code, and the provided data does not confirm active exploitation.
RemediationAI
No specific fixed build is identified in the provided data, so upgrade to a currently supported Sublime Text release from https://www.sublimetext.com/3 and verify the installed build against the vendor's release notes. Because exploitation depends on placing a .dylib in a location Sublime Text searches, restrict local filesystem write access to the application bundle and its library search locations to trusted users, and avoid launching the legacy Sublime Text 3 build from directories or environments writable by untrusted accounts; these are compensating controls only and do not replace a vendor fix. Review the public PoC reference at https://github.com/vinicius-batistella/CVE-2025-65741/ for any additional indicators, but note it is not verified as working exploit code.
Affects your stack
Find out whether the stacks and servers you run are on an affected version.
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
The flaw is CWE-427 (uncontrolled search path element) affecting the macOS build of Sublime Text 3, corresponding to CPE cpe:2.3:a:sublimetext:sublime_text_3:*:*:*:*:*:macos:*:*. macOS loads dynamic libraries (.dylib) for Mach-O applications, and the assessed condition is that Sublime Text searches locations for libraries that a local attacker can write to; an attacker who can place a compiled .dylib in such a location can have code run inside the Sublime Text process when the user launches it. The independent assessment sets the vector to AV:L/AC:L/PR:L/UI:N, meaning local access and low privileges on the host are required, with code executing at the user's privilege level; it does not substantiate the input AV:N/PR:N/UI:N claim. The trigger details beyond this local search-path placement are not described in the available sources.
Know when Sublime Text 3 gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Dylib injection requires local access and write to a search-path location, so AV:L and PR:L; code runs fully in the app context, giving C:H/I:H/A:H with unchanged scope.
Primary rating from Vendor (mitre).
CVSS VectorVendor: mitre
DescriptionCVE.org
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.
Executive ViewAI
A critical-severity local code execution vulnerability (CVE-2025-65741) affects Sublime Text 3 Build 3208 and earlier on macOS, allowing an attacker with local filesystem access to execute code under the logged-in user's privileges. While the CVSS score is 9.8, the practical risk is local and version-specific, requiring a foothold on the endpoint; leadership should prioritize inventory of macOS developer endpoints and transition to a supported, patched Sublime Text release.
No vendor-released patch identified at time of analysis; interim mitigations include restricting local filesystem write access to application directories, enforcing application allow-listing, and monitoring for unauthorized dylib placement.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Code injection occurs when an application accepts user input and passes it directly into a language interpreter or evaluator without proper sanitization.
Affected Products (CPE)CVE.org
More in Sublime Text 3
View allDLL hijacking is possible in Sublime Text 3 version 3.1.1 build 3176 on 32-bit Windows platforms because a Trojan horse
Local privilege escalation in Sublime Text for Windows - Sublime Text 4 through Build 4192 and Sublime Text 3 through Bu
Sublime Text 3 Build 3126 allows user-assisted attackers to cause a denial of service or possibly have unspecified other
NVD
CVE.org
EPSS
GitHub
Exploit-DB