CVE-2026-13502
MEDIUM
4.5
CVSS 3.1
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.
Metadata
Severity & Metrics
4.5
MEDIUM CVSS 3.1
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:L/E:P/RL:X/RC:R
Affected products (1)
| Vendor | Product | Platform | Versions |
|---|---|---|---|
| antlr | ANTLR4 | — | 4.13.0, 4.13.1, 4.13.2 |
Weakness (CWE)
CVSS scores (4)
| Score | Severity | Version | Source | Vector |
|---|---|---|---|---|
| 4.5 | MEDIUM | 3.1 | cna | CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:L/E:P/RL:X/RC:R |
| 4.5 | MEDIUM | 3.0 | cna | CVSS:3.0/AV:L/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:L/E:P/RL:X/RC:R |
| 3.5 | N/D | 2.0 | cna | AV:L/AC:H/Au:S/C:P/I:P/A:P/E:POC/RL:ND/RC:UR |
| 2.0 | LOW | 4.0 | cna | 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 |
References (5)
- VDB-374498 | antlr ANTLR4 Maven Plugin GrammarDependencies.java ObjectInputStream.readObject toctou https://vuldb.com/vuln/374498
- VDB-374498 | CTI Indicators (IOB, IOC, IOA) https://vuldb.com/vuln/374498/cti
- CVE-2026-13502 | CVE Analysis and Report https://vuldb.com/cve/CVE-2026-13502
- Submit #838685 | antlr ANTLR4 4.13.2 Unsafe Java Deserialization Maven Plugin https://vuldb.com/submit/838685
- https://github.com/wooyun123/wooyun/issues/7