CVE-2026-13502
MEDIUMantlr ANTLR4 Maven Plugin GrammarDependencies.java ObjectInputStream.readObject toctou
Title source: cnaDescription
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.
References (5)
Core 5
Core References
Vdb Entry, Technical Description vdb-entry
technical-description
VDB-374498 | antlr ANTLR4 Maven Plugin GrammarDependencies.java ObjectInputStream.readObject toctou
https://vuldb.com/vuln/374498
Signature, Permissions Required signature
permissions-required
VDB-374498 | CTI Indicators (IOB, IOC, IOA)
https://vuldb.com/vuln/374498/cti
Third Party Advisory third-party-advisory
CVE-2026-13502 | CVE Analysis and Report
https://vuldb.com/cve/CVE-2026-13502
Third Party Advisory third-party-advisory
Submit #838685 | antlr ANTLR4 4.13.2 Unsafe Java Deserialization Maven Plugin
https://vuldb.com/submit/838685
Exploit exploit
issue-tracking
https://github.com/wooyun123/wooyun/issues/7
Scores
CVSS v3
4.5
EPSS
0.0009
EPSS Percentile
0.6%
Attack Vector
LOCAL
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:L
CISA SSVC
Vulnrichment
Exploitation
poc
Automatable
no
Technical Impact
partial
Details
CWE
CWE-362
CWE-367
Status
published
Products (3)
antlr/ANTLR4
4.13.0
antlr/ANTLR4
4.13.1
antlr/ANTLR4
4.13.2
Published
Jun 28, 2026
Tracked Since
Jun 28, 2026