CVE-2026-14940 — 389-ds-base: 389-ds-base: heap-buffer-overflow in dn normalization via quoted multivalued rdn

A heap-buffer-overflow flaw was found in 389 Directory Server (389-ds-base). When normalizing a Distinguished Name (DN) that contains a legacy-quoted value encoding a multivalued nested Relative Distinguished Name (RDN), the server can write past the end of a heap allocation while sorting RDN attribute-value pairs. An unauthenticated remote attacker can trigger this condition by sending an LDAP operation whose DN reaches the DN normalization routine, such as a search with a crafted base DN. This can corrupt heap memory and may cause denial of service.

Published

CVSS 3.1 score 5.3 out of 10.

Reported versions and fixes

  • Source-reported product
  • Source-reported product
  • Source-reported product
  • Source-reported product
  • Source-reported product
  • Source-reported product
  • Source-reported product
  • Source-reported product
  • Source-reported product — Reported version range cpe:2.3:a:redhat:directory_server:11.0:*:*:*:*:*:*:*
  • Source-reported product — Reported version range cpe:2.3:a:redhat:directory_server:12.0:*:*:*:*:*:*:*
  • Source-reported product — Reported version range cpe:2.3:a:redhat:directory_server:13.0:*:*:*:*:*:*:*
  • Source-reported product — Reported version range cpe:2.3:o:redhat:389_directory_server:-:*:*:*:*:*:*:*

Source evidence