---
id: CVE-2026-13500
title: A weakness has been identified in antlr ANTLR4 up to 4.13.2
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…
severity: high
cvss: 7.3
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L'
cwe:
  - CWE-74
  - CWE-94
published: '2026-06-28'
updated: '2026-06-28'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-13500'
references:
  - url: 'https://github.com/wooyun123/wooyun/issues/4'
    label: cna@vuldb.com
  - url: 'https://vuldb.com/cve/CVE-2026-13500'
    label: cna@vuldb.com
  - url: 'https://vuldb.com/submit/838568'
    label: cna@vuldb.com
  - url: 'https://vuldb.com/vuln/374495'
    label: cna@vuldb.com
  - url: 'https://vuldb.com/vuln/374495/cti'
    label: cna@vuldb.com
tags:
  - nvd
ingestedAt: '2026-06-29T13:42:12.018Z'
epss: 0.00516
epssPercentile: 0.41486
---

## Overview

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.

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
