CVE-2026-50161
Last modified
CVE-2026-50161 is a critical-severity vulnerability rated 9.3/10 on the CVSS scale. libre is a generic library for real-time communications with asynchronous input and output support. Prior to 4.8.1, the websock_decode() function in src/websock/websock.c contains an integer overflow when validating a masked WebSocket frame that uses the 64-bit extended length encoding. EPSS estimates a 0.38% chance of exploitation in the next 30 days.
Description
libre is a generic library for real-time communications with asynchronous input and output support. Prior to 4.8.1, the websock_decode() function in src/websock/websock.c contains an integer overflow when validating a masked WebSocket frame that uses the 64-bit extended length encoding. The expression 4 + hdr->len can wrap when hdr->len is close to UINT64_MAX, causing the mbuf_get_left() bounds check to pass. The subsequent XOR unmasking loop then writes beyond the heap buffer. Applications using websock_accept() or websock_accept_proto() to implement a WebSocket server are affected, and exploitation can cause attacker-controlled heap corruption or denial of service after the HTTP WebSocket upgrade handshake. This issue is fixed in version 4.8.1.
Metrics
Weakness Enumeration
Affected Software
Source: CNA advisory (CVE.org). NVD analysis pending.
| Vendor | Product | Versions |
|---|---|---|
| baresip | re | < 4.8.1 |
References
Timeline
- Published
- Last Modified
- Status
- Deferred
Frequently Asked Questions
What is CVE-2026-50161?
How severe is CVE-2026-50161?
How do I fix CVE-2026-50161?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-50152Ceph is an open-source distributed storage platform providin…9.1
- CVE-2026-50157Auth0 Symfony is a Symfony SDK for Auth0 Authentication and …6.5
- CVE-2026-50158yutu is an AI-powered toolkit for managing and growing YouTu…7.7
- CVE-2026-50159Mermaid is a JavaScript tool that uses Markdown-inspired tex…5.3
- CVE-2026-5016A vulnerability was identified in elecV2 elecV2P up to 3.8.3…7.3
- CVE-2026-50160Hoppscotch is an API development ecosystem. In self-hosted d…10
- CVE-2026-50162oras-go is a Go library for managing OCI artifacts. Prior to…6.9
- CVE-2026-50163oras-go is a Go library for managing OCI artifacts. Prior to…7.1
- CVE-2026-50165alf.io is an open source ticket reservation system for confe…7.1
- CVE-2026-50166Kuma is a modern Envoy-based service mesh that can run on ev…5.5
- CVE-2026-50167Kurrier is a modern, self-hosted workspace for email, calend…5.3
- CVE-2026-50168Angular is a development platform for building mobile and de…8.2
Are you affected by CVE-2026-50161?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
