Skip to main content
VulnerabilityPublished

CVE-2026-50161: baresip re · Integer Overflow or Wraparound

Affects baresip reSource CVE Database V5

0
Compare

Not known to be exploited · CVSS 9.3 Critical : upgrade to 4.8.1 as a priority.

Data as of 15 Nov 2026, 20:25 UTC

CVSS 4.0 base score
9.3Critical
How severe the flaw is on the 0–10 CVSS scale.
EPSS
0.7% chance of exploitation in 30 days – higher than 54% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
Patch
Available – fixed in 4.8.1
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 18 Aug 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 15 Nov 2026.

What to do

Upgrade re and baresip/re to 4.8.1.

Affected software

ProductAffectedFixed in
baresipreAffected
  • <4.8.1
Fixed in
  • 4.8.1
GitHubbaresip/repkg:github/baresip/reOther threatsAffected
  • <4.8.1
Fixed in
  • 4.8.1

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

AI-suggested

Upgrade to baresip re version 4.8.1 or later, where this integer overflow and heap buffer overflow vulnerability is fixed. No other mitigation is required once the official fix is applied.

Description

An integer overflow vulnerability exists in the websock_decode() function of the baresip re library prior to version 4.8.1. This occurs when validating a masked WebSocket frame with 64-bit extended length encoding, allowing a wraparound in the calculation 4 + hdr->len. This leads to a bounds check bypass and subsequent heap buffer overflow during XOR unmasking. Applications using websock_accept() or websock_accept_proto() to implement WebSocket servers are affected. Exploitation can cause heap corruption or denial of service after the HTTP WebSocket upgrade handshake. The issue is fixed in version 4.8.1.

References

Community reviews

Loading reviews…