antlr ANTLR4 Maven Plugin GrammarDependencies.java ObjectInputStream.readObject toctou
Key facts
- Attack vector
- Local
- Privileges required
- Low
- User interaction
- None
- Attack complexity
- High
- Attack requirements
- None
- Impact type
- —
- Confidentiality · integrity · availability
- Low · Low · Low
- Fix status
- No fix listed
Attack profile from CVSS 4.0 · CNA. Fix status from CNA.
Summary
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- Poc
- Automatable
- No
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
Remediation
No fixed version listed by the sources yet.
Timeline
- 2026-10-02 Threatist record created from CVE-2026-13502
- 2026-10-03 Alias added: GHSA-h73j-vjhq-j9vg
References
More antlr vulnerabilities
- TI-2026-11428 antlr ANTLR4 tokenVocab Grammar Option TokenVocabParser.java getImportedVocabFile path traversal CVSS 4.0MEDIUM 6.9
- TI-2026-11425 antlr ANTLR4 Grammar Action Block OutputFile.java code injection CVSS 4.0MEDIUM 6.9
- TI-2026-11426 antlr ANTLR4 gofmt GoTarget.java GoTarget command injection CVSS 4.0MEDIUM 4.8
Sources
- CVE-2026-13502 · CVE Program
- CVE-2026-13502 · NVD
- FIRST EPSS
- GHSA-h73j-vjhq-j9vg · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences