{"id":"UBUNTU-CVE-2025-14905","details":"A flaw was found in the 389-ds-base server. A heap buffer overflow vulnerability exists in the `schema_attr_enum_callback` function within the `schema.c` file. This occurs because the code incorrectly calculates the buffer size by summing alias string lengths without accounting for additional formatting characters. When a large number of aliases are processed, this oversight can lead to a heap overflow, potentially allowing a remote attacker to cause a Denial of Service (DoS) or achieve Remote Code Execution (RCE).","modified":"2026-03-19T10:01:22.749777Z","published":"2026-02-23T16:29:00Z","upstream":["CVE-2025-14905"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2025-14905"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2025-14905"},{"type":"REPORT","url":"https://access.redhat.com/errata/RHSA-2026:3189"},{"type":"REPORT","url":"https://access.redhat.com/security/cve/CVE-2025-14905"}],"affected":[{"package":{"name":"389-ds-base","ecosystem":"Ubuntu:Pro:16.04:LTS","purl":"pkg:deb/ubuntu/389-ds-base@1.3.4.9-1ubuntu0.1~esm1?arch=source&distro=esm-apps/xenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.3.3.12-1build1","1.3.3.13-1","1.3.4.5-2","1.3.4.8-1","1.3.4.8-3","1.3.4.8-3ubuntu1","1.3.4.8-4","1.3.4.9-1","1.3.4.9-1ubuntu0.1~esm1"],"ecosystem_specific":{"binaries":[{"binary_version":"1.3.4.9-1ubuntu0.1~esm1","binary_name":"389-ds"},{"binary_version":"1.3.4.9-1ubuntu0.1~esm1","binary_name":"389-ds-base"},{"binary_version":"1.3.4.9-1ubuntu0.1~esm1","binary_name":"389-ds-base-dev"},{"binary_version":"1.3.4.9-1ubuntu0.1~esm1","binary_name":"389-ds-base-libs"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-14905.json"}},{"package":{"name":"389-ds-base","ecosystem":"Ubuntu:Pro:18.04:LTS","purl":"pkg:deb/ubuntu/389-ds-base@1.3.7.10-1ubuntu1+esm1?arch=source&distro=esm-apps/bionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.3.7.5-1","1.3.7.5-1build1","1.3.7.5-1build2","1.3.7.9-1","1.3.7.10-1","1.3.7.10-1ubuntu1","1.3.7.10-1ubuntu1+esm1"],"ecosystem_specific":{"binaries":[{"binary_version":"1.3.7.10-1ubuntu1+esm1","binary_name":"389-ds"},{"binary_version":"1.3.7.10-1ubuntu1+esm1","binary_name":"389-ds-base"},{"binary_version":"1.3.7.10-1ubuntu1+esm1","binary_name":"389-ds-base-dev"},{"binary_version":"1.3.7.10-1ubuntu1+esm1","binary_name":"389-ds-base-libs"},{"binary_version":"1.3.7.10-1ubuntu1+esm1","binary_name":"python3-dirsrvtests"},{"binary_version":"1.3.7.10-1ubuntu1+esm1","binary_name":"python3-lib389"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-14905.json"}},{"package":{"name":"389-ds-base","ecosystem":"Ubuntu:Pro:20.04:LTS","purl":"pkg:deb/ubuntu/389-ds-base@1.4.3.6-2ubuntu0.1~esm1?arch=source&distro=esm-apps/focal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.4.1.6-4","1.4.1.6-4build1","1.4.2.4-1","1.4.2.4-1build1","1.4.3.2-1","1.4.3.2-1build1","1.4.3.6-2","1.4.3.6-2ubuntu0.1~esm1"],"ecosystem_specific":{"binaries":[{"binary_version":"1.4.3.6-2ubuntu0.1~esm1","binary_name":"389-ds"},{"binary_version":"1.4.3.6-2ubuntu0.1~esm1","binary_name":"389-ds-base"},{"binary_version":"1.4.3.6-2ubuntu0.1~esm1","binary_name":"389-ds-base-dev"},{"binary_version":"1.4.3.6-2ubuntu0.1~esm1","binary_name":"389-ds-base-libs"},{"binary_version":"1.4.3.6-2ubuntu0.1~esm1","binary_name":"cockpit-389-ds"},{"binary_version":"1.4.3.6-2ubuntu0.1~esm1","binary_name":"python3-lib389"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-14905.json"}},{"package":{"name":"389-ds-base","ecosystem":"Ubuntu:22.04:LTS","purl":"pkg:deb/ubuntu/389-ds-base@2.0.15-1ubuntu2?arch=source&distro=jammy"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.4.4.11-2build1","1.4.4.11-2build2","1.4.4.17-1","2.0.11-2","2.0.14-1","2.0.15-1","2.0.15-1ubuntu2"],"ecosystem_specific":{"binaries":[{"binary_version":"2.0.15-1ubuntu2","binary_name":"389-ds"},{"binary_version":"2.0.15-1ubuntu2","binary_name":"389-ds-base"},{"binary_version":"2.0.15-1ubuntu2","binary_name":"389-ds-base-dev"},{"binary_version":"2.0.15-1ubuntu2","binary_name":"389-ds-base-libs"},{"binary_version":"2.0.15-1ubuntu2","binary_name":"cockpit-389-ds"},{"binary_version":"2.0.15-1ubuntu2","binary_name":"python3-lib389"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-14905.json"}},{"package":{"name":"389-ds-base","ecosystem":"Ubuntu:24.04:LTS","purl":"pkg:deb/ubuntu/389-ds-base@2.4.5+dfsg1-1?arch=source&distro=noble"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.3.4+dfsg1-1","2.4.4+dfsg1-1ubuntu1","2.4.4+dfsg1-1ubuntu4","2.4.4+dfsg1-3","2.4.5+dfsg1-1"],"ecosystem_specific":{"binaries":[{"binary_version":"2.4.5+dfsg1-1","binary_name":"389-ds"},{"binary_version":"2.4.5+dfsg1-1","binary_name":"389-ds-base"},{"binary_version":"2.4.5+dfsg1-1","binary_name":"389-ds-base-dev"},{"binary_version":"2.4.5+dfsg1-1","binary_name":"389-ds-base-libs"},{"binary_version":"2.4.5+dfsg1-1","binary_name":"cockpit-389-ds"},{"binary_version":"2.4.5+dfsg1-1","binary_name":"python3-lib389"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-14905.json"}},{"package":{"name":"389-ds-base","ecosystem":"Ubuntu:25.10","purl":"pkg:deb/ubuntu/389-ds-base@3.1.2+dfsg1-1?arch=source&distro=questing"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["3.1.2+dfsg1-1"],"ecosystem_specific":{"binaries":[{"binary_version":"3.1.2+dfsg1-1","binary_name":"389-ds"},{"binary_version":"3.1.2+dfsg1-1","binary_name":"389-ds-base"},{"binary_version":"3.1.2+dfsg1-1","binary_name":"389-ds-base-dev"},{"binary_version":"3.1.2+dfsg1-1","binary_name":"389-ds-base-libs"},{"binary_version":"3.1.2+dfsg1-1","binary_name":"cockpit-389-ds"},{"binary_version":"3.1.2+dfsg1-1","binary_name":"python3-lib389"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-14905.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H"},{"type":"Ubuntu","score":"medium"}]}