0.0
NA
CVE-2026-13502
antlr ANTLR4 Maven Plugin GrammarDependencies.java ObjectInputStream.readObject toctou
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.

INFO

Published Date :

June 28, 2026, 2:45 p.m.

Last Modified :

June 28, 2026, 2:45 p.m.

Remotely Exploit :

No

Source :

VulDB
Affected Products

The following products are affected by CVE-2026-13502 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

No affected product recoded yet

Solution
Update ANTLR4 to a version that resolves the TOCTOU vulnerability in the Maven plugin.
  • Update ANTLR4 to a version later than 4.13.2.
  • Verify the patch addresses the ObjectInputStream.readObject issue.
  • Review the Maven plugin for similar vulnerabilities.
  • Apply vendor security patches promptly.

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2026-13502 vulnerability anywhere in the article.

EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.