Description
A flaw was found in samba versions 4.0.0 to 4.5.2. The Samba routine ndr_pull_dnsp_name contains an integer wrap problem, leading to an attacker-controlled memory overwrite. ndr_pull_dnsp_name parses data from the Samba Active Directory ldb database. Any user who can write to the dnsRecord attribute over LDAP can trigger this memory corruption. By default, all authenticated LDAP users can write to the dnsRecord attribute on new DNS objects. This makes the defect a remote privilege escalation.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| [UNKNOWN] | samba | versions 4.0.0 to 4.5.2 | — |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | samba | 2:4.5.2+dfsg-2 | — |
| Debian 13 | samba | 2:4.5.2+dfsg-2 | — |
| Debian 12 | samba | 2:4.5.2+dfsg-2 | — |
| Debian 8 | samba | 2:4.2.14+dfsg-0+deb8u2 | DSA-3740-1 |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 16.04 LTS | samba | 2:4.3.11+dfsg-0ubuntu0.16.04.3 | USN-3158-1 |
| Ubuntu 14.04 LTS | samba | 2:4.3.11+dfsg-0ubuntu0.14.04.4 | USN-3158-1 |
SUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES 12 SP2 | samba | 4.2.4-28.3.1 | SUSE-SU-2016:3272-1, SUSE-SU-2016:3271-1 |
| SLES 12 SP1 | samba | 4.2.4-28.3.1 | SUSE-SU-2016:3272-1 |
| SLES 12 | samba | 4.2.4-18.30.1 | SUSE-SU-2016:3299-1 |
Show 3 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES for SAP 12 SP2 | samba | 4.2.4-28.3.1 | SUSE-SU-2016:3272-1, SUSE-SU-2016:3271-1 |
| SLES for SAP 12 SP1 | samba | 4.2.4-28.3.1 | SUSE-SU-2016:3272-1 |
| SLES for SAP 12 | samba | 4.2.4-18.30.1 | SUSE-SU-2016:3299-1 |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Tumbleweed | samba | 4.14.6+git.182.2205d5224e3-1.1 | openSUSE-SU-2024:11365-1 |
Alpine
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine v3.4 | samba | 4.4.5-r2 | — |
| Alpine v3.3 | samba | 4.2.14-r1 | — |
| Alpine v3.2 | samba | 4.2.14-r1 | — |
Advisories 6
- USN-3158-1 samba vulnerabilities Ubuntu Security Notices (USN) · Apr 22, 2026
- DSA-3740-1 samba - security update Debian Security (DSA / DLA) · Mar 9, 2026
- SUSE-SU-2016:3299-1 Security update for samba SUSE / openSUSE Security Updates · Feb 4, 2026
- openSUSE-SU-2024:11365-1 ctdb-4.14.6+git.182.2205d5224e3-1.1 on GA media SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2016:3272-1 Security update for samba SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2016:3271-1 Security update for samba SUSE / openSUSE Security Updates · Feb 4, 2026