RCE in Antlr Antlr4
CVE-2026-13500
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.
Published · last modified .
CVSS v3 metric
CVSS v3 base score 7.3 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L.
EPSS exploit prediction
EPSS 0.005, 44.5th percentile (last changed ); unchanged over 30 days. About EPSS.
Affected products
- Antlr Antlr4 — versions 4.13.0, 4.13.1, 4.13.2
Weakness classification (CWE)
References
- VDB-374495 | antlr ANTLR4 Grammar Action Block OutputFile.java code injection (vdb-entry)
- VDB-374495 | CTI Indicators (IOB, IOC, TTP, IOA) (signature, permissions-required)
- CVE-2026-13500 | CVE Analysis and Report (third-party-advisory)
- Submit #838568 | antlr ANTLR4 4.13.2 Code Injection (third-party-advisory)
- github.com/wooyun123/wooyun/issues/4 (issue-tracking, exploit)