Skip to main content

Kamailio CVE-2026-82608

| EUVDEUVD-2026-68332 LOW
Out-of-bounds Read (CWE-125)
2026-08-31 VulDB GHSA-cqrq-g7g6-656p
2.1
CVSS 4.0 · Vendor: VulDB
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Gain Diameter interface network access
  2. Delivery
    Craft Diameter message with undersized AVP payload
  3. Exploit
    Deliver to Kamailio IMS module
  4. Execution
    Trigger get_4bytes() without length guard
  5. Persist
    Read beyond buffer boundary
  6. Impact
    Disclose 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 (ims_auth, ims_icscf, ims_registrar_scscf, ims_charging, ims_ocs); Kamailio deployments running only as a base SIP proxy without these modules are not exposed through this code path. Exploitation is limited in impact to memory disclosure or process crash - code execution from an out-of-bounds read alone is not the expected outcome.

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_4bytes() function reads 4 bytes regardless of actual AVP length, accessing memory beyond the allocated buffer and potentially exposing adjacent heap contents or triggering a segmentation fault. A public proof-of-concept is referenced at https://github.com/kamailio/kamailio/issues/4816.

Monitor Track and reassess. Why: LOW severity (CVSS 0.1-3.9).
Patch available 0.2% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAI

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

Kamailio 6.0.7
Kamailio 5.3
Kamailio 5.4
Kamailio 6.0.2
Kamailio 6.0.5
Kamailio 5.2
Kamailio 6.0.3
Kamailio 6.0.6
Kamailio 6.0.1
Kamailio 5.5.0
Kamailio 5.0
Kamailio 6.0.4
Kamailio 5.1
Kamailio 6.0.0

Affected Packages

euvd kamailio no fix

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

Vendor (VulDB) PRIMARY 2.1 MEDIUM
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
vuln.today AI 5.4 MEDIUM

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.

3.1 AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:L
4.0 AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:N/VA:L/SC:N/SI:N/SA:N

Primary rating from Vendor (VulDB).

CVSS VectorVendor: VulDB

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
Low
User Interaction
None
Vulnerable system: Confidentiality
Low
Vulnerable system: Integrity
Low
Vulnerable system: Availability
Low
Subsequent system: Confidentiality
Low
Subsequent system: Integrity
Low
Subsequent system: Availability
Low

Lifecycle Timeline

3
CVE Published
Aug 31, 2026 - 10:50 cve.org
LOW 2.1
Severity Changed
Aug 31, 2026 - 03:22 NVD
MEDIUM LOW
CVSS changed
Aug 31, 2026 - 03:22 NVD
5.3 (MEDIUM) 2.1 (LOW)

DescriptionCVE.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

EPSS Score
0.2%
Top 86% exploitable
Prevalence
Low
specialized SIP/IMS server used by telecom and VoIP operators only
Exploit
POC
Public exploit code exists
Data Quality
8 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment CIRCL GitHub VulDB

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.

SignalValue
Severity LOW
CISA KEV No
Public POC Yes
EPSS 0.2%
Patch available Yes
Active threat No
Deciding rule
LOW severity (CVSS 0.1-3.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation
Poc
System Exposure· derived
Open
Automatable
No
Human Impact· derived
Low
Technical Impact
Partial

Priority Score

30
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +10
PoC: +20
Weaponized: 0
Threat intel: 0
Gov advisory: 0

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.

CVE-2016-2385 CRITICAL POC
9.8 Apr 11

Heap-based buffer overflow in the encode_msg function in encode_msg.c in the SEAS module in Kamailio (formerly OpenSER a

CVE-2018-16657 CRITICAL POC
9.8 Sep 07

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

CVE-2018-14767 CRITICAL POC
9.8 Jul 31

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

CVE-2013-7426 CRITICAL
9.8 Aug 29

Insecure Temporary file vulnerability in /tmp/kamailio_fifo in kamailio 4.0.1. Rated critical severity (CVSS 9.8), this

CVE-2018-8828 CRITICAL
9.8 Mar 20

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

CVE-2026-93962 MEDIUM POC
5.5 Sep 20

Heap-based buffer overflow in Kamailio's CDP (C Diameter Peer) module allows a remote party that can deliver a malformed

CVE-2020-28361 MEDIUM POC
5.4 Nov 18

Kamailio before 5.4.0, as used in Sip Express Router (SER) in Sippy Softswitch 4.5 through 5.2 and other products, allow

CVE-2015-1590 HIGH
7.8 Sep 07

The kamcmd administrative utility and default configuration in kamailio before 4.3.0 use /tmp/kamailio_ctl. Rated high s

CVE-2015-1591 HIGH
7.8 Jun 27

The kamailio build in kamailio before 4.2.0-2 process allows local users to gain privileges. Rated high severity (CVSS 7

CVE-2026-52023 HIGH
7.5 Sep 01

Denial of service in Kamailio v6.1.1 and earlier allows an unauthenticated remote attacker to crash the SIP proxy by sen

CVE-2026-39863 HIGH
7.5 Apr 08

Out-of-bounds memory access in Kamailio SIP server versions before 5.8.8, 6.0.6, and 6.1.1 enables unauthenticated remot

CVE-2026-108822 MEDIUM
6.9 Oct 12

A heap/stack-adjacent buffer overflow in Kamailio's optional sipt module lets remote, unauthenticated attackers crash th

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy