CVE-2026-13502 antlr ANTLR4 Maven Plugin GrammarDependencies.java ObjectInputStream.readObject toctou
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- Proof of concept public · automatable: no · technical impact: partial
- Technology
- UbuntuDebian
Description
A flaw has been found in antlr ANTLR4 up to 4.13.2. This affects the function ObjectInputStream.readObject of the file antlr4-maven-plugin/src/main/java/org/antlr/mojo/antlr4/GrammarDependencies.java of the component Maven Plugin. This manipulation causes time-of-check time-of-use. The attack is restricted to local execution. A high degree of complexity is needed for the attack. It is indicated that the exploitability is difficult. The exploit has been published and may be used. The vendor was contacted early about this disclosure but did not respond in any way.
Upgrade path
8 packages: 0 fixed, 7 with no fix yet.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| debian/antlr4(Debian 12) | = 4.7.2-5; = 4.9.2-1; = 4.9.2-2; = 4.9.2-3 +1 more | No fix listed | No fix yet |
| debian/antlr4(Debian 13) | = 4.9.2-3; All versions | No fix listed | No fix yet |
| debian/antlr4(Debian 14) | = 4.9.2-3; All versions | No fix listed | No fix yet |
| ubuntu/antlr4(Ubuntu 22.04) | All versions | No fix listed | No fix yet |
| ubuntu/antlr4(Ubuntu 24.04) | All versions | No fix listed | No fix yet |
| ubuntu/antlr4(Ubuntu 26.04) | All versions | No fix listed | No fix yet |
| ubuntu/antlr4(Ubuntu 26.10) | All versions | No fix listed | No fix yet |
| antlr4 | = 4.13.0; = 4.13.1; = 4.13.2 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| antlr4 | = 4.13.0 | No fix listed |
| antlr4 | = 4.13.1 | No fix listed |
| antlr4 | = 4.13.2 | No fix listed |
| debian/antlr4(Debian:12) | All versions | No fix listed |
| debian/antlr4(Debian:12) | = 4.7.2-5 | No fix listed |
| debian/antlr4(Debian:12) | = 4.9.2-1 | No fix listed |
| debian/antlr4(Debian:12) | = 4.9.2-2 | No fix listed |
| debian/antlr4(Debian:12) | = 4.9.2-3 | No fix listed |
| debian/antlr4(Debian:13) | All versions | No fix listed |
| debian/antlr4(Debian:13) | = 4.9.2-3 | No fix listed |
| debian/antlr4(Debian:14) | All versions | No fix listed |
| debian/antlr4(Debian:14) | = 4.9.2-3 | No fix listed |
| ubuntu/antlr4(Ubuntu:22.04) | All versions | No fix listed |
| ubuntu/antlr4(Ubuntu:24.04) | All versions | No fix listed |
| ubuntu/antlr4(Ubuntu:26.04) | All versions | No fix listed |
| ubuntu/antlr4(Ubuntu:26.10) | All versions | No fix listed |
References
- VDB-374498 | antlr ANTLR4 Maven Plugin GrammarDependencies.java ObjectInputStream.readObject toctou technical-description vdb-entry
- VDB-374498 | CTI Indicators (IOB, IOC, IOA) permissions-required signature
- CVE-2026-13502 | CVE Analysis and Report third-party-advisory
- Submit #838685 | antlr ANTLR4 4.13.2 Unsafe Java Deserialization Maven Plugin third-party-advisory
- github.com exploit issue-tracking
- Debian Security Tracker CVE-2026-13502 vendor-advisory
- Ubuntu CVE tracker vendor-advisory
- www.cve.org