Skip to content
Heist/ feed
Back to feed
Medium

antlr4 — security advisory

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

A weakness has been identified in antlr ANTLR4 up to 4.13.2. Affected is an unknown function of the file tool/src/org/antlr/v4/codegen/model/OutputFile.java of the component Grammar Action Block Handler. Executing a manipulation can lead to code injection. The attack may be launched remotely. The exploit has been made available to the public and could be used for attacks. 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-13500
Confirmed fixed CVEs
Not specified
Updated in this feed
1 Nov 2026, 12:15 UTC · Revision 2

Source evidence

DEBIAN-CVE-2026-13500

core-osv · Original source

Published 28 Jun 2026, 15:16 UTC

A weakness has been identified in antlr ANTLR4 up to 4.13.2. Affected is an unknown function of the file tool/src/org/antlr/v4/codegen/model/OutputFile.java of the component Grammar Action Block Handler. Executing a manipulation can lead to code injection. The attack may be launched remotely. The exploit has been made available to the public and could be used for attacks. The vendor was contacted early about this disclosure but did not respond in any way.

osv:DEBIAN-CVE-2026-13500

antlr4

Fixed versions: Not specified

antlr4

Fixed versions: Not specified

antlr4

Fixed versions: Not specified

Complete source record
{
  "id": "015760f13ffc0a914561844e64f6aea29532c839b2e1bb4fd9fead61eb1a5d21",
  "url": "https://osv.dev/vulnerability/DEBIAN-CVE-2026-13500",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "DEBIAN-CVE-2026-13500",
    "summary": "A weakness has been identified in antlr ANTLR4 up to 4.13.2. Affected is an unknown function of the file tool/src/org/antlr/v4/codegen/model/OutputFile.java of the component Grammar Action Block Handler. Executing a manipulation can lead to code injection. The attack may be launched remotely. The exploit has been made available to the public and could be used for attacks. The vendor was contacted early about this disclosure but did not respond in any way.",
    "evidence": "osv:DEBIAN-CVE-2026-13500",
    "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": "medium",
    "structured": {
      "id": "DEBIAN-CVE-2026-13500",
      "aliases": [
        "DEBIAN-CVE-2026-13500"
      ],
      "metrics": [
        {
          "type": "CVSS_V4",
          "score": "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/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-13500.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-13500.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-13500.json"
          },
          "ecosystem_specific": {
            "urgency": "not yet assigned"
          }
        }
      ],
      "modified": "2026-10-26T11:47:26.732223170Z",
      "provider": "osv",
      "upstream": [
        "CVE-2026-13500"
      ],
      "references": [
        "https://security-tracker.debian.org/tracker/CVE-2026-13500"
      ]
    },
    "related_cves": [
      {
        "value": "CVE-2026-13500",
        "evidence": "/upstream"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 450724,
  "published_at": "2026-06-28T15:16:51.973+00:00"
}