CVE-2026-45538
Critical · 9.8CVSS
9.8
EPSS
0.8%
Published
Aug 4, 2026
CISA due date
—
The record
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.
Affected packages
| Ecosystem | Package | Introduced | Fixed |
|---|
Related vulnerabilities
- CVE-2026-121249 Buffer overflow in ANGLE in Google Chrome prior to 157.0.8103.38 allowed a remote… CWE-121
- CVE-2026-120752 PyMuPDF 1.25.3 before 2.0 contains a stack-based buffer overflow vulnerability in… CWE-121
- CVE-2026-29508 ReadyMedia (formerly MiniDLNA) versions 1.3.0 through 1.3.3 contain a stack-based buffer… CWE-121
- CVE-2026-58966 In multiple functions of hppsfilter.c, there is a possible out-of-bounds write due to a… CWE-121
- CVE-2026-120067 For updatable cursors, which are enabled by default, psqlODBC adds hidden ctid and, for… CWE-121
- CVE-2026-120061 The psqlODBC parser for ODBC escape sequences in application SQL text writes the argument… CWE-121
- CVE-2026-120063 When psqlODBC quotes a schema or table name into a 128-byte stack buffer, its length… CWE-121
- CVE-2026-106808 OpenAirInterface Core Network v2.2.1 has a stack-based buffer overflow vulnerability in… CWE-121