CVE-2026-45537
Critical · 9.1CVSS
9.1
EPSS
0.6%
Published
Aug 4, 2026
CISA due date
—
The record
OpenSIPS is a Session Initiation Protocol (SIP) server implementation. In versions prior to 3.6.6 and 4.0.0-rc1, the construct_uri() function concatenates multiple URI components (protocol, username, domain, port, params) into a fixed 1024-byte global BSS buffer without any bounds checking. When a routing script calls construct_uri() with an attacker-controlled username, a combined component length exceeding 1024 bytes overflows the buffer, corrupting adjacent global data with attacker-controlled content. The overflow reaches disable_503_translation, a global flag controlling SIP 503 response handling, allowing an attacker to deterministically set the flag via the URI username and alter the server's routing behavior for subsequent messages. Because the same buffer is shared with contact_builder(), the overflow also corrupts that function's data, and without a memory sanitizer the adjacent globals are silently overwritten on every request containing a long username. This issue has been fixed in versions 3.6.6 and 4.0.0-rc1.
Affected packages
| Ecosystem | Package | Introduced | Fixed |
|---|
Related vulnerabilities
- CVE-2026-121603 Solanum before commit 2ea1382 contains a buffer overflow vulnerability in ms_kill() that… CWE-120
- CVE-2026-109161 Insufficient bounds checking in the Digital I/O function may allow a remote attacker with… CWE-120
- CVE-2026-76955 A buffer overflow vulnerability in the zdp_wtp binary in Zyxel NWA110AX firmware versions… CWE-120
- CVE-2026-120057 psqlODBC copies the reply to a large-object read (loread) into the application's buffer… CWE-120
- CVE-2026-106804 A stack-based buffer overflow exists in Kamailio v6.1.3 and v6.1.4 in the ims_qos_npn… CWE-120
- CVE-2026-120241 A vulnerability was identified in Ruijie RG-ES205GC, RG-ES206GC-P, RG-ES208GC… CWE-120
- CVE-2026-120226 A security vulnerability has been detected in Hangzhou Xiongmai Technology P2PAPI.dll… CWE-120
- CVE-2026-119146 ProFTPD before 1.3.9e and 1.3.10rc5 contains a buffer overflow vulnerability in the… CWE-120