USN-9472-1: Samba vulnerabilities

Published Dec 3, 2026
·
Updated

Andrew Bartlett discovered that Samba's LDAP server did not properly check access rights for deleted objects. An authenticated user could possibly use this issue to obtain sensitive information. This issue only affected Ubuntu 22.04 LTS. (CVE-2018-14628) It was discovered that Samba incorrectly handled the bad password count logic. A remote attacker could possibly use this issue to bypass bad password lockouts. This issue only affected Ubuntu 22.04 LTS. (CVE-2021-20251) It was discovered that Samba incorrectly handled random number generation failures in GnuTLS, which could result in predictable random values. A local attacker could possibly use this issue to obtain sensitive information. This issue only affected Ubuntu 22.04 LTS. (CVE-2022-1615) It was discovered that Samba did not properly validate access rights when changing the DNS host name of a computer account. An attacker could possibly use this issue to modify protected attributes. This issue only affected Ubuntu 22.04 LTS. (CVE-2022-32743) It was discovered that Samba incorrectly handled usernames when deleting users with the LDAP password database backend. An attacker could possibly use this issue to perform LDAP injection attacks. (CVE-2026-120377) It was discovered that Samba incorrectly handled certain LDAP modify requests. An authenticated user could possibly use this issue to cause Samba to crash, resulting in a denial of service. (CVE-2026-125634) It was discovered that the ldb library included in Samba did not properly check access rights when matching bitwise search filters. A remote authenticated attacker could possibly use this issue to obtain sensitive information. This issue only affected Ubuntu 24.04 LTS and Ubuntu 26.04 LTS. (CVE-2026-125635)

Affected Software

10 affected componentsFixes available
All of the following
ubuntu/libldb2<2:2.11.0+samba4.23.6+dfsg-1ubuntu2.4
2:2.11.0+samba4.23.6+dfsg-1ubuntu2.4
Ubuntu Ubuntu=26.04
All of the following
ubuntu/samba<2:4.23.6+dfsg-1ubuntu2.4
2:4.23.6+dfsg-1ubuntu2.4
Ubuntu Ubuntu=26.04
All of the following
ubuntu/libldb2<2:2.8.0+samba4.19.5+dfsg-4ubuntu9.9
2:2.8.0+samba4.19.5+dfsg-4ubuntu9.9
Ubuntu Ubuntu=24.04
All of the following
ubuntu/samba<2:4.19.5+dfsg-4ubuntu9.9
2:4.19.5+dfsg-4ubuntu9.9
Ubuntu Ubuntu=24.04
All of the following
ubuntu/samba<2:4.15.13+dfsg-0ubuntu1.14
2:4.15.13+dfsg-0ubuntu1.14
Ubuntu Ubuntu=22.04

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade ubuntu/libldb2 to a version that resolves this vulnerability.

    Fixed in 2:2.11.0+samba4.23.6+dfsg-1ubuntu2.4
  2. Upgrade

    Upgrade ubuntu/samba to a version that resolves this vulnerability.

    Fixed in 2:4.23.6+dfsg-1ubuntu2.4
  3. Upgrade

    Upgrade ubuntu/libldb2 to a version that resolves this vulnerability.

    Fixed in 2:2.8.0+samba4.19.5+dfsg-4ubuntu9.9
  4. Upgrade

    Upgrade ubuntu/samba to a version that resolves this vulnerability.

    Fixed in 2:4.19.5+dfsg-4ubuntu9.9
  5. Upgrade

    Upgrade ubuntu/samba to a version that resolves this vulnerability.

    Fixed in 2:4.15.13+dfsg-0ubuntu1.14

Event History

Dec 3, 2026
Advisory Published
via Ubuntu·12:00 AM
Data Sourced
via Ubuntu·12:00 AM
DescriptionAffected Software

Frequently Asked Questions

1

Which Ubuntu systems are in scope for the explicitly described issues?

The described CVE-2018-14628, CVE-2021-20251, CVE-2022-1615, and CVE-2022-32743 issues are stated to affect only Ubuntu 22.04 LTS.

2

Does exploiting these issues require prior access?

Requirements vary by issue. Access to deleted LDAP objects requires an authenticated user, predictable random values require local attacker access, and the bad-password lockout issue can be attempted remotely.

3

What are the potential outcomes an attacker could achieve?

The listed impacts include disclosure of sensitive information, bypass of bad-password lockouts, and modification of protected attributes by changing a computer account's DNS host name.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203