CVE Vulnerabilities

CVE-2017-9287

Double Free

Published: May 29, 2017 | Modified: Apr 20, 2025
CVSS 3.x
6.5
MEDIUM
Source:
NVD
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
CVSS 2.x
4 MEDIUM
AV:N/AC:L/Au:S/C:N/I:N/A:P
RedHat/V2
RedHat/V3
6.5 MODERATE
CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Ubuntu
MEDIUM
root.io logo minimus.io logo echo.ai logo

servers/slapd/back-mdb/search.c in OpenLDAP through 2.4.44 is prone to a double free vulnerability. A user with access to search the directory can crash slapd by issuing a search including the Paged Results control with a page size of 0.

Weakness

The product calls free() twice on the same memory address.

Affected Software

NameVendorStart VersionEnd Version
OpenldapOpenldap*2.4.44 (including)
Red Hat Enterprise Linux 7RedHatopenldap-0:2.4.44-5.el7*
OpenldapUbuntuesm-infra-legacy/trusty*
OpenldapUbuntuesm-infra/xenial*
OpenldapUbuntutrusty*
OpenldapUbuntutrusty/esm*
OpenldapUbuntuupstream*
OpenldapUbuntuvivid/stable-phone-overlay*
OpenldapUbuntuvivid/ubuntu-core*
OpenldapUbuntuxenial*
OpenldapUbuntuyakkety*
OpenldapUbuntuzesty*

Potential Mitigations

References