UBUNTU-CVE-2026-13502

Source
https://ubuntu.com/security/CVE-2026-13502
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-13502.json
JSON Data
https://api.osv.dev/v1/vulns/UBUNTU-CVE-2026-13502
Upstream
  • CVE-2026-13502
Published
2026-06-28T15:16:00Z
Modified
2026-06-29T23:15:20.428002518Z
Severity
  • 4.5 (Medium) CVSS_V3 - CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:L CVSS Calculator
  • 1.1 (Low) CVSS_V4 - 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 CVSS Calculator
  • Ubuntu - medium
Summary
[none]
Details

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.

References

Affected packages

Ubuntu:16.04:LTS
antlr4

Package

Name
antlr4
Purl
pkg:deb/ubuntu/antlr4?arch=source&distro=xenial

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

4.*
4.5.1-1
4.5.1-2

Ecosystem specific

{
    "binaries": [
        {
            "binary_name": "antlr4",
            "binary_version": "4.5.1-2"
        },
        {
            "binary_name": "antlr4-maven-plugin",
            "binary_version": "4.5.1-2"
        },
        {
            "binary_name": "libantlr4-runtime-java",
            "binary_version": "4.5.1-2"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-13502.json"
Ubuntu:18.04:LTS
antlr4

Package

Name
antlr4
Purl
pkg:deb/ubuntu/antlr4?arch=source&distro=bionic

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

4.*
4.5.3-2
4.7.2-1~18.04

Ecosystem specific

{
    "binaries": [
        {
            "binary_name": "antlr4",
            "binary_version": "4.7.2-1~18.04"
        },
        {
            "binary_name": "antlr4-maven-plugin",
            "binary_version": "4.7.2-1~18.04"
        },
        {
            "binary_name": "libantlr4-runtime-java",
            "binary_version": "4.7.2-1~18.04"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-13502.json"
Ubuntu:20.04:LTS
antlr4

Package

Name
antlr4
Purl
pkg:deb/ubuntu/antlr4?arch=source&distro=focal

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

4.*
4.7.2-1
4.7.2-2

Ecosystem specific

{
    "binaries": [
        {
            "binary_name": "antlr4",
            "binary_version": "4.7.2-2"
        },
        {
            "binary_name": "antlr4-maven-plugin",
            "binary_version": "4.7.2-2"
        },
        {
            "binary_name": "libantlr4-runtime-java",
            "binary_version": "4.7.2-2"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-13502.json"
Ubuntu:22.04:LTS
antlr4

Package

Name
antlr4
Purl
pkg:deb/ubuntu/antlr4?arch=source&distro=jammy

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

4.*
4.7.2-5

Ecosystem specific

{
    "binaries": [
        {
            "binary_name": "antlr4",
            "binary_version": "4.7.2-5"
        },
        {
            "binary_name": "antlr4-maven-plugin",
            "binary_version": "4.7.2-5"
        },
        {
            "binary_name": "libantlr4-runtime-java",
            "binary_version": "4.7.2-5"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-13502.json"
Ubuntu:24.04:LTS
antlr4

Package

Name
antlr4
Purl
pkg:deb/ubuntu/antlr4?arch=source&distro=noble

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

4.*
4.7.2-5
4.9.2-2

Ecosystem specific

{
    "binaries": [
        {
            "binary_name": "antlr4",
            "binary_version": "4.9.2-2"
        },
        {
            "binary_name": "antlr4-maven-plugin",
            "binary_version": "4.9.2-2"
        },
        {
            "binary_name": "libantlr4-runtime-java",
            "binary_version": "4.9.2-2"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-13502.json"
Ubuntu:25.10
antlr4

Package

Name
antlr4
Purl
pkg:deb/ubuntu/antlr4?arch=source&distro=questing

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

4.*
4.9.2-3

Ecosystem specific

{
    "binaries": [
        {
            "binary_name": "antlr4",
            "binary_version": "4.9.2-3"
        },
        {
            "binary_name": "antlr4-maven-plugin",
            "binary_version": "4.9.2-3"
        },
        {
            "binary_name": "libantlr4-runtime-java",
            "binary_version": "4.9.2-3"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-13502.json"
Ubuntu:26.04:LTS
antlr4

Package

Name
antlr4
Purl
pkg:deb/ubuntu/antlr4?arch=source&distro=resolute

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

4.*
4.9.2-3
4.9.2-3build1

Ecosystem specific

{
    "binaries": [
        {
            "binary_name": "antlr4",
            "binary_version": "4.9.2-3build1"
        },
        {
            "binary_name": "antlr4-maven-plugin",
            "binary_version": "4.9.2-3build1"
        },
        {
            "binary_name": "libantlr4-runtime-java",
            "binary_version": "4.9.2-3build1"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-13502.json"