Bug 2494757

Summary: CVE-2026-13503 ANTLR4: Path traversal via manipulation of getImportedVocabFile function [fedora-all]
Product: [Fedora] Fedora Reporter: Ganesh <gnaik>
Component: antlr4-projectAssignee: Jerry James <loganjerry>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: medium    
Version: rawhideCC: dchen, epel-packagers-sig, go-sig, java-sig-commits, loganjerry, michel, mizdebsk, mkoncek, walters
Target Milestone: ---Keywords: Security, SecurityTracking
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: {"flaws": ["b60b9e3c-a459-4271-9161-9985b7197ae3"]}
Fixed In Version: antlr4-project-4.13.2-14.fc43 antlr4-project-4.13.2-18.fc44 Doc Type: ---
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2026-07-19 03:56:10 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 2493994    

Description Ganesh 2026-06-30 06:13:00 UTC
Disclaimer: Community trackers are created by Red Hat Product Security team on a best effort basis. Package maintainers are required to ascertain if the flaw indeed affects their package, before starting the update process.

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.

Comment 1 Jerry James 2026-07-10 21:40:54 UTC
This bug was incorrectly filed against antlr3.  The bug is in antlr v4; i.e., the antlr4-project package.  Changing components.

Comment 2 Fedora Update System 2026-07-10 22:18:42 UTC
FEDORA-2026-619f648cde (antlr4-project-4.13.2-18.fc44) has been submitted as an update to Fedora 44.
https://bodhi.fedoraproject.org/updates/FEDORA-2026-619f648cde

Comment 3 Fedora Update System 2026-07-10 22:18:43 UTC
FEDORA-2026-d9ca28a7b8 (antlr4-project-4.13.2-14.fc43) has been submitted as an update to Fedora 43.
https://bodhi.fedoraproject.org/updates/FEDORA-2026-d9ca28a7b8

Comment 4 Fedora Update System 2026-07-11 01:34:58 UTC
FEDORA-2026-619f648cde has been pushed to the Fedora 44 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2026-619f648cde`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2026-619f648cde

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 5 Fedora Update System 2026-07-11 01:48:03 UTC
FEDORA-2026-d9ca28a7b8 has been pushed to the Fedora 43 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2026-d9ca28a7b8`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2026-d9ca28a7b8

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 6 Fedora Update System 2026-07-19 03:56:10 UTC
FEDORA-2026-d9ca28a7b8 (antlr4-project-4.13.2-14.fc43) has been pushed to the Fedora 43 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 7 Fedora Update System 2026-07-19 05:47:36 UTC
FEDORA-2026-619f648cde (antlr4-project-4.13.2-18.fc44) has been pushed to the Fedora 44 stable repository.
If problem still persists, please make note of it in this bug report.