CVE-2026-13502

published 28 Jun 2026 · updated 29 Jun 2026

antlr ANTLR4 Maven Plugin GrammarDependencies.java ObjectInputStream.readObject toctou

5.5MediumCVSS 4.5EPSS 0%1 public exploits

A public exploit exists; no exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. No fixed version is recorded.

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.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
antlr=4.13.0, =4.13.1, =4.13.2

Exploit evidence

1 public sources

Timeline

Every event on this vulnerability

Embed

A live severity badge for an advisory, README or ticket

CVE-2026-13502 severity on Zeptric[![CVE-2026-13502](https://zeptric.io/badge/cve/CVE-2026-13502.svg)](https://zeptric.io/cve/CVE-2026-13502)