Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1359 CNY

100%

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

Quick assessment

Affected
antlr ANTLR4
Exploitation
No confirmed in-the-wild exploitation; assess based on exposure
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

ANTLR ANTLR是ANTLR团队的一款语法解析器生成框架。 ANTLR 4.13.2及之前版本存在竞争条件问题漏洞,该漏洞源于Maven Plugin组件中ObjectInputStream.readObject函数导致竞争条件(TOCTOU)问题。

CVSS 4.5 · Medium EPSS 0.11% · P1

Possible ATT&CK Techniques 1 AI

T1190 · Exploit Public-Facing Application

Affected Version Matrix 3

VendorProduct Version RangeStatus
antlr ANTLR4 4.13.0 affected
4.13.1 affected
4.13.2 affected
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2026-13502

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
antlr ANTLR4 Maven Plugin GrammarDependencies.java ObjectInputStream.readObject toctou
Source: CVE Program / CVE List V5
Vulnerability Description
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.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:L
Source: CVE Program / CVE List V5
Vulnerability Type
检查时间与使用时间(TOCTOU)的竞争条件
Source: CVE Program / CVE List V5
Vulnerability Title
ANTLR 竞争条件问题漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
ANTLR ANTLR是ANTLR团队的一款语法解析器生成框架。 ANTLR 4.13.2及之前版本存在竞争条件问题漏洞,该漏洞源于Maven Plugin组件中ObjectInputStream.readObject函数导致竞争条件(TOCTOU)问题。
Source: CNNVD (China National Vulnerability Database)
CVSS Information
N/A
Source: CNNVD (China National Vulnerability Database)
Vulnerability Type
N/A
Source: CNNVD (China National Vulnerability Database)

Affected Products

Vendor Product Affected Versions CPE Subscribe
antlr ANTLR4 4.13.0 cpe:2.3:a:antlr:antlr4:*:*:*:*:*:*:*:*

II. Public POCs for CVE-2026-13502

# POC Description Source Link Shenlong Link
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2026-13502

请登录查看更多情报信息。

Proof of Concept for CVE-2026-13502 (1)

Same Patch Batch · antlr · 2026-06-28 · 4 CVEs total

CVE-2026-13500 7.3 HIGH antlr ANTLR4 Grammar Action Block OutputFile.java code injection
CVE-2026-13501 5.3 MEDIUM antlr ANTLR4 gofmt GoTarget.java GoTarget command injection
CVE-2026-13503 5.3 MEDIUM antlr ANTLR4 tokenVocab Grammar Option TokenVocabParser.java getImportedVocabFile path tra

IV. Related Vulnerabilities

V. Comments for CVE-2026-13502

No comments yet


Leave a comment