CVE-2023-34966Samba
High 7.5 No auth neededHigh EPSS
Follow: this CVE · Samba · Samba We alert you by email or Slack (account required).
- Priority
- 66
- CVSS 3.1
- 7.5
- EPSS
- 62.9% probability of exploitation in 30 days · percentile 99
- Auth required
- No
- Published
- Jul 20, 2023
- Updated
- Nov 26, 2026
- Category
- Server · Linux
- Weakness (CWE)
- CWE-835
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
What happens
An infinite loop vulnerability was found in Samba's mdssvc RPC service for Spotlight. When parsing Spotlight mdssvc RPC packets sent by the client, the core unmarshalling function sl_unpack_loop() did not validate a field in the network packet that contains the count of elements in an array-like structure. By passing 0 as the count value, the attacked function will run in an endless loop consuming 100% CPU. This flaw allows an attacker to issue a malformed RPC request, triggering an infinite loop, resulting in a denial of service condition.
What to do
- Apply the vendor's security update for Samba.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| samba | samba | < 4.16.11 |
| samba | samba | ≥ 4.17.0 < 4.17.10 |
| samba | samba | ≥ 4.18.0 < 4.18.5 |
| fedoraproject | fedora | 37 |
| fedoraproject | fedora | 38 |
| redhat | enterprise_linux | 8.0 |
| redhat | enterprise_linux | 9.0 |
| debian | debian_linux | 11.0 |
| debian | debian_linux | 12.0 |
Official sources
References
Links published by the sources. Open them with care.
- access.redhat.com Third Party Advisory
- access.redhat.com Third Party Advisory
- access.redhat.com
- access.redhat.com
- access.redhat.com
- access.redhat.com Third Party Advisory
- bugzilla.redhat.com Issue Tracking Third Party Advisory
- www.samba.org Vendor Advisory
- lists.fedoraproject.org
- lists.fedoraproject.org
- security.netapp.com
- www.debian.org