UBUNTU-CVE-2026-13500

Source
https://ubuntu.com/security/CVE-2026-13500
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-13500.json
JSON Data
https://api.osv.dev/v1/vulns/UBUNTU-CVE-2026-13500
Upstream
  • CVE-2026-13500
Published
2026-06-28T15:16:00Z
Modified
2026-06-29T23:15:19.949223651Z
Severity
  • 7.3 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L CVSS Calculator
  • 5.5 (Medium) CVSS_V4 - CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P CVSS Calculator
  • Ubuntu - medium
Summary
[none]
Details

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.

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-13500.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-13500.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-13500.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-13500.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-13500.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-13500.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-13500.json"