{"id":"CVE-2026-13501","title":"A security vulnerability has been detected in antlr ANTLR4 up to 4.13.2","summary":"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 lead…","severity":"medium","cvss":5.3,"cvssVector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L","cwe":["CWE-74","CWE-77","CWE-78"],"published":"2026-06-28","updated":"2026-06-28","source":"NVD","sourceUrl":"https://nvd.nist.gov/vuln/detail/CVE-2026-13501","references":[{"url":"https://github.com/wooyun123/wooyun/issues/6","label":"cna@vuldb.com"},{"url":"https://vuldb.com/cve/CVE-2026-13501","label":"cna@vuldb.com"},{"url":"https://vuldb.com/submit/838569","label":"cna@vuldb.com"},{"url":"https://vuldb.com/vuln/374496","label":"cna@vuldb.com"},{"url":"https://vuldb.com/vuln/374496/cti","label":"cna@vuldb.com"},{"url":"https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-13501.json"},{"url":"https://access.redhat.com/security/cve/CVE-2026-13501"},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2493993"},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-13501"},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-13501"}],"tags":["nvd","csaf","vex","red-hat"],"ingestedAt":"2026-06-29T13:42:12.020Z","epss":0.0118,"epssPercentile":0.67525,"vendor":"Red Hat","slug":"CVE-2026-13501","body":"## Overview\n\nA 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.\n\n## Remediation\n\nRefer to the linked advisories for vendor-supplied fixes and affected version ranges.\n\n## Vendor advisories\n\n- **Red Hat VEX** · Moderate · updated 2026-10-02 · [vex](https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-13501.json)","depth":"sunlit","depthScore":29,"depthScoreParts":{"impact":29.2,"likelihood":0.2,"exploitation":0,"ransomware":0},"changes":[]}