# CVE-2026-13500: antlr ANTLR4 Grammar Action Block OutputFile.java code injection

- Severity: Medium 6.9 (CVSS:4.0, scored by VulDB) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.31%, higher than 25% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-06-28T14:15:07.499Z
- Modified: 2026-10-25T17:10:00.197Z
- Weaknesses: CWE-74, CWE-94
- SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact partial
- Assigned by: VulDB

## 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.

(As written by CVE List.)

## Affected

- antlr ANTLR4: 4.13.0; 4.13.1; 4.13.2

## Every score

- VulDB: CVSS: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: CVSS: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: CVSS: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: CVSS:2.0 7.5 High `AV:N/AC:L/Au:N/C:P/I:P/A:P/E:POC/RL:ND/RC:UR`

## References

- <https://github.com/wooyun123/wooyun/issues/4> (exploit, issue-tracking)
- <https://vuldb.com/vuln/374495> (vdb-entry)
- <https://vuldb.com/vuln/374495/cti> (permissions-required, signature)
- <https://vuldb.com/cve/CVE-2026-13500> (third-party-advisory)
- <https://vuldb.com/submit/838568> (third-party-advisory)

## Sources

- CVE List: [CVE-2026-13500](https://www.cve.org/CVERecord?id=CVE-2026-13500), CVE Terms of Use, modified 2026-06-29
- NVD: [CVE-2026-13500](https://nvd.nist.gov/vuln/detail/CVE-2026-13500), Public domain, modified 2026-10-25

---

Page: https://cve.day/CVE-2026-13500 · Whole record: https://cve.day/CVE-2026-13500.json · Rebuilt by cve.day 2026-11-25T22:59:26.576Z
