


Perceptive Security
SOC/SIEM Consultancy

OpenSIPS is a Session Initiation Protocol (SIP) server implementation. Versions 3.4.0-beta through 3.6.5 and 4.0.0-beta contain a buffer overflow in the {s.b64e…
Published:
3 August 2026 at 22:00:00
Alert date:
4 August 2026 at 23:03:20
Source:
nvd.nist.gov
Network Infrastructure, Web Technologies
OpenSIPS versions 3.4.0-beta through 3.6.5 and 4.0.0-beta contain a buffer overflow vulnerability in the {s.b64encode} string transformation. The flaw exists because the size check only verifies input fits within a 64 KB buffer, but base64 encoding expands data by roughly a third, causing inputs between ~49,153 and 65,535 bytes to overflow the buffer by up to 21,844 bytes. The overflow writes attacker-controlled data into adjacent transformation buffers in memory, corrupting values used by subsequent transformations on the same SIP message. A remote attacker can exploit this by sending a SIP message with a large header value (approximately 50,000 bytes or more) when the routing script applies {s.b64encode} to attacker-controlled input. Exploitability depends on the deployment's routing configuration. The issue has been patched in versions 3.6.6 and 4.0.0-rc1.
Technical details
Mitigation steps:
Affected products:
OpenSIPS 3.4.0-beta
OpenSIPS 3.6.5
OpenSIPS 4.0.0-beta
Related links:
https://nvd.nist.gov/vuln/detail/CVE-2026-45100
https://github.com/OpenSIPS/opensips/commit/4d23613b65579b073784a07a65d3bf52443a4efb
https://github.com/OpenSIPS/opensips/commit/5f103effaf5f372cccffe0b138f16998eba12668
https://github.com/OpenSIPS/opensips/security/advisories/GHSA-35fr-6rv9-vp68
Related CVE's:
Related threat actors:
IOC's:
This article was created with the assistance of AI technology by Perceptive.
