Read the docs
TI-2026-33290 Aliases CVE-2026-45538

OpenSIPS: Stack Buffer Overflow in sip_to_json() Header Name Copy

Priority HIGH 82CWE-121Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
None
Attack complexity
Low
Impact type
Code execution
Confidentiality · integrity · availability
High · High · High
Fix status
No fix listed

Attack profile from CVSS 3.1 · CNA. Fix status from CNA. Impact type from CWE-121 and the CVSS impact.

Summary

OpenSIPS is a Session Initiation Protocol (SIP) server implementation. In versions 4.0.0 and prior, processing a SIP message with a header name longer than 255 bytes causes a stack buffer overflow when sip_to_json() is called in the routing script. Function sip_to_json() (modules/sipmsgops/sipmsgops.c) copies SIP header names into a fixed 255-byte stack buffer without bounds checking, performing a memcpy of the full header-name length even though the SIP parser imposes no such limit (a header name can be roughly 65000 bytes). As a result, when a routing script calls sip_to_json(), a SIP message with a header name longer than 255 bytes triggers a stack buffer overflow in which both the length and content of the overwrite are attacker-controlled, corrupting the saved frame pointer and return address. A single unauthenticated UDP packet to the SIP port (5060) can crash the process or, on builds without stack protections, hijack the return address to achieve remote code execution. This affects deployments whose routing script invokes sip_to_json(). This issue was not fixed at the time of publication.

Why it matters now

Exploitation Proof of concept CISA SSVC · not in CISA KEV
EPSS 0.00802 56th percentileScored 2026-11-07
Fix No fix listed No fixed version in the sources yet

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
Poc
Automatable
Yes
Technical impact
Total

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
OpenSIPSopensipsup to 4.0.0—No fix listedCNA
  • opensips VendorOpenSIPS Affected up to 4.0.0 Fixed in — No fix listed CNA

CPE names Threatist (inferred) · 1

Inferred from how NVD named this product before; not given by a source.

CPEVersionsRoleVendor
cpe:2.3:a:opensips:opensips:*:*:*:*:*:*:*:*——OpenSIPS
  • cpe:2.3:a:opensips:opensips:*:*:*:*:*:*:*:* Versions — — ·OpenSIPS

Remediation

No fixed version listed by the sources yet.

Vendor assessments

Red Hat

Red Hat's page for this CVE →

Not affected: 1 product
  • Red Hat

Timeline

  1. 2026-10-02 Threatist record created from CVE-2026-45538

References

  • TI-2026-33289 OpenSIPS: Global Buffer Overflow in construct_uri CVSS 3.1CRITICAL 9.1
  • TI-2026-32940 OpenSIPS: Buffer Overflow in Base64 Encode Transformation CVSS 3.1CRITICAL 9.1
  • TI-2026-34055 OpenSIPS: Denial of Service in SDP bandwidth parsing via QoS SDP cloning CVSS 4.0HIGH 8.7
  • TI-2026-33544 OpenSIPS: Denial of Service in watcherinfo XML generation from oversized watcher URI CVSS 4.0HIGH 8.7
  • TI-2026-32931 OpenSIPS: Denial of service in presence.handle_publish() from unchecked Content-Type state CVSS 4.0HIGH 8.7
  • TI-2026-32942 OpenSIPS: SIP Message Smuggling via TCP Content-Length Integer Overflow CVSS 3.1HIGH 7.5
See all 20 →

Sources