UBUNTU-CVE-2026-102731

Source
https://ubuntu.com/security/CVE-2026-102731
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-102731.json
JSON Data
https://api.osv.dev/v1/vulns/UBUNTU-CVE-2026-102731
Upstream
  • CVE-2026-102731
Published
2026-10-05T00:00:00Z
Modified
2026-10-05T13:04:12Z
Severity
  • Ubuntu - medium
Summary
[none]
Details

Memory allocation with excessive size value vulnerability in Apache Directory LDAP API. A malicious peer (or a MITM) can send a small BER-encoded response causing a large memory allocation before any data is received. This can lead to an OutOfMemoryError and denial of service. The client JVM OOMs (OutOfMemoryError bypasses the DecoderException handlers) or pins the large allocation per connection while the attacker stalls. A handful of connections exhausts any heap. The same bytes from an unauthenticated pre-bind client hit any embedding server that did not set MAX_PDU_SIZE_ATTR. This issue affects Apache Directory LDAP API: from 1.2.0 before 1.2.9. Users are recommended to upgrade to version 1.2.9, which fixes the issue.

References

Affected packages

Ubuntu:16.04:LTS
apache-directory-api

Package

Name
apache-directory-api
Purl
pkg:deb/ubuntu/apache-directory-api?arch=source&distro=xenial

Affected ranges

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

Affected versions

1.*
1.0.0~M20-3

Ecosystem specific

{
    "binaries":  [
        {
            "binary_name":  "libapache-directory-api-java",
            "binary_version":  "1.0.0~M20-3"
        }
    ]
}

Database specific

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

Package

Name
apache-directory-api
Purl
pkg:deb/ubuntu/apache-directory-api?arch=source&distro=bionic

Affected ranges

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

Affected versions

1.*
1.0.0~M20-5
1.0.0-1

Ecosystem specific

{
    "binaries":  [
        {
            "binary_name":  "libapache-directory-api-java",
            "binary_version":  "1.0.0-1"
        }
    ]
}

Database specific

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

Package

Name
apache-directory-api
Purl
pkg:deb/ubuntu/apache-directory-api?arch=source&distro=focal

Affected ranges

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

Affected versions

1.*
1.0.0-1

Ecosystem specific

{
    "binaries":  [
        {
            "binary_name":  "libapache-directory-api-java",
            "binary_version":  "1.0.0-1"
        }
    ]
}

Database specific

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

Package

Name
apache-directory-api
Purl
pkg:deb/ubuntu/apache-directory-api?arch=source&distro=jammy

Affected ranges

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

Affected versions

1.*
1.0.0-2

Ecosystem specific

{
    "binaries":  [
        {
            "binary_name":  "libapache-directory-api-java",
            "binary_version":  "1.0.0-2"
        }
    ]
}

Database specific

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

Package

Name
apache-directory-api
Purl
pkg:deb/ubuntu/apache-directory-api?arch=source&distro=noble

Affected ranges

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

Affected versions

2.*
2.1.2-1

Ecosystem specific

{
    "binaries":  [
        {
            "binary_name":  "libapache-directory-api-java",
            "binary_version":  "2.1.2-1"
        }
    ]
}

Database specific

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

Package

Name
apache-directory-api
Purl
pkg:deb/ubuntu/apache-directory-api?arch=source&distro=resolute

Affected ranges

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

Affected versions

2.*
2.1.2-2
2.1.2-2build1

Ecosystem specific

{
    "binaries":  [
        {
            "binary_name":  "libapache-directory-api-java",
            "binary_version":  "2.1.2-2build1"
        }
    ]
}

Database specific

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