Description
The LDAP server in the AD domain controller in Samba 4.x before 4.1.22 does not check return values to ensure successful ASN.1 memory allocation, which allows remote attackers to cause a denial of service (memory consumption and daemon crash) via crafted packets.
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.1.22+dfsg-1 | — |
| Debian 13 | samba | 2:4.1.22+dfsg-1 | — |
| Debian 12 | samba | 2:4.1.22+dfsg-1 | — |
| Debian 8 | samba | 2:4.1.17+dfsg-2+deb8u1 | DSA-3433-1 |
| Debian 7 | samba | 2:3.6.6-6+deb7u6 | DSA-3433-1 |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 16.04 LTS | samba | 2:4.3.3+dfsg-1ubuntu1 | — |
| Ubuntu 14.04 LTS | samba | 2:4.1.6+dfsg-1ubuntu2.14.04.11 | USN-2855-1 |
Red Hat
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| RHEL 7 | ctdb +26 | 4.2.3-10.el7 | RHBA-2015:2258 |
| RHEL 6 | samba4 +13 | 4.0.0-67.el6_7.rc4 | RHSA-2016:0010 |
Show 1 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Red Hat Gluster Storage 3 | samba +20 | 4.1.17-16.el6rhs | RHSA-2016:0015 |
Oracle Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Oracle Linux 7 | samba +23 | 4.2.3-11.el7_2 | ELSA-2016-0006 |
Advisories 7
- WID-SEC-2026-3111 Samba: Mehrere Schwachstellen BSI CERT-Bund (WID) · Aug 31, 2026
- RHSA-2016:0015 Red Hat Security Advisory: samba security update Red Hat Security Advisories (RHSA) · Jun 27, 2026
- RHSA-2016:0010 Red Hat Security Advisory: samba4 security update Red Hat Security Advisories (RHSA) · Jun 27, 2026
- RHBA-2015:2258 Red Hat Bug Fix Advisory: samba bug fix and enhancement update Red Hat Security Advisories (RHSA) · Jun 27, 2026
- USN-2855-1 samba vulnerabilities Ubuntu Security Notices (USN) · Apr 22, 2026
- DSA-3433-1 samba - security update Debian Security (DSA / DLA) · Mar 9, 2026
- ELSA-2016-0006 Moderate: samba security update (Oracle Linux 7) Oracle Linux Security Advisories (ELSA) · Jan 7, 2016
References
- https://git.samba.org/?p=samba.git%3Ba=commit%3Bh=9d989c9dd7a5b92d0c5d65287935471b83b6e884
- FEDORA-2015-0e0879cc8a vendor-advisory
- USN-2855-2 vendor-advisory
- http://www.oracle.com/technetwork/topics/security/linuxbulletinjan2016-2867209.html
- https://git.samba.org/?p=samba.git%3Ba=commit%3Bh=530d50a1abdcdf4d1775652d4c456c1274d83d8d
- 1034492 vdb-entry
- 79736 vdb-entry
- https://www.samba.org/samba/security/CVE-2015-7540.html
- FEDORA-2015-b36076d32e vendor-advisory
- DSA-3433 vendor-advisory
- GLSA-201612-47 vendor-advisory
- USN-2855-1 vendor-advisory
- openSUSE-SU-2015:2356 vendor-advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=1288451