PT-2026-67851 · Opensips · Opensis
CVE-2026-45538
·
Published
2026-08-04
·
Updated
2026-08-04
CVSS v3.1
9.8
Critical
| Vector | AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
Name of the Vulnerable Software and Affected Versions
OpenSIPS versions prior to 4.0.1
Description
A stack buffer overflow occurs when processing a SIP message containing a header name longer than 255 bytes. This happens when the routing script calls the
sip to json() function, which copies header names into a fixed 255-byte stack buffer without performing bounds checking. Because the SIP parser allows header names up to approximately 65,000 bytes, an attacker can send a single unauthenticated UDP packet to the SIP port (5060) to control the length and content of the overwrite. This can lead to process crashes or remote code execution by corrupting the saved frame pointer and return address on builds lacking stack protections.Recommendations
As a temporary workaround, avoid invoking the
sip to json() function within the routing script.
At the moment, there is no information about a newer version that contains a fix for this vulnerability.Exploit
RCE
Stack Overflow
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Opensis