Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessGain Diameter interface network access
-
DeliveryCraft Diameter message with undersized AVP payload
-
ExploitDeliver to Kamailio IMS module
-
ExecutionTrigger get_4bytes() without length guard
-
PersistRead beyond buffer boundary
-
ImpactDisclose adjacent memory or crash IMS process
Vulnerability Assessment
| Weakness |
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Bounds checking, read limits
MITRE ATT&CK
1 technique across 1 tactic: Collection The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires the ability to send crafted Diameter protocol messages to the Kamailio IMS Cx/Dx interface. In standard IMS deployments, Diameter peers are trusted network entities (HSS, I-CSCF, S-CSCF) and Diameter traffic is typically segregated from public networks, meaning exploitation from the open internet requires prior compromise of a Diameter peer or a network segmentation failure. The CVSS 4.0 vector (PR:L) confirms that some level of network-layer or application-layer authentication is required - unauthenticated exploitation from arbitrary internet addresses is not the standard threat model. Additionally, the flaw is triggered only when IMS-specific modules are loaded ( |
| Impact | The CVSS 4.0 base score of 2.1 accurately reflects a low-severity vulnerability with network reach but constrained impact: confidentiality, integrity, and availability are all rated Low, and exploitation requires low-privilege access. The out-of-bounds read class (CWE-125) is generally not exploitable for arbitrary code execution, limiting real-world impact to memory disclosure or process instability. EPSS data was not provided in the available intelligence, so probabilistic exploitation likelihood cannot be formally quantified. The absence from CISA KEV indicates no confirmed widespread active exploitation at time of analysis, though the E:P threat metric in the CVSS 4.0 vector confirms a publicly available exploit, which lowers the skill barrier for targeted attacks. The principal risk amplifier here is the vendor's explicit end-of-life declaration for version 5.5.0 - operators on that branch will never receive a security fix through the vendor channel and must self-apply the upstream patch or migrate to the maintained 6.x line. The vulnerability is further scoped to Kamailio deployments with IMS modules loaded; base SIP proxy deployments that do not load the affected modules are not exposed through this specific code path. |
| Exploit ScenarioDerived | An attacker with network access to the Kamailio Diameter interface - such as through a compromised Diameter peer, a rogue HSS node, or inadequately segmented IMS network access - sends a Cx/Dx Diameter message containing an AVP with fewer than 4 bytes of payload data. The |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAI
Out-of-bounds read in Kamailio's IMS AVP handler exposes telecom infrastructure to remote memory disclosure and potential service disruption. The get_4bytes() function across five IMS modules - ims_auth, ims_icscf, ims_registrar_scscf, ims_charging, and ims_ocs - fails to validate that Diameter AVP data buffers contain at least 4 bytes before reading, allowing a remote attacker with low-privilege Diameter interface access to trigger the flaw via a crafted malformed message. Publicly available exploit code exists per GitHub issue #4816, and the vendor has confirmed that the 5.5.0 branch is end-of-life and will receive no further security updates, compounding risk for operators running that release.
RemediationAI
Apply upstream patch commit abb5d60af6eefbd367bf6588c5589566b090e272, available via GitHub pull request https://github.com/Kamailio/Kamailio/pull/4823. No specific patched release version number has been independently confirmed at time of analysis - the fix is available as a source commit and PR but a tagged release incorporating it was not identified in the provided references. Operators on the end-of-life 5.5.0 branch should treat this as an urgent trigger to migrate to the actively maintained 6.x release line, as no vendor-supplied security updates will be issued for that branch. As a compensating control, restricting Diameter/Cx-Dx interface traffic via firewall ACLs or enforcing TLS mutual authentication on Diameter connections limits who can deliver malformed AVPs to trusted, authenticated peers - this does not eliminate the flaw but meaningfully reduces the attack surface until the patch can be applied.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
Kamailio is an open-source SIP server used extensively in IMS (IP Multimedia Subsystem) and VoLTE network deployments. The affected component processes Cx/Dx interface Attribute-Value Pairs (AVPs), the data encoding unit of the Diameter protocol used for IMS subscriber authentication and S-CSCF registration. The get_4bytes() function reads a 32-bit integer from an AVP data buffer; the flaw is that no length check precedes this read, so a malformed AVP carrying fewer than 4 bytes of data causes the function to read beyond the allocated buffer boundary - a textbook CWE-125 (Out-of-bounds Read). The PR diff confirms the fix is systemic: length guards (s.len < 4 and avp->data.len < 4) were added across at least twelve call sites spanning the five affected modules, indicating the missing bounds check was a shared pattern in the IMS AVP parsing codebase rather than an isolated mistake. The CPE string cpe:2.3:a:n/a:kamailio:*:*:*:*:*:*:*:* covers all platform variants through the stated version ceiling.
Know when Kamailio gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:L/SI:L/SA:L/E:P
Diameter interface access requires low-privilege peer authentication (PR:L); read-only flaw yields limited memory disclosure (C:L) and potential crash (A:L) but no integrity impact.
Primary rating from Vendor (VulDB).
CVSS VectorVendor: VulDB
Lifecycle Timeline
3DescriptionCVE.org
A vulnerability was determined in Kamailio up to 5.5.0/6.0.7. This affects the function get_4bytes of the file src/modules/ims_registrar_scscf/cxdx_avp.c of the component AVP Handler. Executing a manipulation can lead to out-of-bounds read. The attack may be performed from remote. The exploit has been publicly disclosed and may be utilized. This patch is called abb5d60af6eefbd367bf6588c5589566b090e272. It is advisable to implement a patch to correct this issue. The vendor points out, that "[v]ersion 5.5.0 is old and not maintained anymore."
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
A buffer overflow occurs when a program writes more data to a memory buffer than it was allocated to hold, causing the excess data to spill into adjacent memory regions.
Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.
Heap-based buffer overflow in the encode_msg function in encode_msg.c in the SEAS module in Kamailio (formerly OpenSER a
In Kamailio before 5.0.7 and 5.1.x before 5.1.4, a crafted SIP message with an invalid Via header causes a segmentation
In Kamailio before 5.0.7 and 5.1.x before 5.1.4, a crafted SIP message with a double "To" header and an empty "To" tag c
Insecure Temporary file vulnerability in /tmp/kamailio_fifo in kamailio 4.0.1. Rated critical severity (CVSS 9.8), this
A Buffer Overflow issue was discovered in Kamailio before 4.4.7, 5.0.x before 5.0.6, and 5.1.x before 5.1.2. Rated criti
Heap-based buffer overflow in Kamailio's CDP (C Diameter Peer) module allows a remote party that can deliver a malformed
Kamailio before 5.4.0, as used in Sip Express Router (SER) in Sippy Softswitch 4.5 through 5.2 and other products, allow
The kamcmd administrative utility and default configuration in kamailio before 4.3.0 use /tmp/kamailio_ctl. Rated high s
The kamailio build in kamailio before 4.2.0-2 process allows local users to gain privileges. Rated high severity (CVSS 7
Denial of service in Kamailio v6.1.1 and earlier allows an unauthenticated remote attacker to crash the SIP proxy by sen
Out-of-bounds memory access in Kamailio SIP server versions before 5.8.8, 6.0.6, and 6.1.1 enables unauthenticated remot
A heap/stack-adjacent buffer overflow in Kamailio's optional sipt module lets remote, unauthenticated attackers crash th
EUVD-2026-68332
GHSA-cqrq-g7g6-656p
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB