Ubuntu Fixes Kamailio CVE-2026-93962 Code Execution Risk and Samba
Administrators running Kamailio with Diameter enabled or using IMS should schedule urgent patching and a restart. For Samba, check AD/LDAP roles and update the relevant packages
1-minute summary
- Symptom / problem
- Kamailio มี heap buffer overflow ที่อาจรันโค้ดได้และช่องโหว่ทำบริการล่ม ส่วน Samba มีปัญหาสิทธิ์ LDAP การล็อกบัญชี และการจัดการข้อมูล
- Who should read
- ผู้ใช้แพ็กเกจ Kamailio และโมดูล IMS บน Ubuntu รุ่นที่ USN ระบุ รวมถึง Samba และ libldb2 ตามบทบาทของบริการ
- Fix in short
- เทียบรุ่นแพ็กเกจเต็มกับ USN ตรวจสิทธิ์ ESM Apps อัปเดตแล้ว restart Kamailio และตรวจสิทธิ์ Deleted Objects เพิ่มใน Samba AD เดิม
I saw Ubuntu's notices dated 3 Dec. 2026 announcing patches for Kamailio and Samba, so I have gathered the points to check here. The urgent fix is in Kamailio's Diameter handling because it could allow code execution. For Samba, first check whether you use it for file sharing, AD, or LDAP.
| Notice | Components to check | Main task |
|---|---|---|
| USN-9473-1 | Kamailio, IMS, P-CSCF, Diameter | Update packages and restart |
| USN-9472-1 | Samba AD/LDAP and libldb2 | Update according to the Ubuntu release and check existing domain permissions |
Where Kamailio goes wrong when receiving messages
CVE-2026-93962 is in the CDP Diameter Receiver, where receiving a maliciously crafted message could cause an out-of-bounds heap write. The USN states that this could crash the service or allow code execution. Check whether this module is loaded and accepting Diameter traffic.
The scope in the table follows this USN, with the main set referring to Ubuntu LTS 16.04, 20.04, 22.04, 24.04, and 26.04.
| CVE | Entry point or module | Impact and Ubuntu releases listed in the USN |
|---|---|---|
| CVE-2026-39863 | Malformed data through a TCP/TLS listener | DoS; main set |
| CVE-2026-39864 | Additional identity checks in the auth module after successful authentication without a database backend | DoS; main set except 26.04 |
| CVE-2026-52022 | IMS P-CSCF registration | DoS; main set except 16.04 |
| CVE-2026-52023 | P-CSCF pending registration and security agreement | DoS; main set except 16.04 |
| CVE-2026-82608 | Out-of-bounds read when IMS receives Diameter messages | DoS; main set |
| CVE-2026-93962 | Out-of-bounds heap write in the CDP Diameter Receiver | DoS or possible code execution; main set |
| CVE-2026-106803 | ims_registrar_pcscf receiving registration NOTIFY | Stack buffer overflow causing DoS; main set except 16.04 |
| CVE-2026-106804 | ims_qos_npn receiving SIP REGISTER | Stack buffer overflow causing DoS; only 26.04 in this notice |
Module details: TCP/TLS, auth, P-CSCF, security agreement, Diameter AVP, ims_qos_npn
High scores, but read each impact separately
Ubuntu lists CVE-2026-93962 as CVSS 3.1: 8.3 High, with the vector CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:L, while its Ubuntu priority is Medium. The vector indicates that an attacker can send data over the network without an account or user interaction, but must be able to reach the affected module.
CVE-2026-106803 is listed as 9.8 Critical, with the vector CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H, but its Ubuntu priority is Medium. The description specifies DoS caused by copying the port value from a NOTIFY alias into a stack buffer without checking its length. The upstream patch adds a size check here. The score indicates a greater impact on data than the description states, so I have kept the impact at DoS as described.
CVE-2026-106803 has a score of 9.8, but the impact confirmed by the notice text is a service crash. CVE-2026-93962 is the one the USN identifies as potentially allowing code execution. Do not combine the impacts of these two entries.
Neither USN states that exploitation has occurred. I checked the KEV JSON from CISA's official mirror, and none of the 15 CVEs in this article appear in the KEV edition dated 30 Nov. 2026 (catalogVersion: 2026.11.30). The availability of public proof-of-concept code, as noted on a CVE page, does not confirm exploitation in the wild.
For Samba, separate AD, the LDAP backend, and libraries
USN-9472-1 also includes patches for older issues on Ubuntu 22.04. Each has the following conditions.
| CVE | Conditions and impact |
|---|---|
| CVE-2018-14628 | An authenticated user can read deleted object data in AD LDAP beyond their permissions |
| CVE-2021-20251 | Incorrect password attempt counting logic allows a remote attacker to bypass account lockout |
| CVE-2022-1615 | If GnuTLS fails to generate random numbers, it may produce predictable values, potentially allowing a local attacker to access sensitive information |
| CVE-2022-32743 | Incomplete permission checks when changing a computer account's DNS hostname allow changes to attributes that should be protected |
For the last two entries, see GnuTLS and Validated-DNS-Host-Name.
For CVE-2026-120377, the official sources disagree. USN-9472-1 still describes it as LDAP injection when deleting users through the LDAP password database backend, but the CVE record from CNA Red Hat changed its status to REJECTED on 2 Dec. 2026, stating that upstream rejected the entry. I therefore do not treat this entry as a confirmed vulnerability.
CVE-2026-125634 requires an account that can change the DNS hostname or SPN of its own computer account. Sending an LDAP modify request that also deletes sAMAccountName in the same request crashes the directory process. Its score is 6.5, with the vector CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H, making it a DoS that requires existing privileges.
CVE-2026-125635 according to CNA Red Hat involves bitwise searches that do not check permission to read integer values. A logged-in user with permission to see an object may repeatedly search one bit at a time to discover a hidden value. This description does not state that passwords or keys stored as bytes can be read. Its score is 4.3, with the vector CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N. USN-9472-1 lists this issue as affecting Ubuntu 24.04 and 26.04.
Samba's advisory for CVE-2018-14628 warns that installing the fixed packages does not automatically protect existing domains. You must also check and fix the nTSecurityDescriptor on Deleted Objects. Do not close the task just because apt updated successfully.
Package versions and patching order
Kamailio and kamailio-ims-modules use the same version in each row, according to USN-9473-1.
| Ubuntu LTS | Fixed package version |
|---|---|
| 26.04 | 6.0.5-1ubuntu1+esm1 |
| 24.04 | 5.7.4-1ubuntu0.1~esm1 |
| 22.04 | 5.5.4-1ubuntu0.1~esm1 |
| 20.04 | 5.3.2-1ubuntu0.1~esm3 |
| 16.04 | 4.3.4-1.1ubuntu2.1+esm3 |
The USN lists ESM Apps through Ubuntu Pro for 20.04–26.04, so check repository access as well. For 16.04, also check Legacy entitlement against Canonical's support lifecycle. Having no patch available to select does not mean the system is safe.
For Samba, use the full versions in USN-9472-1. Do not drop the 2: epoch when comparing packages.
| Ubuntu LTS | samba | libldb2 |
|---|---|---|
| 26.04 | 2:4.23.6+dfsg-1ubuntu2.4 |
2:2.11.0+samba4.23.6+dfsg-1ubuntu2.4 |
| 24.04 | 2:4.19.5+dfsg-4ubuntu9.9 |
2:2.8.0+samba4.19.5+dfsg-4ubuntu9.9 |
| 22.04 | 2:4.15.13+dfsg-0ubuntu1.14 |
This USN does not specify a target version |
The CVE pages and USNs still contain differing information. For example, CVE-2026-93962 shows Vulnerable, while CVE-2026-125634 shows Needs evaluation, even though the USNs list fixed packages.
Another discrepancy is that CVE-2026-52023 shows Ubuntu 16.04 as Vulnerable, but USN-9473-1 does not include 16.04 in the scope of this entry. The tables in this article follow the USNs. Compare full package versions against the notices, and do not assume that releases outside the tables are safe.
- Check roles Review modules, listeners, and Samba AD/LDAP
- Prepare patches Compare packages, check ESM, and back up data
- Update Review the changes, including dependencies
- Restart Restart Kamailio and test the service
- Recheck Record versions and check Deleted Objects permissions in existing domains
cat /etc/os-release
dpkg-query -W -f='${binary:Package}\t${Version}\n' \
kamailio kamailio-ims-modules samba libldb2
apt-cache policy kamailio kamailio-ims-modules samba libldb2
pro status
Check only installed packages, and use pro status when the Pro client is available. The following example is for Kamailio with IMS. For Samba, use the package names in the table.
sudo apt update
sudo apt-get -s install --only-upgrade kamailio kamailio-ims-modules
sudo apt-get install --only-upgrade kamailio kamailio-ims-modules
sudo systemctl restart kamailio
systemctl is-active kamailio
This Samba example is for 24.04/26.04 with both samba and libldb2 installed. For 22.04, the USN table lists only samba.
sudo apt update
sudo apt-get -s install --only-upgrade samba libldb2
sudo apt-get install --only-upgrade samba libldb2
dpkg-query -W -f='${binary:Package}\t${Version}\n' samba libldb2
If you cannot access the repository containing the patches, fix access first. Restricting access to the service helps reduce risk, but the USNs do not confirm that it can replace patching.
For existing Samba AD domains, after updating and backing up the domain, run this on a single DC and review the prompts before confirming the changes.
sudo samba-tool dbcheck --cross-ncs --attrs=nTSecurityDescriptor --fix
This command changes permissions in the domain database. Read Samba's procedure for CVE-2018-14628 alongside it, especially the CN=Deleted Objects entry that the program proposes to fix.
Check services and traces after patching
testparm can show the role and backend, but a passing result does not confirm security. Test logins, LDAP searches, and file sharing as well.
testparm -s --parameter-name='server role'
testparm -s --parameter-name='passdb backend'
systemctl --no-pager --type=service --state=running
sudo journalctl -u kamailio --no-pager
Neither USN provides IOCs for checking whether a machine has been compromised. Start with processes that crash repeatedly, then check whether the crashes coincide with SIP/Diameter traffic or LDAP modify requests. Also check for computer account attribute changes and unexplained user deletions. These are starting points for investigation and cannot yet confirm a compromise. Normal logs do not confirm that an attack has never occurred either.
I recommend that administrators running Kamailio with Diameter enabled or using IMS schedule patching as soon as possible. For Samba AD/LDAP, allow enough time to test logins and complete the permission fixes for existing domains. You can also read the guide to checking Debian Server security.
Sources: Ubuntu USN-9473-1, Ubuntu CVE-2026-93962, Ubuntu CVE-2026-106803, Ubuntu USN-9472-1, Samba CVE-2018-14628, Ubuntu CVE-2026-125634, Red Hat CVE-2026-125635, and the original sources linked under each topic. Information current as of 3 Dec. 2026. I will come back and update this later.
Want us to set this up?
Get help with server setup, configuration, migration, or troubleshooting. Save time for the work that matters.
Hit something like this? Stuck somewhere?
Come trade notes on the LinuxThai board



Comments 0
No comments yet — be the first