Apache Directory LDAP API: Denial of service via excessive memory allocation in BER decode (Apache Software Foundation Apache Directory LDAP API)

CVE-2026-102731
HIGH 7.5

En bref

Source
NVD
EPSS
EPSS 0.41 % · centile 38 ()
État
PUBLISHED
Publiée
Mise à jour
Attribuée par
apache
Produits affectés
Apache Software Foundation · Apache Directory LDAP API
Statut NVD
Deferred

Description

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.

Faiblesses (CWE)

  • CWE-789 — Allocation mémoire d'une taille excessive

Crédits

  • Claude Security outil
  • The Apache Software Foundation découverte

Références

Scores

VersionScoreVecteurÉvalué par
CVSS 3.1HIGH 7.5CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:HCISA-ADP
CVSS 3.1HIGH 7.5CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:HNVD · 134c704f-9b21-4f2e-91b3-4a467353bcc0 (Secondary)

Références européennes

Avis du CERT-FR

Produits affectés

ProduitVersions affectées
Apache Software Foundation · Apache Directory LDAP API
org.apache.directory.api:api-asn1-ber
affectée : ≥ 1.2.0 < 1.2.9
Autres versions : non affectée

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
CERT-FR (ANSSI)Licence Ouverte / Etalab 2.0
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD