Skip to content

CVE-2026-13503 antlr ANTLR4 tokenVocab Grammar Option TokenVocabParser.java getImportedVocabFile path traversal

MediumCVSS 6.9 EPSS 0.77%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
Proof of concept public · automatable: yes · technical impact: partial
Technology
UbuntuDebianRed Hat

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.

Upgrade path

13 packages: 1 fixed, 11 with no fix yet.

PackageAffectedFixed inStatus
debian/antlr4(Debian 12) = 4.7.2-5; = 4.9.2-1; = 4.9.2-2; = 4.9.2-3 +1 more No fix listed No fix yet
debian/antlr4(Debian 13) = 4.9.2-3; All versions No fix listed No fix yet
debian/antlr4(Debian 14) = 4.9.2-3; All versions No fix listed No fix yet
redhat/antlr(Red Hat enterprise_linux 10) All versions No fix listed No fix yet
redhat/antlr(Red Hat enterprise_linux 8) All versions No fix listed No fix yet
redhat/antlr(Red Hat enterprise_linux 9) All versions No fix listed No fix yet
redhat/grafana(Red Hat enterprise_linux 8) All versions No fix listed No fix yet
ubuntu/antlr4(Ubuntu 22.04) All versions No fix listed No fix yet
ubuntu/antlr4(Ubuntu 24.04) All versions No fix listed No fix yet
ubuntu/antlr4(Ubuntu 26.04) All versions No fix listed No fix yet
ubuntu/antlr4(Ubuntu 26.10) All versions No fix listed No fix yet
azure linux antlr4-project(Azure Linux 4.0) < 0:4.13.2-19.azl4 0:4.13.2-19.azl4 Fixed
antlr4 = 4.13.0; = 4.13.1; = 4.13.2 No fix listed Versions listed

Affected products

ProductAffected versionsFixed in
antlr4 = 4.13.0 No fix listed
antlr4 = 4.13.1 No fix listed
antlr4 = 4.13.2 No fix listed
redhat/antlr(Red Hat:enterprise_linux:10) All versions No fix listed
redhat/antlr(Red Hat:rhel_els:6) All versions No fix listed
redhat/antlr(Red Hat:rhel_els:7) All versions No fix listed
redhat/antlr(Red Hat:enterprise_linux:8) All versions No fix listed
redhat/grafana(Red Hat:enterprise_linux:8) All versions No fix listed
redhat/antlr(Red Hat:enterprise_linux:9) All versions No fix listed
debian/antlr4(Debian:12) All versions No fix listed
debian/antlr4(Debian:12) = 4.7.2-5 No fix listed
debian/antlr4(Debian:12) = 4.9.2-1 No fix listed
debian/antlr4(Debian:12) = 4.9.2-2 No fix listed
debian/antlr4(Debian:12) = 4.9.2-3 No fix listed
debian/antlr4(Debian:13) All versions No fix listed
debian/antlr4(Debian:13) = 4.9.2-3 No fix listed
debian/antlr4(Debian:14) All versions No fix listed
debian/antlr4(Debian:14) = 4.9.2-3 No fix listed
ubuntu/antlr4(Ubuntu:22.04) All versions No fix listed
ubuntu/antlr4(Ubuntu:24.04) All versions No fix listed
ubuntu/antlr4(Ubuntu:26.04) All versions No fix listed
ubuntu/antlr4(Ubuntu:26.10) All versions No fix listed
azure linux antlr4-project(Azure Linux:4.0) < 0:4.13.2-19.azl4 0:4.13.2-19.azl4

References