CVE-2026-13500
published medium CVSS 4.0 · 6.9antlr ANTLR4 Grammar Action Block OutputFile.java code injection
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| antlr | — | ANTLR44.13.0 · 4.13.1 · 4.13.2 | Affected | Not stated | VulDB |
| Amazon Linux | AL2 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 6.9 / 10
- Severity
- medium
- Provider
- VulDB · cna
- Vector string
- 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
Additional Assessments
| Version | Score | Severity | Provider | Vector | Scenarios |
|---|---|---|---|---|---|
| 3.1 | 7.3 | high | VulDB · cna | 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 | — |
| 3.0 | 7.3 | high | VulDB · cna | 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 | — |
| 2.0 | 7.5 | high | VulDB · cna | AV:N/AC:L/Au:N/C:P/I:P/A:P/E:POC/RL:ND/RC:UR | — |
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| antlr | ANTLR4 | 4.13.0 (affected)4.13.1 (affected)4.13.2 (affected) | VulDB · cna |
Weaknesses
2- CWE-94 Code Injection
- CWE-74 Injection
References
5- https://github.com/wooyun123/wooyun/issues/4
- CVE-2026-13500 | CVE Analysis and Report https://vuldb.com/cve/CVE-2026-13500
- Submit #838568 | antlr ANTLR4 4.13.2 Code Injection https://vuldb.com/submit/838568
- VDB-374495 | antlr ANTLR4 Grammar Action Block OutputFile.java code injection https://vuldb.com/vuln/374495
- VDB-374495 | CTI Indicators (IOB, IOC, TTP, IOA) https://vuldb.com/vuln/374495/cti
Provider assertions
2VulDB · cna
antlr ANTLR4 Grammar Action Block OutputFile.java code injection
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 05f9539ab3e1b00a970426982cdd9ba8332e7af6bd35d8a75ba4c93e88cb5767
- Ingested
- 23 Sep 2026, 09:01:28 UTC
- Source record
- Official CVE record