CVE-2026-106804

Remote Host Field Overflow in Kamailio ims_qos_npn Causes Denial of Service

Published Nov 2, 2026 CVSS 3.1 · 7.5 High EPSS < 1% KEV · Not listed
Description
A stack-based buffer overflow exists in Kamailio v6.1.3 and v6.1.4 in the ims_qos_npn module. The w_rx_aar_register() function copies the attacker-controlled host field from the SIP `Via` header into a fixed 46-byte stack buffer without validating its length. An unauthenticated remote attacker can trigger the vulnerability with a crafted SIP `REGISTER` request, causing stack corruption and termination of the affected Kamailio instance, resulting in denial of service.

Analysis

AI-generated

Technical impact

A stack-based buffer overflow (CWE-120, CWE-121, CWE-20) exists in Kamailio 6.1.3 and 6.1.4 within the ims_qos_npn module. The w_rx_aar_register() function copies the host field from the SIP Via header into a fixed 46‑byte stack buffer without validating its length. An attacker can provide a host string longer than 46 bytes, causing stack corruption and termination of the affected Kamailio instance.

Affected Systems

Kamailio 6.1.3 and 6.1.4, specifically the ims_qos_npn module. No other vendors or products are listed as affected.

Risk and Exploitability

The vulnerability can be triggered by an unauthenticated remote attacker who sends a specially crafted SIP REGISTER request. With a CVSS score of 7.5, the flaw is classified as high severity. Because the flaw is remote, does not require authentication, and can crash the application, the risk is high from an availability perspective. No EPSS data and it is not listed in CISA’s KEV catalog, but the lack of mitigation is the primary concern until the Kamailio instance is patched or the module disabled.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade Kamailio to a version where the ims_qos_npn module has been fixed, such as 6.1.5 or later.
  • If the module is not required for your deployment, disable or remove the ims_qos_npn module to eliminate the vulnerable code path.
  • Implement network controls or SIP filtering rules to restrict access to the SIP registrar endpoint, reducing the attack surface while a patch is applied.

Generated by OpenCVE AI on November 2, 2026 at 23:36 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Title Remote Host Field Overflow in Kamailio ims_qos_npn Causes Denial of Service
Type Values Removed Values Added
Title Stack-based Buffer Overflow in Kamailio ims_qos_npn Module Causing DoS
Weaknesses CWE-119
Type Values Removed Values Added
First Time appeared Kamailio
Kamailio kamailio
Weaknesses CWE-120
CWE-121
CWE-20
Vendors & Products Kamailio
Kamailio kamailio
Metrics cvssV3_1

{'score': 7.5, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H'}

ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
Title Stack-based Buffer Overflow in Kamailio ims_qos_npn Module Causing DoS
Weaknesses CWE-119
Type Values Removed Values Added
Description A stack-based buffer overflow exists in Kamailio v6.1.3 and v6.1.4 in the ims_qos_npn module. The w_rx_aar_register() function copies the attacker-controlled host field from the SIP `Via` header into a fixed 46-byte stack buffer without validating its length. An unauthenticated remote attacker can trigger the vulnerability with a crafted SIP `REGISTER` request, causing stack corruption and termination of the affected Kamailio instance, resulting in denial of service.
References
Weaknesses
  • CWE-120

    Buffer Copy without Checking Size of Input ('Classic Buffer Overflow')

  • CWE-121

    Stack-based Buffer Overflow

  • CWE-20

    Improper Input Validation

Sources

Status
PUBLISHED
Assigner
mitre
Published
Updated
Nov 2, 2026, 6:55 PM
Reserved
Oct 7, 2026, 12:00 AM
Status
Awaiting Analysis
Published
Nov 2, 2026, 5:17 PM
Modified
Nov 2, 2026, 7:34 PM