Skip to content
Heist/ feed
Back to feed
Low

antlr4 — security advisory

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

A flaw has been found in antlr ANTLR4 up to 4.13.2. This affects the function ObjectInputStream.readObject of the file antlr4-maven-plugin/src/main/java/org/antlr/mojo/antlr4/GrammarDependencies.java of the component Maven Plugin. This manipulation causes time-of-check time-of-use. The attack is restricted to local execution. A high degree of complexity is needed for the attack. It is indicated that the exploitability is difficult. The exploit has been published 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-13502
Confirmed fixed CVEs
Not specified
Updated in this feed
1 Nov 2026, 12:15 UTC · Revision 2

Source evidence

DEBIAN-CVE-2026-13502

core-osv · Original source

Published 28 Jun 2026, 15:16 UTC

A flaw has been found in antlr ANTLR4 up to 4.13.2. This affects the function ObjectInputStream.readObject of the file antlr4-maven-plugin/src/main/java/org/antlr/mojo/antlr4/GrammarDependencies.java of the component Maven Plugin. This manipulation causes time-of-check time-of-use. The attack is restricted to local execution. A high degree of complexity is needed for the attack. It is indicated that the exploitability is difficult. The exploit has been published and may be used. The vendor was contacted early about this disclosure but did not respond in any way.

osv:DEBIAN-CVE-2026-13502

antlr4

Fixed versions: Not specified

antlr4

Fixed versions: Not specified

antlr4

Fixed versions: Not specified

Complete source record
{
  "id": "369b07923512dcc8ee0328fc1024e6ff3293edd33cad5d4b8827b244d188f44a",
  "url": "https://osv.dev/vulnerability/DEBIAN-CVE-2026-13502",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "DEBIAN-CVE-2026-13502",
    "summary": "A flaw has been found in antlr ANTLR4 up to 4.13.2. This affects the function ObjectInputStream.readObject of the file antlr4-maven-plugin/src/main/java/org/antlr/mojo/antlr4/GrammarDependencies.java of the component Maven Plugin. This manipulation causes time-of-check time-of-use. The attack is restricted to local execution. A high degree of complexity is needed for the attack. It is indicated that the exploitability is difficult. The exploit has been published and may be used. The vendor was contacted early about this disclosure but did not respond in any way.",
    "evidence": "osv:DEBIAN-CVE-2026-13502",
    "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-13502",
      "aliases": [
        "DEBIAN-CVE-2026-13502"
      ],
      "metrics": [
        {
          "type": "CVSS_V4",
          "score": "CVSS:4.0/AV:L/AC:H/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-13502.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-13502.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-13502.json"
          },
          "ecosystem_specific": {
            "urgency": "not yet assigned"
          }
        }
      ],
      "modified": "2026-10-26T11:47:31.973153657Z",
      "provider": "osv",
      "upstream": [
        "CVE-2026-13502"
      ],
      "references": [
        "https://security-tracker.debian.org/tracker/CVE-2026-13502"
      ]
    },
    "related_cves": [
      {
        "value": "CVE-2026-13502",
        "evidence": "/upstream"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 450722,
  "published_at": "2026-06-28T15:16:53.15+00:00"
}