Skip to content
Heist/ feed
Back to feed
Low

antlr4 — security advisory

Type: advisorySources: OSVAdvisory ID: DEBIAN-CVE-2026-13501

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.

Products
antlr4
Affected versions
4.7.2-5, 4.9.2-1, 4.9.2-2, 4.9.2-3
Fixed versions
Not specified
CVEs
CVE-2026-13501
Confirmed fixed CVEs
Not specified
Updated in this feed
1 Nov 2026, 12:15 UTC · Revision 2

Source evidence

DEBIAN-CVE-2026-13501

core-osv · Original source

Published 28 Jun 2026, 15:16 UTC

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.

osv:DEBIAN-CVE-2026-13501

antlr4

Fixed versions: Not specified

antlr4

Fixed versions: Not specified

antlr4

Fixed versions: Not specified

Complete source record
{
  "id": "ef557b83a0a684a1e9f26c87086bcc82d4b0a11ca9ee0fadfcb36db0446b6323",
  "url": "https://osv.dev/vulnerability/DEBIAN-CVE-2026-13501",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "DEBIAN-CVE-2026-13501",
    "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 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.",
    "evidence": "osv:DEBIAN-CVE-2026-13501",
    "products": [
      {
        "name": {
          "value": "antlr4",
          "evidence": "/affected/0/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "4.7.2-5",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "4.9.2-1",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "4.9.2-2",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "4.9.2-3",
            "evidence": "/affected/0/versions"
          }
        ]
      },
      {
        "name": {
          "value": "antlr4",
          "evidence": "/affected/1/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "4.9.2-3",
            "evidence": "/affected/1/versions"
          }
        ]
      },
      {
        "name": {
          "value": "antlr4",
          "evidence": "/affected/2/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "4.9.2-3",
            "evidence": "/affected/2/versions"
          }
        ]
      }
    ],
    "severity": "low",
    "structured": {
      "id": "DEBIAN-CVE-2026-13501",
      "aliases": [
        "DEBIAN-CVE-2026-13501"
      ],
      "metrics": [
        {
          "type": "CVSS_V4",
          "score": "CVSS: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/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "antlr4",
            "purl": "pkg:deb/debian/antlr4?arch=source&distro=bookworm",
            "ecosystem": "Debian:12"
          },
          "versions": [
            "4.7.2-5",
            "4.9.2-1",
            "4.9.2-2",
            "4.9.2-3"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-13501.json"
          },
          "ecosystem_specific": {
            "urgency": "not yet assigned"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "antlr4",
            "purl": "pkg:deb/debian/antlr4?arch=source&distro=trixie",
            "ecosystem": "Debian:13"
          },
          "versions": [
            "4.9.2-3"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-13501.json"
          },
          "ecosystem_specific": {
            "urgency": "not yet assigned"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "antlr4",
            "purl": "pkg:deb/debian/antlr4?arch=source&distro=forky",
            "ecosystem": "Debian:14"
          },
          "versions": [
            "4.9.2-3"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-13501.json"
          },
          "ecosystem_specific": {
            "urgency": "not yet assigned"
          }
        }
      ],
      "modified": "2026-10-26T11:47:28.927216445Z",
      "provider": "osv",
      "upstream": [
        "CVE-2026-13501"
      ],
      "references": [
        "https://security-tracker.debian.org/tracker/CVE-2026-13501"
      ]
    },
    "related_cves": [
      {
        "value": "CVE-2026-13501",
        "evidence": "/upstream"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 450723,
  "published_at": "2026-06-28T15:16:52.967+00:00"
}