Skip to content

CVE-2026-13501 antlr ANTLR4 gofmt GoTarget.java GoTarget command injection

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

Description

A security vulnerability has been detected in antlr ANTLR4 up to 4.13.2. Affected by this vulnerability is the function GoTarget of the file tool/src/org/antlr/v4/codegen/target/GoTarget.java of the component gofmt. The manipulation leads to command injection. The attack can only be performed from a local environment. The exploit has been disclosed publicly and may be used. 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