CVE-2026-13500: Code Injection in antlr ANTLR4
ANTLR4 versions 4.13.0, 4.13.1, and 4.13.2 contain a code injection vulnerability in the Grammar Action Block Handler component. This vulnerability allows remote attackers to execute arbitrary code by manipulating an unknown function in the OutputFile.java source file. The vulnerability has a medium severity score of 6.9 and public exploit code is available. The vendor has not responded to the disclosure and no official patch or remediation is currently known.
AI Analysis
Technical Summary
CVE-2026-13500 is a code injection vulnerability affecting antlr ANTLR4 versions 4.13.0, 4.13.1, and 4.13.2. The issue resides in an unspecified function within the Grammar Action Block Handler component, specifically in the file tool/src/org/antlr/v4/codegen/model/OutputFile.java. An attacker can remotely manipulate this function to inject and execute arbitrary code. The vulnerability has a CVSS 4.0 base score of 6.9 (medium severity) with network attack vector, low complexity, no privileges or user interaction required, and limited impact on confidentiality, integrity, and availability. Public exploit code exists, but no vendor response or patch has been provided as of the publication date.
Potential Impact
Successful exploitation of this vulnerability allows remote code injection, potentially enabling an attacker to execute arbitrary code on the affected system without requiring authentication or user interaction. This can compromise the confidentiality, integrity, and availability of the system running the vulnerable ANTLR4 versions. The presence of public exploit code increases the risk of exploitation.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Since the vendor has not responded and no official fix is available, users should consider avoiding or restricting use of affected versions 4.13.0, 4.13.1, and 4.13.2 until a patch or official mitigation is released. Monitor official vendor channels for updates.
CVE-2026-13500: Code Injection in antlr ANTLR4
Description
ANTLR4 versions 4.13.0, 4.13.1, and 4.13.2 contain a code injection vulnerability in the Grammar Action Block Handler component. This vulnerability allows remote attackers to execute arbitrary code by manipulating an unknown function in the OutputFile.java source file. The vulnerability has a medium severity score of 6.9 and public exploit code is available. The vendor has not responded to the disclosure and no official patch or remediation is currently known.
CVSS v4.0
Score 6.9medium
Affected software
pkg:maven/org.antlr/antlr4cpe:2.3:a:antlr:antlr4:*:*:*:*:*:*:*:*Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
CVE-2026-13500 is a code injection vulnerability affecting antlr ANTLR4 versions 4.13.0, 4.13.1, and 4.13.2. The issue resides in an unspecified function within the Grammar Action Block Handler component, specifically in the file tool/src/org/antlr/v4/codegen/model/OutputFile.java. An attacker can remotely manipulate this function to inject and execute arbitrary code. The vulnerability has a CVSS 4.0 base score of 6.9 (medium severity) with network attack vector, low complexity, no privileges or user interaction required, and limited impact on confidentiality, integrity, and availability. Public exploit code exists, but no vendor response or patch has been provided as of the publication date.
Potential Impact
Successful exploitation of this vulnerability allows remote code injection, potentially enabling an attacker to execute arbitrary code on the affected system without requiring authentication or user interaction. This can compromise the confidentiality, integrity, and availability of the system running the vulnerable ANTLR4 versions. The presence of public exploit code increases the risk of exploitation.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Since the vendor has not responded and no official fix is available, users should consider avoiding or restricting use of affected versions 4.13.0, 4.13.1, and 4.13.2 until a patch or official mitigation is released. Monitor official vendor channels for updates.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- VulDB
- Date Reserved
- 2026-06-27T18:27:58.576Z
- Cvss Version
- 4.0
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 6a41317827e9c79719150c0a
Added to database: 06/28/2026, 14:36:40 UTC
Last enriched: 06/28/2026, 14:51:17 UTC
Last updated: 06/28/2026, 15:24:04 UTC
Views: 4
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.