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.
CVE-2026-50161
This critical-severity CVE scores 9.3 under a secondary CVSS source (NVD's own analysis pending). EPSS exploit probability: 0.4%, top 69% of all CVEs by exploit prediction. GitHub Security Advisory data not yet ingested — confidence will rise once GHSA publishes (typical lag: hours to days for open-source ecosystem CVEs; never for infrastructure-only CVEs).
- High severity, but no confirmed exploitation yet
No vendor fix yet — apply a workaround or compensating control (WAF / firewall / segmentation) and watch for a patch.
- CVSS v3
- 9.3
- EG Score
- 9.3(medium)
- EG Risk
- 57(Track)EG Risk 57/100SSVC: Track
EG Risk is EchelonGraph's 0–100 priority score: it fuses intrinsic severity with real-world exploitation and automatability so you can rank equal-severity CVEs and fix the most dangerous first. Higher = act sooner. Distinct from the 0–10 EG Score (severity).
How it’s computedSeverity93% × 45%Exploitation0% × 40%Automatability100% × 15%Action: Routine — remediate on your standard cadence. - EPSS PROB
- 0%
- EPSS %ILE
- 31%
- KEV
- Not listed
Published
August 18, 2026
Last Modified
August 19, 2026
Advisory Details (4)
Auto-updated Aug 23, 2026Integer overflow in websock_decode() masked frame length check leads to heap buffer overflow · Advisory · baresip/re · GitHub
https://github.com/baresip/re/security/advisories/GHSA-hvxv-v2gp-v93hv4.8.1
Patch available: baresip/re v4.8.1
https://github.com/baresip/re/releases/tag/v4.8.1websock: Fix integer overflow in websock_decode() masked frame check
Patch available: baresip/re v4.8.1 (PR #1584 merged 2026-05-28)
https://github.com/baresip/re/pull/1584commit 718b92615c79 (baresip/re)
Patch available: baresip/re v4.8.1 (contains commit 718b92615c79)
https://github.com/baresip/re/commit/718b92615c7963670d26c1a2b246968b58d782e8Weakness Classification(2)
MITRE Common Weakness Enumeration — the root-cause categories this CVE belongs to.
Data Freshness Timeline
(refreshed 12× in last 7d / 25× in last 30d)
Each row is a source pipeline that fetched or updated this CVE on that date, with what changed. For example, "NVD update" means NVD published or revised its analysis for this CVE; "MITRE cvelistV5" means we ingested or refreshed it from the CNA feed. Most recent first.
- 2026-08-30 02:45 UTCEG score recompute
- 2026-08-30 01:22 UTCEPSS rescore
- 2026-08-29 03:47 UTCEG score recompute
- 2026-08-28 21:41 UTCEPSS rescore
- 2026-08-27 16:22 UTCEG score recompute
- 2026-08-27 14:25 UTCEPSS rescore
- 2026-08-26 18:13 UTCEG score recompute
- 2026-08-26 14:46 UTCEPSS rescore
- 2026-08-25 15:08 UTCEG score recompute
- 2026-08-25 13:49 UTCEPSS rescore
- 2026-08-24 17:11 UTCEG score recompute
- 2026-08-24 09:51 UTCEG score recompute
- 2026-08-23 00:55 UTCEG score recompute
- 2026-08-23 00:19 UTCEPSS rescore
- 2026-08-22 02:59 UTCEG score recompute
- 2026-08-21 23:49 UTCEPSS rescore
- 2026-08-21 01:23 UTCEG score recompute
- 2026-08-20 22:55 UTCEPSS rescore
- 2026-08-19 20:09 UTCEG score recompute
- 2026-08-19 17:04 UTCEPSS rescore
- 2026-08-19 16:26 UTCEG score recompute
- 2026-08-19 15:22 UTCEG score recompute
- 2026-08-18 18:22 UTCEG score recompute
- 2026-08-18 18:06 UTCEG score recompute
- 2026-08-18 18:04 UTCMITRE cvelistV5first tracked
Frequently asked(5)
What is CVE-2026-50161?
When was CVE-2026-50161 disclosed?
Is CVE-2026-50161 actively exploited?
What is the CVSS score of CVE-2026-50161?
How do I remediate CVE-2026-50161?
Dependency Blast Radius
Explore the affected products and dependency analysis for CVE-2026-50161
Is Your Infrastructure Affected by CVE-2026-50161?
EchelonGraph automatically scans your cloud infrastructure and maps CVE exposure using blast radius analysis.