CVE-2026-13501
JSON

4.8medium

antlr ANTLR4 gofmt GoTarget.java GoTarget command injection

Severity
4.8medium CVSS:4.0 by VulDB
Exploit likelihood
1.01% (higher than 64% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
VulDB

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.

Affected

Product or packageVersionsReported by
antlr ANTLR44.13.0, 4.13.1, 4.13.2CVE List

All scores

VulDB4.8medium CVSS:4.0CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P
VulDB5.3medium CVSS:3.1CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L/E:P/RL:X/RC:R
VulDB5.3medium CVSS:3.0CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L/E:P/RL:X/RC:R
VulDB4.3medium CVSS:2.0AV:L/AC:L/Au:S/C:P/I:P/A:P/E:POC/RL:ND/RC:UR

Classification

CWE-74CWE-77

SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial.

What each source says

CVE List

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.

NVD (es)

Se ha detectado una vulnerabilidad de seguridad en antlr ANTLR4 hasta la versión 4.13.2. Afectada por esta vulnerabilidad es la función GoTarget del archivo tool/src/org/antlr/v4/codegen/target/GoTarget.java del componente gofmt. La manipulación conduce a inyección de comandos. El ataque solo puede realizarse desde un entorno local. El exploit ha sido divulgado públicamente y puede ser utilizado. El proveedor fue contactado tempranamente sobre esta divulgación pero no respondió de ninguna manera.

References

https://vuldb.com/vuln/374496technical-description, vdb-entry
https://vuldb.com/vuln/374496/ctipermissions-required, signature
https://vuldb.com/cve/CVE-2026-13501third-party-advisory
https://vuldb.com/submit/838569third-party-advisory
https://github.com/wooyun123/wooyun/issues/6exploit, issue-tracking

Sources

SourceRecordLicence
CVE ListCVE-2026-13501 changed 2026-06-29CVE Terms of Use
NVDCVE-2026-13501 changed 2026-10-25Public domain