Skip to main content

Kamailio CVE-2026-108822

| EUVDEUVD-2026-97321 MEDIUM
Classic Buffer Overflow (CWE-120)
2026-10-12 VulDB GHSA-8639-687x-5rvv
6.9
CVSS 4.0 · Vendor: VulDB
View

Attack ChainAIDerived

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

  1. Access
    Reach SIP service with sipt module
  2. Exploit
    Send SIP message with crafted ISUP body
  3. Execution
    Oversized party-length overflows static sb_buf[26]
  4. Impact
    Memory corruption crashes Kamailio (DoS)

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Buffer copy size validation
MITRE ATT&CK

1 technique across 1 tactic: Execution

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 target Kamailio server to have the optional sipt module loaded and its SIP-T/ISUP parsing functions invoked from the kamailio.cfg routing script on attacker-supplied SIP traffic - i.e., a SIP-to-SS7/ISUP interworking or gateway deployment. The specific trigger is a malformed ISUP calling/called/redirecting-party parameter whose declared length exceeds the 26-byte static buffer, which pre-6.0.8/6.1.4 code copied without validating sbparamlen against the packet length. Limiting factors: the sipt module is not loaded in default Kamailio configurations, so pure SIP proxy/registrar deployments are unaffected; impact is confined to a crash/denial of service, and no authentication is indicated by the vector (PR:N) though reachability depends on this non-default configuration.

Impact

The input CVSS 4.0 vector (CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N) scores 6.9 (medium), but the impact metrics tell the real story: only VA:L is set, with VC:N/VI:N/VA:L and no subsequent-system impact, meaning this is a pure availability (crash/DoS) issue - not confidentiality loss or code execution, despite being a CWE-120 buffer overflow. The source evidence supports this: the overflow is of a small static char buffer (sb_s_buf[26]) during ISUP parameter parsing, and the fix adds length validation and bounded null-termination rather than addressing any control-flow hijack, so arbitrary code execution is not demonstrated by the available data. On exploitation signals the picture is low-urgency: no CISA KEV listing, no EPSS probability supplied, and no public proof-of-concept referenced (only VulDB entries and the GitHub patch) - so this is no public exploit identified at time of analysis. Net: this is a high-CVSS-looking-but-moderate-real-risk issue, and real risk is further bounded because it only affects deployments that load the optional sipt (SIP-T/SS7) module. Note the apparent tension - AV:N/PR:N implies trivial remote unauthenticated reach, yet reaching the vulnerable code in practice requires a non-default module and routing-script usage, which the base vector does not capture; treat raw reachability as conditional.

Exploit ScenarioDerived

An attacker who can reach a Kamailio instance that has the sipt module loaded and is performing SIP-T/SS7 interworking sends a SIP message carrying a crafted ISUP body whose calling/called-party parameter declares an oversized length. The sipt parser (isup_get_calling_party) copies the attacker-controlled data past the fixed 26-byte static buffer, corrupting adjacent memory and crashing the server. No public exploit is identified at time of analysis, so this scenario is inferred from the description and the patch diff rather than a demonstrated PoC.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.8% exploitation probability (EPSS)

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

Alert me

AnalysisAIv1 – Oct 12, 2026

A heap/stack-adjacent buffer overflow in Kamailio's optional sipt module lets remote, unauthenticated attackers crash the SIP server by sending crafted SIP-T/ISUP messages. The flaw lives in isup_get_calling_party() (and the sibling called/redirecting/redirection parses) in src/modules/sipt/ss7_parser.c, where a declared ISUP parameter length is copied into a fixed 26-byte static buffer without being checked against the actual packet length; affected releases are Kamailio up to and including 6.0.7 and 6.1.3. Per independent assessment the realistic impact is availability only (CVSS:3.1 C:N/I:N/A:L), not code execution, and exploitation requires the non-default sipt module to be loaded and its parsing functions invoked from kamailio.cfg on attacker-supplied SIP traffic; vendor-released patches exist in 6.0.8/6.1.4 (commit 3667bebf8d0bea07ed16218fd921d07db87aeb21, PR #4905), and no public exploit was identified at time of analysis.

RemediationAI

Upgrade to Kamailio 6.0.8 or 6.1.4, which contain the vendor fix for this issue (upstream commit 3667bebf8d0bea07ed16218fd921d07db87aeb21, PR https://github.com/kamailio/kamailio/pull/4905; release artifacts at https://github.com/kamailio/kamailio/releases/tag/6.0.8); if you build from source, backport that commit onto any custom branch. Where an upgrade cannot be performed promptly, the highest-value compensating control is to remove the 'loadmodule "sipt.so"' directive from kamailio.cfg (or disable the specific ISUP parsing route blocks that call isup_get_calling_party/peer functions), which fully closes the attack surface at the cost of losing SIP-T/SS7 interworking - acceptable for deployments that are pure SIP proxies, registrars, or media relays and do not need ISUP translation. Deployments that must keep the module can reduce exposure by restricting SIP ingress with ACLs, TLS/SIPS, or firewall rules so that untrusted sources cannot reach the ISUP-processing routes, and by fronting Kamailio with a SIP-aware edge (e.g., SBC) that normalizes or drops malformed SIP-T bodies; both measures reduce but do not eliminate the risk because a syntactically valid SIP peer still reaches the parser. Restart supervision (systemd Restart=always, Kamailio watchdog/corerouter monitoring) limits the operational duration of any crash-induced outage but does not prevent the trigger. Vendor advisories and the original report are at https://vuldb.com/vuln/416599 and https://github.com/kamailio/kamailio/.

Affected VersionsENISA

Kamailio 6.0.1
Kamailio 6.0.4
Kamailio 6.1.2
Kamailio 6.0.3
Kamailio 6.0.6
Kamailio 6.1.3
Kamailio 6.1.0
Kamailio 6.1.1
Kamailio 6.0.5
Kamailio 6.0.2
Kamailio 6.0.7
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; its sipt module bridges SIP to SS7/ISUP signalling (SIP-T), parsing ISUP messages carried in SIP bodies. The vulnerable routines (isup_get_calling_party, isup_get_called_party, isup_get_redirection_number, isup_get_redirecting_number, and related helpers) incrementally copy digits into a caller-supplied static buffer declared in src/modules/sipt/sipt.c as 'static char sb_s_buf[26]'. CWE-120 (classic buffer copy without checking size of input) arises because the code used the ISUP-parameter-declared length (sbparamlen) and offset arithmetic without validating that offset + 4 + sbparamlen stayed within the received packet length 'len', and without bounding the write index against the 26-byte destination. The upstream patch (PR #4905, commit 3667bebf) introduces a MAX_SB_BUF_LEN constant, rejects malformed parameter lengths (sbparamlen <= 0 or offset + 4 + sbparamlen > len), breaks loops when the destination index plus two would exceed MAX_SB_BUF_LEN or when the read would run past the packet, and replaces the unconditional null-terminator write with a bounds-checked version that clamps to MAX_SB_BUF_LEN - 1. Although the underlying defect class is a buffer overflow, the assessed outcome is memory corruption leading to a crash/denial of service rather than confidentiality or integrity loss, because the overflow is confined to a small fixed buffer and no control-flow or code-execution primitive is established.

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 6.9 MEDIUM
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N
vuln.today AI 5.3 MEDIUM

Remotely reachable crafted SIP/ISUP input (AV:N/AC:L/PR:N/UI:N) overflows a static buffer with availability-only impact (A:L); no confidentiality/integrity effect and no scope change.

3.1 AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
4.0 AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/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
None
User Interaction
None
Vulnerable system: Confidentiality
None
Vulnerable system: Integrity
None
Vulnerable system: Availability
Low
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

DescriptionCVE.org

A vulnerability was detected in Kamailio up to 6.0.7/6.1.3. The affected element is the function isup_get_calling_party of the file src/modules/sipt/ss7_parser.c of the component sipt Module. The manipulation of the argument length results in buffer overflow. The attack may be performed from remote. Upgrading to version 6.0.8 and 6.1.4 is sufficient to fix this issue. The patch is identified as 3667bebf8d0bea07ed16218fd921d07db87aeb21. Upgrading the affected component is advised.

Threat Intelligence Overview

EPSS Score
0.8%
Top 46% exploitable
Prevalence
Medium
popular open-source SIP server, but vulnerable SS7/SIP-T module is optional
Data Quality
7 sources
Confidence: High

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 MEDIUM
CISA KEV No
Public POC No
EPSS 0.8%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.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· derived
None
System Exposure· derived
Open
Automatable· derived
Yes
Human Impact· derived
Medium

Priority Score

35
Low Medium High Critical
KEV: 0
EPSS: +1
CVSS: +34
PoC: 0
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.

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-82608 LOW POC
2.1 Aug 31

Out-of-bounds read in Kamailio's IMS AVP handler exposes telecom infrastructure to remote memory disclosure and potentia

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