Skip to content

CVE-2026-13500 antlr ANTLR4 Grammar Action Block OutputFile.java code injection

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

Description

A weakness has been identified in antlr ANTLR4 up to 4.13.2. Affected is an unknown function of the file tool/src/org/antlr/v4/codegen/model/OutputFile.java of the component Grammar Action Block Handler. Executing a manipulation can lead to code injection. The attack may be launched remotely. The exploit has been made available to the public and could be used for attacks. The vendor was contacted early about this disclosure but did not respond in any way.

Upgrade path

8 packages: 0 fixed, 7 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
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
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
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

References