Impact
A flaw was discovered in the ANTLR4 Maven Plugin up to version 4.13.2 that exploits a time‑of‑check time‑of‑use condition in the ObjectInputStream.readObject method used by GrammarDependencies.java. The vulnerability allows local exploitation with a high complexity requirement; published exploits exist, but the effort required is significant. The weakness is categorized as a race condition (CWE‑362) and a TOCTOU flaw (CWE‑367).
Affected Systems
The ANTLR4 Maven Plugin for ANTLR4 up to 4.13.2 is affected. The vulnerability resides in the file antlr4-maven-plugin/src/main/java/org/antlr/mojo/antlr4/GrammarDependencies.java and is tied to the Maven build environment rather than the core ANTLR library. No vendor response has been recorded.
Risk and Exploitability
The CVSS score of 2 indicates a low severity assessment, and no EPSS data is available. The flaw is not listed in the CISA KEV catalog, and exploitation requires local access with a high complexity. Despite the difficult exploitability, the existence of published exploits warrants monitoring of the Maven builds for potential abuse.
OpenCVE Enrichment