UBUNTU-CVE-2026-13503

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

A vulnerability was detected in antlr ANTLR4 up to 4.13.2. Affected by this issue is the function getImportedVocabFile of the file tool/src/org/antlr/v4/parse/TokenVocabParser.java of the component tokenVocab Grammar Option Handler. The manipulation results in path traversal. The attack can be executed remotely. The exploit is now public 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-13503.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-13503.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-13503.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-13503.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-13503.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-13503.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-13503.json"