Vulnerability · Published Jun 28, 2026 · Assigned by VulDB
CVE-2026-13503antlr ANTLR4 tokenVocab Grammar Option TokenVocabParser.java getImportedVocabFile path traversal
Medium 5.3
In plain English
A medium-severity path traversal in ANTLR4 from antlr. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.8% (higher than 56% of all known vulnerabilities).
Official 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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian:12 | antlr4 | no fix listed | DEBIAN-CVE-2026-13503 |
| Debian:13 | antlr4 | no fix listed | DEBIAN-CVE-2026-13503 |
| Debian:14 | antlr4 | no fix listed | DEBIAN-CVE-2026-13503 |
| Ubuntu:22.04:LTS | antlr4 | no fix listed | UBUNTU-CVE-2026-13503 |
| Ubuntu:24.04:LTS | antlr4 | no fix listed | UBUNTU-CVE-2026-13503 |
| Ubuntu:25.10 | antlr4 | no fix listed | UBUNTU-CVE-2026-13503 |
| Ubuntu:26.04:LTS | antlr4 | no fix listed | UBUNTU-CVE-2026-13503 |
| Ubuntu:26.10 | antlr4 | no fix listed | UBUNTU-CVE-2026-13503 |
Affected products (as reported)
Weakness: CWE-22 · Vector: 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
References
- VDB-374497 | antlr ANTLR4 tokenVocab Grammar Option TokenVocabParser.java getImportedVocabFile path traversal vdb-entry, technical-description
- VDB-374497 | CTI Indicators (IOB, IOC, TTP, IOA) signature, permissions-required
- CVE-2026-13503 | CVE Analysis and Report third-party-advisory
- Submit #838686 | antlr ANTLR4 4.13.2 Path Traversal tokenVocab File Read third-party-advisory
- https://github.com/wooyun123/wooyun/issues/8 exploit, issue-tracking