CVE-2026-13500
antlr ANTLR4 Grammar Action Block OutputFile.java code injection
- State
- Published
- Severity
- 6.9 Medium
- Published
- Jun 28, 2026
- Updated
- Jun 29, 2026
- Reserved
- Jun 27, 2026
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.
Scores
| CVSS | Score | Vector | Source |
|---|---|---|---|
| 4.0 | 6.9 Medium | 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 | VulDB |
| 3.1 | 7.3 High | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L/E:P/RL:X/RC:R | VulDB |
| 3.0 | 7.3 High | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L/E:P/RL:X/RC:R | VulDB |
| 2.0 | 7.5 High | AV:N/AC:L/Au:N/C:P/I:P/A:P/E:POC/RL:ND/RC:UR | VulDB |
Weaknesses
Affected Products
| Product | Versions |
|---|---|
ANTLR4antlr |
|
References
- VDB-374495 | antlr ANTLR4 Grammar Action Block OutputFile.java code injectionvdb-entry
- VDB-374495 | CTI Indicators (IOB, IOC, TTP, IOA)signaturepermissions-required
- CVE-2026-13500 | CVE Analysis and Reportthird-party-advisory
- Submit #838568 | antlr ANTLR4 4.13.2 Code Injectionthird-party-advisory
- https://github.com/wooyun123/wooyun/issues/4exploitissue-tracking
Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.