CVE-2026-13503
published medium CVSS 4.0 · 6.9antlr ANTLR4 tokenVocab Grammar Option TokenVocabParser.java getImportedVocabFile path traversal
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 vulnerability was detected in antlr ANTLR4 up to 4.13.2. Affected by this issue is the function getImportedVocabFile of the file tool/src/org/antlr/v4/parse/TokenVocabParser.java of the component tokenVocab Grammar Option Handler. The manipulation results in path traversal. The attack can be executed remotely. The exploit is now public 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
- 6.9 / 10
- Severity
- medium
- Provider
- VulDB · cna
- Vector string
- CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N/E:P
Additional Assessments
| Version | Score | Severity | Provider | Vector | Scenarios |
|---|---|---|---|---|---|
| 3.1 | 5.3 | medium | VulDB · cna | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N/E:P/RL:X/RC:R | — |
| 3.0 | 5.3 | medium | VulDB · cna | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N/E:P/RL:X/RC:R | — |
| 2.0 | 5.0 | medium | VulDB · cna | AV:N/AC:L/Au:N/C:P/I:N/A:N/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
1- CWE-22 Path Traversal
References
5- https://github.com/wooyun123/wooyun/issues/8
- CVE-2026-13503 | CVE Analysis and Report https://vuldb.com/cve/CVE-2026-13503
- Submit #838686 | antlr ANTLR4 4.13.2 Path Traversal tokenVocab File Read https://vuldb.com/submit/838686
- VDB-374497 | antlr ANTLR4 tokenVocab Grammar Option TokenVocabParser.java getImportedVocabFile path traversal https://vuldb.com/vuln/374497
- VDB-374497 | CTI Indicators (IOB, IOC, TTP, IOA) https://vuldb.com/vuln/374497/cti
Provider assertions
2VulDB · cna
antlr ANTLR4 tokenVocab Grammar Option TokenVocabParser.java getImportedVocabFile path traversal
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 439242b9c4f93b347ee35cacd2293f3d64508ce5e9a04010eff49882f0f87ab4
- Ingested
- 23 Sep 2026, 09:01:28 UTC
- Source record
- Official CVE record