antlr ANTLR4 Grammar Action Block OutputFile.java code injection
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Attack requirements
- None
- Impact type
- Code execution
- Confidentiality · integrity · availability
- Low · Low · Low
- Fix status
- No fix listed
Attack profile from CVSS 4.0 · CNA. Fix status from CNA. Impact type from CWE-94.
Summary
A weakness has been identified in antlr ANTLR4 up to 4.13.2. Affected is an unknown function of the file tool/src/org/antlr/v4/codegen/model/OutputFile.java of the component Grammar Action Block Handler. Executing a manipulation can lead to code injection. The attack may be launched remotely. The exploit has been made available to the public and could be used for attacks. 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
- Yes
- 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.
Vendor assessments
Red Hat
Red Hat rating: Important. Red Hat's page for this CVE →
Not affected: 1 product
- Red Hat Enterprise Linux 8
Timeline
- 2026-10-02 Threatist record created from CVE-2026-13500
- 2026-10-03 Alias added: GHSA-m64j-m5c8-f58p
References
More antlr vulnerabilities
- TI-2026-11428 antlr ANTLR4 tokenVocab Grammar Option TokenVocabParser.java getImportedVocabFile path traversal CVSS 4.0MEDIUM 6.9
- TI-2026-11426 antlr ANTLR4 gofmt GoTarget.java GoTarget command injection CVSS 4.0MEDIUM 4.8
- TI-2026-11427 antlr ANTLR4 Maven Plugin GrammarDependencies.java ObjectInputStream.readObject toctou CVSS 4.0LOW 2.0
Sources
- CVE-2026-13500 · CVE Program
- CVE-2026-13500 · NVD
- FIRST EPSS
- GHSA-m64j-m5c8-f58p · GitHub Advisory Database · CC BY 4.0
- CVE-2026-13500 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences