CVEfocus › CVE database › CVE-2026-13503

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

CVSS 5.3 MediumEPSS 0.8% (higher than 52% of CVEs)Published 2026-06-28Updated 2026-06-29Assigner: VulDB

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.

CWE-22

What to do

Debian, Red Hat, Ubuntu have not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

32Fix pending
3Under investigation
10Will not fix

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 26.10antlr4Fix pendingUBUNTU-CVE-2026-13503
Ubuntu 26.04antlr4Under investigationUBUNTU-CVE-2026-13503
Ubuntu 25.10antlr4Will not fix
Ubuntu decided not to fix this in this release
UBUNTU-CVE-2026-13503
Ubuntu 24.04antlr4Under investigationUBUNTU-CVE-2026-13503
Ubuntu 22.04antlr4Under investigationUBUNTU-CVE-2026-13503
Ubuntu 20.04antlr4Fix pendingUBUNTU-CVE-2026-13503
Ubuntu 18.04antlr4Fix pendingUBUNTU-CVE-2026-13503
Ubuntu 16.04antlr4Fix pendingUBUNTU-CVE-2026-13503
Debian 14antlr4Fix pendingDEBIAN-CVE-2026-13503
Debian 13antlr4Fix pendingDEBIAN-CVE-2026-13503
Debian 12antlr4Fix pendingDEBIAN-CVE-2026-13503
Red Hat Enterprise Linux 10antlr-C++Fix pending
Fix deferred
Red Hat Enterprise Linux 10antlr-javadocFix pending
Fix deferred
Red Hat Enterprise Linux 10antlr-manualFix pending
Fix deferred
Red Hat Enterprise Linux 10antlr-toolFix pending
Fix deferred
Red Hat Enterprise Linux 9antlr-C++Fix pending
Fix deferred
Red Hat Enterprise Linux 9antlr-toolFix pending
Fix deferred
Red Hat Enterprise Linux 8antlrFix pending
Fix deferred
Red Hat Enterprise Linux 8antlr-C++Fix pending
Fix deferred
Red Hat Enterprise Linux 8antlr-javadocFix pending
Fix deferred
Red Hat Enterprise Linux 8antlr-manualFix pending
Fix deferred
Red Hat Enterprise Linux 8antlr-toolFix pending
Fix deferred
Red Hat Enterprise Linux 8grafanaFix pending
Fix deferred
Red Hat Enterprise Linux 8grafana-azure-monitorFix pending
Fix deferred
Red Hat Enterprise Linux 8grafana-cloudwatchFix pending
Fix deferred
Red Hat Enterprise Linux 8grafana-elasticsearchFix pending
Fix deferred
Red Hat Enterprise Linux 8grafana-graphiteFix pending
Fix deferred
Red Hat Enterprise Linux 8grafana-influxdbFix pending
Fix deferred
Red Hat Enterprise Linux 8grafana-lokiFix pending
Fix deferred
Red Hat Enterprise Linux 8grafana-mssqlFix pending
Fix deferred
Red Hat Enterprise Linux 8grafana-mysqlFix pending
Fix deferred
Red Hat Enterprise Linux 8grafana-opentsdbFix pending
Fix deferred
Red Hat Enterprise Linux 8grafana-postgresFix pending
Fix deferred
Red Hat Enterprise Linux 8grafana-prometheusFix pending
Fix deferred
Red Hat Enterprise Linux 8grafana-selinuxFix pending
Fix deferred
Red Hat Enterprise Linux 8grafana-stackdriverFix pending
Fix deferred
Red Hat Enterprise Linux 7antlr-C++Will not fix
Out of support scope
Red Hat Enterprise Linux 7antlr-C++-docWill not fix
Out of support scope
Red Hat Enterprise Linux 7antlr-javadocWill not fix
Out of support scope
Red Hat Enterprise Linux 7antlr-manualWill not fix
Out of support scope
Red Hat Enterprise Linux 7antlr-pythonWill not fix
Out of support scope
Red Hat Enterprise Linux 7antlr-toolWill not fix
Out of support scope
Red Hat Enterprise Linux 6antlrWill not fix
Out of support scope
Red Hat Enterprise Linux 6antlr-javadocWill not fix
Out of support scope
Red Hat Enterprise Linux 6antlr-manualWill not fix
Out of support scope

What the vendor says

As published in the CVE record by VulDB, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.