Bug 2517520

Summary: CVE-2026-13503 antlr3: antlr ANTLR4: Path traversal via manipulation of getImportedVocabFile function [fedora-all]
Product: [Fedora] Fedora Reporter: Ganesh <gnaik>
Component: antlr3Assignee: Jerry James <loganjerry>
Status: CLOSED NOTABUG QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: medium    
Version: rawhideCC: dchen, java-sig-commits, loganjerry, mizdebsk, mkoncek, walters
Target Milestone: ---Keywords: Security, SecurityTracking
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: {"flaws": ["b60b9e3c-a459-4271-9161-9985b7197ae3"]}
Fixed In Version: Doc Type: ---
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2026-08-18 02:03:17 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-08-17 17:59:16 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-08-18 02:03:17 UTC
This bug was filed against the wrong component.  It affects ANTLR v4, and therefore should have been filed against the antlr4-project component.  But the bug has already been fixed in the antlr4-project package, so I am closing this one.