CVE-2026-54539: OpenSIPS Multipart SIP Body Integer Underflow Denial of Service
CVE-2026-54539 is an integer-underflow and out-of-bounds memory-read vulnerability in OpenSIPS multipart SIP body processing. A malformed multipart body causes parse_single_part() to produce a negative part body length, which reassemble_body_parts() converts into an approximately 4 GiB memcpy size. When the server configuration parses the body before forwarding, a single unauthenticated request can crash a worker and cause OpenSIPS to terminate the entire instance. Header-only relay processing does not reach this vulnerable execution path.
Impact, mitigation & remediation
What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.
Impact
What an attacker gets, and what they’ve been doing with it.
A remote, unauthenticated attacker can cause complete OpenSIPS service unavailability with a single crafted SIP request over UDP, TCP, TLS, WS, or WSS. The oversized memory copy crashes a worker, and OpenSIPS subsequently terminates the entire instance. No confidentiality or integrity impact, controllable memory-access primitive, or code execution is established. The assigned CVSS 3.1 score is 7.5 (AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H).
Mitigation
If you can’t patch tonight, do this now.
Where operationally feasible, temporarily use header-only relay processing and avoid parsing message bodies before forwarding. Review or disable body-processing paths such as rtpproxy/rtpengine offer/answer, nathelper fix_nated_sdp, body pseudo-variables including $rb(mime) and $ct(idx), sipmsgops body operations, and sip_i/b2b/siprec/topology-hiding functionality. Keeping msg->body NULL prevents reassemble_body_parts() from being reached, but disabling these paths may disrupt required SIP functionality.
Remediation
Patch, then assume compromise.
Upgrade affected OpenSIPS 4.0.x installations to 4.0.1 and affected 3.6.x installations to 3.6.7. The source fix checks the body length computed by parse_single_part(); if negative, it sets part->body.s to end and part->body.len to zero. Correcting the length at its source protects both downstream memory copies and output-buffer length estimation.
Exploits
No public exploits tracked yet. Mallory keeps watching.
References
Frequently asked questions
- Is CVE-2026-54539 exploited in the wild?
- As of Nov 25, 2026, Mallory has no reports of CVE-2026-54539 being exploited in the wild. It is not listed in CISA KEV.
- Is there a public exploit for CVE-2026-54539?
- As of Nov 25, 2026, Mallory has found no public exploit for CVE-2026-54539.
- Is there a patch for CVE-2026-54539?
- Upgrade affected OpenSIPS 4.0.x installations to 4.0.1 and affected 3.6.x installations to 3.6.7. The source fix checks the body length computed by parse_single_part(); if negative, it sets part->body.s to end and part->body.len to zero.
Recent activity
2 sources tracked across advisories and community write-ups. News coverage will land here when it surfaces.
No news coverage yet. Advisories and community discussion only.