{"id":"UBUNTU-CVE-2023-2953","details":"A vulnerability was found in openldap. This security flaw causes a null pointer dereference in ber_memalloc_x() function.","modified":"2026-04-22T14:05:02.958788Z","published":"2023-05-30T22:15:00Z","related":["USN-6197-1","USN-6616-1"],"upstream":["CVE-2023-2953"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2023-2953"},{"type":"ADVISORY","url":"https://ubuntu.com/security/notices/USN-6197-1"},{"type":"ADVISORY","url":"https://ubuntu.com/security/notices/USN-6616-1"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2023-2953"}],"affected":[{"package":{"name":"openldap","ecosystem":"Ubuntu:Pro:14.04:LTS","purl":"pkg:deb/ubuntu/openldap@2.4.31-1+nmu2ubuntu8.5+esm6?arch=source&distro=trusty/esm"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.4.31-1+nmu2ubuntu8.5+esm6"}]}],"versions":["2.4.31-1+nmu2ubuntu3","2.4.31-1+nmu2ubuntu4","2.4.31-1+nmu2ubuntu5","2.4.31-1+nmu2ubuntu8","2.4.31-1+nmu2ubuntu8.1","2.4.31-1+nmu2ubuntu8.2","2.4.31-1+nmu2ubuntu8.3","2.4.31-1+nmu2ubuntu8.4","2.4.31-1+nmu2ubuntu8.5","2.4.31-1+nmu2ubuntu8.5+esm1","2.4.31-1+nmu2ubuntu8.5+esm2","2.4.31-1+nmu2ubuntu8.5+esm3","2.4.31-1+nmu2ubuntu8.5+esm4","2.4.31-1+nmu2ubuntu8.5+esm5"],"ecosystem_specific":{"binaries":[{"binary_version":"2.4.31-1+nmu2ubuntu8.5+esm6","binary_name":"ldap-utils"},{"binary_version":"2.4.31-1+nmu2ubuntu8.5+esm6","binary_name":"libldap-2.4-2"},{"binary_version":"2.4.31-1+nmu2ubuntu8.5+esm6","binary_name":"slapd"},{"binary_version":"2.4.31-1+nmu2ubuntu8.5+esm6","binary_name":"slapd-smbk5pwd"}],"availability":"Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro"},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2023/UBUNTU-CVE-2023-2953.json"}},{"package":{"name":"openldap","ecosystem":"Ubuntu:Pro:16.04:LTS","purl":"pkg:deb/ubuntu/openldap@2.4.42+dfsg-2ubuntu3.13+esm2?arch=source&distro=esm-infra/xenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.4.42+dfsg-2ubuntu3.13+esm2"}]}],"versions":["2.4.41+dfsg-1ubuntu2","2.4.41+dfsg-1ubuntu3","2.4.42+dfsg-2ubuntu1","2.4.42+dfsg-2ubuntu3","2.4.42+dfsg-2ubuntu3.1","2.4.42+dfsg-2ubuntu3.2","2.4.42+dfsg-2ubuntu3.3","2.4.42+dfsg-2ubuntu3.4","2.4.42+dfsg-2ubuntu3.5","2.4.42+dfsg-2ubuntu3.6","2.4.42+dfsg-2ubuntu3.7","2.4.42+dfsg-2ubuntu3.8","2.4.42+dfsg-2ubuntu3.9","2.4.42+dfsg-2ubuntu3.10","2.4.42+dfsg-2ubuntu3.11","2.4.42+dfsg-2ubuntu3.12","2.4.42+dfsg-2ubuntu3.13","2.4.42+dfsg-2ubuntu3.13+esm1"],"ecosystem_specific":{"binaries":[{"binary_version":"2.4.42+dfsg-2ubuntu3.13+esm2","binary_name":"ldap-utils"},{"binary_version":"2.4.42+dfsg-2ubuntu3.13+esm2","binary_name":"libldap-2.4-2"},{"binary_version":"2.4.42+dfsg-2ubuntu3.13+esm2","binary_name":"slapd"},{"binary_version":"2.4.42+dfsg-2ubuntu3.13+esm2","binary_name":"slapd-smbk5pwd"}],"availability":"Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro"},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2023/UBUNTU-CVE-2023-2953.json"}},{"package":{"name":"openldap","ecosystem":"Ubuntu:Pro:18.04:LTS","purl":"pkg:deb/ubuntu/openldap@2.4.45+dfsg-1ubuntu1.11+esm1?arch=source&distro=esm-infra/bionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.4.45+dfsg-1ubuntu1.11+esm1"}]}],"versions":["2.4.45+dfsg-1ubuntu1","2.4.45+dfsg-1ubuntu1.1","2.4.45+dfsg-1ubuntu1.2","2.4.45+dfsg-1ubuntu1.3","2.4.45+dfsg-1ubuntu1.4","2.4.45+dfsg-1ubuntu1.5","2.4.45+dfsg-1ubuntu1.6","2.4.45+dfsg-1ubuntu1.7","2.4.45+dfsg-1ubuntu1.8","2.4.45+dfsg-1ubuntu1.9","2.4.45+dfsg-1ubuntu1.10","2.4.45+dfsg-1ubuntu1.11"],"ecosystem_specific":{"binaries":[{"binary_version":"2.4.45+dfsg-1ubuntu1.11+esm1","binary_name":"ldap-utils"},{"binary_version":"2.4.45+dfsg-1ubuntu1.11+esm1","binary_name":"libldap-2.4-2"},{"binary_version":"2.4.45+dfsg-1ubuntu1.11+esm1","binary_name":"libldap-common"},{"binary_version":"2.4.45+dfsg-1ubuntu1.11+esm1","binary_name":"slapd"},{"binary_version":"2.4.45+dfsg-1ubuntu1.11+esm1","binary_name":"slapd-smbk5pwd"}],"availability":"Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro"},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2023/UBUNTU-CVE-2023-2953.json"}},{"package":{"name":"openldap","ecosystem":"Ubuntu:20.04:LTS","purl":"pkg:deb/ubuntu/openldap@2.4.49+dfsg-2ubuntu1.10?arch=source&distro=focal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.4.49+dfsg-2ubuntu1.10"}]}],"versions":["2.4.48+dfsg-1ubuntu1","2.4.48+dfsg-1ubuntu2","2.4.48+dfsg-1ubuntu3","2.4.48+dfsg-1ubuntu4","2.4.49+dfsg-1ubuntu1","2.4.49+dfsg-2ubuntu1","2.4.49+dfsg-2ubuntu1.2","2.4.49+dfsg-2ubuntu1.3","2.4.49+dfsg-2ubuntu1.4","2.4.49+dfsg-2ubuntu1.5","2.4.49+dfsg-2ubuntu1.6","2.4.49+dfsg-2ubuntu1.7","2.4.49+dfsg-2ubuntu1.8","2.4.49+dfsg-2ubuntu1.9"],"ecosystem_specific":{"binaries":[{"binary_version":"2.4.49+dfsg-2ubuntu1.10","binary_name":"ldap-utils"},{"binary_version":"2.4.49+dfsg-2ubuntu1.10","binary_name":"libldap-2.4-2"},{"binary_version":"2.4.49+dfsg-2ubuntu1.10","binary_name":"libldap-common"},{"binary_version":"2.4.49+dfsg-2ubuntu1.10","binary_name":"slapd"},{"binary_version":"2.4.49+dfsg-2ubuntu1.10","binary_name":"slapd-contrib"},{"binary_version":"2.4.49+dfsg-2ubuntu1.10","binary_name":"slapd-smbk5pwd"}],"availability":"No subscription required"},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2023/UBUNTU-CVE-2023-2953.json"}},{"package":{"name":"openldap","ecosystem":"Ubuntu:22.04:LTS","purl":"pkg:deb/ubuntu/openldap@2.5.16+dfsg-0ubuntu0.22.04.2?arch=source&distro=jammy"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.5.16+dfsg-0ubuntu0.22.04.2"}]}],"versions":["2.5.6+dfsg-1~exp1ubuntu1","2.5.11+dfsg-1~exp1ubuntu1","2.5.11+dfsg-1~exp1ubuntu3","2.5.11+dfsg-1~exp1ubuntu3.1","2.5.12+dfsg-0ubuntu0.22.04.1","2.5.13+dfsg-0ubuntu0.22.04.1","2.5.14+dfsg-0ubuntu0.22.04.1","2.5.14+dfsg-0ubuntu0.22.04.2","2.5.15+dfsg-0ubuntu0.22.04.1","2.5.16+dfsg-0ubuntu0.22.04.1"],"ecosystem_specific":{"binaries":[{"binary_version":"2.5.16+dfsg-0ubuntu0.22.04.2","binary_name":"ldap-utils"},{"binary_version":"2.5.16+dfsg-0ubuntu0.22.04.2","binary_name":"libldap-2.5-0"},{"binary_version":"2.5.16+dfsg-0ubuntu0.22.04.2","binary_name":"libldap-common"},{"binary_version":"2.5.16+dfsg-0ubuntu0.22.04.2","binary_name":"slapd"},{"binary_version":"2.5.16+dfsg-0ubuntu0.22.04.2","binary_name":"slapd-contrib"},{"binary_version":"2.5.16+dfsg-0ubuntu0.22.04.2","binary_name":"slapd-smbk5pwd"}],"availability":"No subscription required"},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2023/UBUNTU-CVE-2023-2953.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"},{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"},{"type":"Ubuntu","score":"low"}]}