CVE-2024-40446: Arbitrary Code Execution in forkosh Mime Tex <1.77
- Vendor
- Ctan
CVE-2024-40446 is a code injection vulnerability in forkosh Mime Tex versions prior to 1.77. The flaw allows remote attackers to execute arbitrary code by submitting crafted scripts or file uploads, due to improper control over code generation and input validation. The vulnerability is classified as CWE-94 (Improper Control of Generation of Code) and can be exploited remotely without authentication, impacting confidentiality, integrity, and availability.
Impact, mitigation & remediation
What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.
Impact
What an attacker gets, and what they’ve been doing with it.
Successful exploitation allows remote, unauthenticated attackers to execute arbitrary code on the affected system, leading to full compromise of confidentiality, integrity, and availability. The vulnerability is critical, with a CVSS v3 base score up to 9.8, and can be exploited without user interaction. There is currently no evidence of active exploitation or APT involvement.
Mitigation
If you can’t patch tonight, do this now.
If immediate upgrade is not possible, restrict access to the affected Mime Tex service to trusted users and networks only. Employ web application firewalls to filter malicious input, and monitor for suspicious activity. However, these are only temporary measures; upgrading to 1.77 is the definitive fix.
Remediation
Patch, then assume compromise.
Upgrade forkosh Mime Tex to version 1.77 or later, which addresses the vulnerability. Ensure all instances are updated and verify that no legacy or unmaintained deployments remain exposed.
Exploits
No validated public exploits yet. Hidden: 1 rejected by Mallory's analysis as not a working exploit.
Affected products & vendors
Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.
Frequently asked questions
- Is CVE-2024-40446 exploited in the wild?
- As of Sep 25, 2026, Mallory has no reports of CVE-2024-40446 being exploited in the wild. It is not listed in CISA KEV.
- Is there a public exploit for CVE-2024-40446?
- As of Sep 25, 2026, Mallory has found no public exploit for CVE-2024-40446.
- Is there a patch for CVE-2024-40446?
- Upgrade forkosh Mime Tex to version 1.77 or later, which addresses the vulnerability. Ensure all instances are updated and verify that no legacy or unmaintained deployments remain exposed.
- What products are affected by CVE-2024-40446?
- Ctan Mimetex.
- How severe is CVE-2024-40446?
- CVE-2024-40446 has a CVSS v3.1 score of 9.8 (Critical) and an EPSS score of 0.76% (56th percentile) as of Sep 25, 2026.
Recent activity
No public activity tracked yet. Mallory keeps watching.
No public activity observed for this vulnerability.