Out-of-bounds Read Affecting weechat package, versions <1.9.1-1ubuntu1+esm1


Severity

Recommended
medium

Based on Ubuntu security rating.

Threat Intelligence

EPSS
1.59% (73rd percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-UBUNTU1804-WEECHAT-1583749
  • published22 Mar 2026
  • disclosed5 Sept 2021

Introduced: 5 Sep 2021

CVE-2021-40516  (opens in a new tab)
CWE-125  (opens in a new tab)

How to fix?

Upgrade Ubuntu:18.04 weechat to version 1.9.1-1ubuntu1+esm1 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream weechat package and not the weechat package as distributed by Ubuntu. See How to fix? for Ubuntu:18.04 relevant fixed versions and status.

WeeChat before 3.2.1 allows remote attackers to cause a denial of service (crash) via a crafted WebSocket frame that trigger an out-of-bounds read in plugins/relay/relay-websocket.c in the Relay plugin.

CVSS Base Scores

version 3.1