CVE-2026-13503

MEDIUM

antlr ANTLR4 tokenVocab Grammar Option TokenVocabParser.java getImportedVocabFile path traversal

Title source: cna
STIX 2.1

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.

References (5)

Core 5
Core References
Vdb Entry, Technical Description vdb-entry technical-description
VDB-374497 | antlr ANTLR4 tokenVocab Grammar Option TokenVocabParser.java getImportedVocabFile path traversal
https://vuldb.com/vuln/374497
Signature, Permissions Required signature permissions-required
VDB-374497 | CTI Indicators (IOB, IOC, TTP, IOA)
https://vuldb.com/vuln/374497/cti
Third Party Advisory third-party-advisory
CVE-2026-13503 | CVE Analysis and Report
https://vuldb.com/cve/CVE-2026-13503
Third Party Advisory third-party-advisory
Submit #838686 | antlr ANTLR4 4.13.2 Path Traversal tokenVocab File Read
https://vuldb.com/submit/838686
Exploit exploit issue-tracking
https://github.com/wooyun123/wooyun/issues/8

Scores

CVSS v3 5.3
EPSS 0.0055
EPSS Percentile 43.0%
Attack Vector NETWORK
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N

CISA SSVC

Vulnrichment
Exploitation poc
Automatable yes
Technical Impact partial

Details

CWE
CWE-22
Status published
Products (3)
antlr/ANTLR4 4.13.0
antlr/ANTLR4 4.13.1
antlr/ANTLR4 4.13.2
Published Jun 28, 2026
Tracked Since Jun 28, 2026