Skip to main content
Mallory
← Back to News
internet-facing-service-vulnerabilitywidely-deployed-product-advisory

Critical OpenSIPS Buffer Overflow in Base64 SIP Header Processing

Vulnerability Disclosure · 3 sources · Updated 3mo ago · First seen Aug 5, 2026

Critical OpenSIPS Buffer Overflow in Base64 SIP Header Processing

OpenSIPS disclosed CVE-2026-45100, a critical remotely exploitable buffer overflow in the {s.b64encode} string transformation affecting versions 3.4.0-beta through 3.6.5 and 4.0.0-beta. The flaw stems from validating only the pre-encoding input against a 64 KB buffer, even though Base64 expansion can increase output size enough to overflow the buffer by up to 21,844 bytes. An attacker can trigger the issue by sending a SIP message with a very large header value when an OpenSIPS routing script applies {s.b64encode} to attacker-controlled data.

The overflow can corrupt adjacent transformation buffers and alter values used by later transformations processing the same SIP message, creating integrity and availability risk. OpenSIPS addressed the issue through code changes that enforce stricter bounds checks on input-derived lengths and related parsing logic across the codebase, including Base64 encoding and other buffer-sensitive components. The vendor fixed the vulnerability in OpenSIPS 3.6.6 and 4.0.0-rc1; the flaw is tracked as CWE-120 and carries a CVSS 9.1 rating.

Do you run this?See affected versions and whether adversaries are exploiting it.
Check your exposure
Event timeline

How this story unfolded

Events from the most recent confirmed update back to the earliest known activity.

2 events · May 13, 2026 – Aug 4, 2026
  1. Aug 4, 20264mo ago

    CVE-2026-45100 published for OpenSIPS base64 buffer overflow

    On August 4, 2026, CVE-2026-45100 was published describing a critical remote buffer overflow in OpenSIPS {s.b64encode} affecting versions 3.4.0-beta through 3.6.5 and 4.0.0-beta before 4.0.0-rc1. The disclosure states the flaw was fixed in OpenSIPS 3.6.6 and 4.0.0-rc1 and assigned a CVSS 9.1 score.

    CVE-2026-45100 - OpenSIPS: Buffer Overflow in Base64 Encode Transformation
  2. May 13, 20266mo ago

    OpenSIPS commits bounds-check fixes in 3.6 and 4.0 branches

    On May 13, 2026, OpenSIPS committed fixes that add bounds checks for input-derived lengths, including correcting the base64 output length check in transformations.c to account for 4/3 expansion. The changes were committed in both the 3.6 and 4.0 branches via commits 4d23613 and 5f103ef.

    core: enforce bounds checks on input-derived lengths (#3888) · OpenSIPS/opensips@4d23613 · GitHub
Linked entities

Related entities

Vulnerabilities, threat actors, malware, products, organizations, and breaches Mallory has linked to this story.

Open in app →

Affected products

1 linked
Opensips

Organizations

1 linked
Opensips
Do you run this?See whether adversaries are exploiting this yet, and where the affected versions run in your environment.
Check Your Exposure
Mallory platform

See the full picture, correlated to your attack surface.

This page covers what’s public. Mallory adds the parts that aren’t: which of your assets are affected, which threat actors are using it right now, and what to deploy next.

Exposure mappingMap indicators from this story to your assets and identify affected systems in minutes.
Threat actor evidenceEvery observed campaign, victim, and pivot linked to actors named in this story.
Associated malwareMalware, exploits, and IOCs connected to the activity described here.
Detection signaturesYARA, Sigma, and Snort rules deployed to your SIEM as soon as they’re published.
Scheduled alertsGet matching new stories delivered to your team as they break, not the next morning.
AI threadsAsk questions about this story and take action on the answers.