Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2026-13500: Code Injection in antlr ANTLR4

0
Medium
VulnerabilityCVE-2026-13500cvecve-2026-13500
Published: 06/28/2026 (06/28/2026, 14:15:07 UTC)
Source: CVE Database V5
Vendor/Project: antlr
Product: 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

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
None
Vuln. Confidentiality
Low
Vuln. Integrity
Low
Vuln. Availability
Low
Subsq. Confidentiality
None
Subsq. Integrity
None
Subsq. Availability
None
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P

Affected software

org.antlr/antlr4
pkg:maven/org.antlr/antlr4
Affected versions
=4.13.0=4.13.1=4.13.2
CPE configurations
cpe: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

AILast updated: 06/28/2026, 14:51:17 UTC

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.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

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 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

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

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses