OpenSIPS: Global Buffer Overflow in construct_uri
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Impact type
- —
- Confidentiality · integrity · availability
- None · High · High
- Fix status
- Fixed
Attack profile from CVSS 3.1 · CNA. Fix status from CNA.
Summary
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.
Why it matters now
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
Remediation
- Fix · CNA opensips (OpenSIPS) Fixed in 3.6.6, 4.0.0-rc1
Vendor assessments
Timeline
- 2026-10-02 Threatist record created from CVE-2026-45537
- 2026-10-31 EPSS moved to the 50th–90th percentile
References
More OpenSIPS vulnerabilities
- TI-2026-33290 OpenSIPS: Stack Buffer Overflow in sip_to_json() Header Name Copy CVSS 3.1CRITICAL 9.8
- 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
Sources
- CVE-2026-45537 · CVE Program
- CVE-2026-45537 · NVD
- FIRST EPSS
- CVE-2026-45537 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences