Zero Day MonitorZDM
DashboardVulnerabilitiesTrendingZero-DaysNewsAbout
Login
ImpressumPrivacy Policy
Zero Day Monitor © 2026
4002 articles · 197512 vulns · 37/41 feeds (7d)
← Back to list
9.8
CVE-2026-45538
opensips · opensips

OpenSIPS: Stack Buffer Overflow in sip_to_json() Header Name Copy

Description

OpenSIPS is a Session Initiation Protocol (SIP) server implementation. In versions 4.0.0 and prior, processing a SIP message with a header name longer than 255 bytes causes a stack buffer overflow when sip_to_json() is called in the routing script. Function sip_to_json() (modules/sipmsgops/sipmsgops.c) copies SIP header names into a fixed 255-byte stack buffer without bounds checking, performing a memcpy of the full header-name length even though the SIP parser imposes no such limit (a header name can be roughly 65000 bytes). As a result, when a routing script calls sip_to_json(), a SIP message with a header name longer than 255 bytes triggers a stack buffer overflow in which both the length and content of the overwrite are attacker-controlled, corrupting the saved frame pointer and return address. A single unauthenticated UDP packet to the SIP port (5060) can crash the process or, on builds without stack protections, hijack the return address to achieve remote code execution. This affects deployments whose routing script invokes sip_to_json(). This issue was not fixed at the time of publication.

Affected Products

VendorProductVersions
opensipsopensips<= 4.0.0

References

  • https://github.com/OpenSIPS/opensips/security/advisories/GHSA-37wc-5j8j-95x3(x_refsource_CONFIRM)

Related News (1 articles)

Tier C
VulDB21d ago
CVE-2026-45538 | OpenSIPS up to 4.0.0 SIP Message sipmsgops.c sip_to_json stack-based overflow
→ No new info (linked only)
CVSS 3.19.8 CRITICAL
VectorCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CISA KEV❌ No
Actively exploited❌ No
CWECWE-121
PublishedAug 4, 2026
Trending Score6
Source articles1
Independent1
Info Completeness0/14
Missing: cve_id, title, description, vendor, product, versions, cvss, epss, cwe, kev, exploit, patch, iocs, mitre_attack

Community Vote

0
Login to vote
0 upvotes0 downvotes
No votes yet

Related CVEs (5)

CRITICALCVE-2026-45537
OpenSIPS: Global Buffer Overflow in construct_uri
Trending: 6
HIGHCVE-2026-45103
OpenSIPS: SIP Message Smuggling via TCP Content-Length Integer Overflow
Trending: 5
CRITICALCVE-2026-45100
OpenSIPS: Buffer Overflow in Base64 Encode Transformation
Trending: 5
NONECVE-2026-45084
OpenSIPS: Denial of service in presence.handle_publish() from unchecked Content-Type state
Trending: 4
NONECVE-2026-45809
OpenSIPS: Denial of Service in watcherinfo XML generation from oversized watcher URI
Trending: 4

Pin to Dashboard

Verification

State: unverified
Confidence: 0%

Vulnerability Timeline

CVE Published
Aug 4, 2026
Discovered by ZDM
Aug 4, 2026