CVE-2026-54535: OpenSIPS b2b_sca build_appearanceURI() Buffer Overflow
A buffer-size calculation error in the OpenSIPS b2b_sca module's build_appearanceURI() function causes a heap or global buffer overflow. The function sizes the destination using the raw SIP From display-name length but writes its expanded, escaped representation. A crafted display name containing five or more escapable characters can overrun the buffer by approximately 75 bytes with attacker-controlled data, corrupting memory and crashing an OpenSIPS worker.
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.
Successful exploitation can crash an OpenSIPS worker and cause denial of service through attacker-controlled memory corruption. The published CVSS v4.0 assessment assigns a score of 8.3, with high availability impact, low integrity impact, and no confidentiality impact. Code execution has not been demonstrated.
Mitigation
If you can’t patch tonight, do this now.
Disable the affected SCA/BLF functionality or avoid invoking sca_init_request() on untrusted traffic. Authenticate endpoints before SCA processing to reduce unauthenticated exposure. Authentication does not prevent exploitation by authenticated subscribers, and SIP digest authentication does not protect the From display name.
Remediation
Patch, then assume compromise.
Upgrade OpenSIPS 4.0.x to version 4.0.1 or later, or OpenSIPS 3.6.x to version 3.6.7 or later. A source-level correction should allocate sufficient space for worst-case twofold display-name expansion or verify that the escaped display name, URI, and delimiters fit the destination buffer before writing.
Exploits
No public exploits tracked yet. Mallory keeps watching.
References
Frequently asked questions
- Is CVE-2026-54535 exploited in the wild?
- As of Nov 25, 2026, Mallory has no reports of CVE-2026-54535 being exploited in the wild. It is not listed in CISA KEV.
- Is there a public exploit for CVE-2026-54535?
- As of Nov 25, 2026, Mallory has found no public exploit for CVE-2026-54535.
- Is there a patch for CVE-2026-54535?
- Upgrade OpenSIPS 4.0.x to version 4.0.1 or later, or OpenSIPS 3.6.x to version 3.6.7 or later. A source-level correction should allocate sufficient space for worst-case twofold display-name expansion or verify that the escaped display name, URI, and delimiters fit the destination buffer before writing.
Recent activity
1 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.