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…
EPSS 0.3%top 76%

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

A weakness has been identified in antlr ANTLR4 up to 4.13.2. Affected is an unknown function of the file tool/src/org/antlr/v4/codegen/model/OutputFile.java of the component Grammar Action Block Handler. Executing a manipulation can lead to code injection. The attack may be launched remotely. The exploit has been made available to the public and could be used for attacks. The vendor was contacted early about this disclosure but did not respond in any way.

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: 07/05/2026, 23:27:25 UTC

Technical Analysis

CVE-2026-13500 identifies a code injection vulnerability in antlr ANTLR4 up to version 4.13.2, specifically in an unknown function of the file tool/src/org/antlr/v4/codegen/model/OutputFile.java within the Grammar Action Block Handler component. This flaw enables remote attackers to execute arbitrary code by manipulating the vulnerable function. The vulnerability is rated medium severity with a CVSS 4.0 score of 6.9 (AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P). Public exploit code exists, but no official patch or vendor response has been provided as of the publication date.

Potential Impact

Successful exploitation of this vulnerability can lead to remote code execution on systems using affected ANTLR4 versions. This can compromise the confidentiality, integrity, and availability of the affected system. The vulnerability is exploitable without authentication and requires no user interaction, increasing its risk. However, the overall severity is medium, reflecting some limitations in impact or exploit complexity.

Mitigation Recommendations

Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Since no official fix or vendor response is available, users should consider applying workarounds such as restricting access to the vulnerable component or avoiding untrusted input in the Grammar Action Block Handler until a patch is released.

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: 07/05/2026, 23:27:25 UTC

Last updated: 08/12/2026, 15:28:14 UTC

Views: 388

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