Vulnerability in Antlr Antlr4
CVE-2026-13502
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.
Vulnerability class: Race Condition
Published · last modified .
CVSS v3 metric
CVSS v3 base score 4.5 (Medium). Vector: CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:L.
EPSS exploit prediction
EPSS 0.001, 1.4th 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
- github.com/wooyun123/wooyun/issues/7 (issue-tracking, exploit)
- 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)
- VDB-374498 | antlr ANTLR4 Maven Plugin GrammarDependencies.java ObjectInputStream.readObject toctou (technical-description, vdb-entry)
- VDB-374498 | CTI Indicators (IOB, IOC, IOA) (signature, permissions-required)