CVEfocus › CVE database › CVE-2026-13501

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

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

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.

CWE-74CWE-77

What to do

Debian, 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

7Fix pending
3Under investigation
1Will 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-13501
Ubuntu 26.04antlr4Under investigationUBUNTU-CVE-2026-13501
Ubuntu 25.10antlr4Will not fix
Ubuntu decided not to fix this in this release
UBUNTU-CVE-2026-13501
Ubuntu 24.04antlr4Under investigationUBUNTU-CVE-2026-13501
Ubuntu 22.04antlr4Under investigationUBUNTU-CVE-2026-13501
Ubuntu 20.04antlr4Fix pendingUBUNTU-CVE-2026-13501
Ubuntu 18.04antlr4Fix pendingUBUNTU-CVE-2026-13501
Ubuntu 16.04antlr4Fix pendingUBUNTU-CVE-2026-13501
Debian 14antlr4Fix pendingDEBIAN-CVE-2026-13501
Debian 13antlr4Fix pendingDEBIAN-CVE-2026-13501
Debian 12antlr4Fix pendingDEBIAN-CVE-2026-13501

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.