top of page
perceptive_background_267k.jpg

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

Click to open the original link from this advisory

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:

Related CVE's:

Related threat actors:

IOC's:

This article was created with the assistance of AI technology by Perceptive.

© 2025 by Perceptive Security. All rights reserved.

email: info@perceptivesecurity.com

Disclaimer: Deze website toont informatie afkomstig van externe bronnen. Perceptive aanvaardt geen verantwoordelijkheid voor de inhoud, juistheid of volledigheid van deze informatie.

bottom of page