CVE-2026-13502
published low CVSS 4.0 · 2.0antlr ANTLR4 Maven Plugin GrammarDependencies.java ObjectInputStream.readObject toctou
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| antlr | — | ANTLR44.13.0 · 4.13.1 · 4.13.2 | Affected | Not stated | VulDB |
| Amazon Linux | AL2 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 2.0 / 10
- Severity
- low
- Provider
- VulDB · cna
- Vector string
- CVSS:4.0/AV:L/AC:H/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P
Additional Assessments
| Version | Score | Severity | Provider | Vector | Scenarios |
|---|---|---|---|---|---|
| 3.1 | 4.5 | medium | VulDB · cna | CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:L/E:P/RL:X/RC:R | — |
| 3.0 | 4.5 | medium | VulDB · cna | CVSS:3.0/AV:L/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:L/E:P/RL:X/RC:R | — |
| 2.0 | 3.5 | low | VulDB · cna | AV:L/AC:H/Au:S/C:P/I:P/A:P/E:POC/RL:ND/RC:UR | — |
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| antlr | ANTLR4 | 4.13.0 (affected)4.13.1 (affected)4.13.2 (affected) | VulDB · cna |
Weaknesses
2- CWE-367 Time-of-check Time-of-use
- CWE-362 Race Condition
References
5- https://github.com/wooyun123/wooyun/issues/7
- CVE-2026-13502 | CVE Analysis and Report https://vuldb.com/cve/CVE-2026-13502
- Submit #838685 | antlr ANTLR4 4.13.2 Unsafe Java Deserialization Maven Plugin https://vuldb.com/submit/838685
- VDB-374498 | antlr ANTLR4 Maven Plugin GrammarDependencies.java ObjectInputStream.readObject toctou https://vuldb.com/vuln/374498
- VDB-374498 | CTI Indicators (IOB, IOC, IOA) https://vuldb.com/vuln/374498/cti
Provider assertions
2VulDB · cna
antlr ANTLR4 Maven Plugin GrammarDependencies.java ObjectInputStream.readObject toctou
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- ba65eb6235a445afdb853af8d44d9add1265935d522f3ee9201e412fad38df14
- Ingested
- 23 Sep 2026, 09:01:28 UTC
- Source record
- Official CVE record