CVE-2026-13500CWE-74CWE-94

antlr ANTLR4 Grammar Action Block OutputFile.java code injection

Medium · published June 28, 2026

CVSS v4.0
6.9
EPSS
1%
Percentile
43.1
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v4.0
6.9 · MEDIUM
Vector
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
EPSS
0.00516 · 43.1th percentile
Weaknesses
CWE-74 · Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection'); CWE-94 · Improper Control of Generation of Code ('Code Injection')
Published
2026-06-28T14:15Z
EPSS history
Timeline
  • 28 JUN 14:15Z
    antlr ANTLR4 Grammar Action Block OutputFile.java code injection
    cvelistv5