Read the docs
TI-2026-32940 Aliases CVE-2026-45100

OpenSIPS: Buffer Overflow in Base64 Encode Transformation

Priority HIGH 78CWE-120Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
None
Attack complexity
Low
Impact type
—
Confidentiality · integrity · availability
None · High · High
Fix status
Fixed

Attack profile from CVSS 3.1 · CNA. Fix status from CNA.

Summary

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.b64encode} string transformation. The size check for {s.b64encode} only verifies that the input fits within the 64 KB transformation buffer, but base64 encoding expands the data by roughly a third, so an input between about 49,153 and 65,535 bytes produces more output than the buffer can hold and overflows it by up to 21,844 bytes. Because these transformation buffers sit next to each other in memory and are reused for chained transformations, the overflow writes attacker-controlled data into the adjacent buffer and corrupts values used by later transformations processing the same SIP message. A remote attacker can trigger this by sending a SIP message with a large header value (roughly 50,000 bytes or more) when the routing script applies  {s.b64encode}  to attacker-controlled input, making exploitability dependent on the deployment's routing configuration. This issue has been fixed in versions 3.6.6 and 4.0.0-rc1.

Why it matters now

Exploitation Proof of concept CISA SSVC · not in CISA KEV
EPSS 0.00834 57th percentileScored 2026-11-07
Fix Fixed opensips (OpenSIPS): 3.6.6, 4.0.0-rc1

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
Poc
Automatable
Yes
Technical impact
Partial

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
OpenSIPSopensips3.4.0-beta to before 3.6.6; 4.0.0-beta to before 4.0.0-rc13.6.6, 4.0.0-rc1Patch availableCNA
  • opensips VendorOpenSIPS Affected 3.4.0-beta to before 3.6.6; 4.0.0-beta to before 4.0.0-rc1 Fixed in 3.6.6, 4.0.0-rc1 Patch available CNA

CPE names Threatist (inferred) · 1

Inferred from how NVD named this product before; not given by a source.

CPEVersionsRoleVendor
cpe:2.3:a:opensips:opensips:*:*:*:*:*:*:*:*——OpenSIPS
  • cpe:2.3:a:opensips:opensips:*:*:*:*:*:*:*:* Versions — — ·OpenSIPS

Remediation

  • Fix · CNA opensips (OpenSIPS) Fixed in 3.6.6, 4.0.0-rc1

Vendor assessments

Red Hat

Red Hat's page for this CVE →

Not affected: 1 product
  • Red Hat

Timeline

  1. 2026-10-02 Threatist record created from CVE-2026-45100

References

  • TI-2026-33290 OpenSIPS: Stack Buffer Overflow in sip_to_json() Header Name Copy CVSS 3.1CRITICAL 9.8
  • TI-2026-33289 OpenSIPS: Global Buffer Overflow in construct_uri CVSS 3.1CRITICAL 9.1
  • TI-2026-34055 OpenSIPS: Denial of Service in SDP bandwidth parsing via QoS SDP cloning CVSS 4.0HIGH 8.7
  • TI-2026-33544 OpenSIPS: Denial of Service in watcherinfo XML generation from oversized watcher URI CVSS 4.0HIGH 8.7
  • TI-2026-32931 OpenSIPS: Denial of service in presence.handle_publish() from unchecked Content-Type state CVSS 4.0HIGH 8.7
  • TI-2026-32942 OpenSIPS: SIP Message Smuggling via TCP Content-Length Integer Overflow CVSS 3.1HIGH 7.5
See all 20 →

Sources