CVEfocus › CVE database › CVE-2026-13502

CVE-2026-13502antlr ANTLR4 Maven Plugin GrammarDependencies.java ObjectInputStream.readObject toctou

CVSS 4.5 MediumEPSS 0.1% (higher than 0% of CVEs)Published 2026-06-28Updated 2026-06-29Assigner: VulDB

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.

CWE-362CWE-367

What to do

Debian, Ubuntu have not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

7Fix pending
3Under investigation
1Will not fix

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 26.10antlr4Fix pendingUBUNTU-CVE-2026-13502
Ubuntu 26.04antlr4Under investigationUBUNTU-CVE-2026-13502
Ubuntu 25.10antlr4Will not fix
Ubuntu decided not to fix this in this release
UBUNTU-CVE-2026-13502
Ubuntu 24.04antlr4Under investigationUBUNTU-CVE-2026-13502
Ubuntu 22.04antlr4Under investigationUBUNTU-CVE-2026-13502
Ubuntu 20.04antlr4Fix pendingUBUNTU-CVE-2026-13502
Ubuntu 18.04antlr4Fix pendingUBUNTU-CVE-2026-13502
Ubuntu 16.04antlr4Fix pendingUBUNTU-CVE-2026-13502
Debian 14antlr4Fix pendingDEBIAN-CVE-2026-13502
Debian 13antlr4Fix pendingDEBIAN-CVE-2026-13502
Debian 12antlr4Fix pendingDEBIAN-CVE-2026-13502

What the vendor says

As published in the CVE record by VulDB, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.