Vulnerability · Published Jun 28, 2026 · Assigned by VulDB

CVE-2026-13500antlr ANTLR4 Grammar Action Block OutputFile.java code injection

High 7.3

In plain English

A high-severity code injection in ANTLR4 from antlr. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.5% (higher than 44% of all known vulnerabilities).

Severity (CVSS 3.1)7.3High
Exploit odds (30 days)0.5%top 55.9% of all CVEs
Exploited in the wildNo reportsCISA SSVC: poc
Attack toolingNoneno public tooling known

Official description

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.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
Debian:12antlr4no fix listedDEBIAN-CVE-2026-13500
Debian:13antlr4no fix listedDEBIAN-CVE-2026-13500
Debian:14antlr4no fix listedDEBIAN-CVE-2026-13500
Ubuntu:22.04:LTSantlr4no fix listedUBUNTU-CVE-2026-13500
Ubuntu:24.04:LTSantlr4no fix listedUBUNTU-CVE-2026-13500
Ubuntu:25.10antlr4no fix listedUBUNTU-CVE-2026-13500
Ubuntu:26.04:LTSantlr4no fix listedUBUNTU-CVE-2026-13500
Ubuntu:26.10antlr4no fix listedUBUNTU-CVE-2026-13500

Affected products (as reported)

VendorProductVersions
antlr ANTLR4 4.13.04.13.14.13.2

Weakness: CWE-94, CWE-74 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L/E:P/RL:X/RC:R

References