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.
[
{
"signature_version": "v1",
"source": "https://github.com/weechat/weechat/commit/8b1331f98de1714bae15a9ca2e2b393ba49d735b",
"deprecated": false,
"target": {
"file": "src/plugins/relay/relay-websocket.c",
"function": "relay_websocket_decode_frame"
},
"signature_type": "Function",
"id": "CVE-2021-40516-353cee5b",
"digest": {
"function_hash": "90984801403705773734291904413682159646",
"length": 1292.0
}
},
{
"signature_version": "v1",
"source": "https://github.com/weechat/weechat/commit/8b1331f98de1714bae15a9ca2e2b393ba49d735b",
"deprecated": false,
"target": {
"file": "src/plugins/relay/relay-websocket.c"
},
"signature_type": "Line",
"id": "CVE-2021-40516-f0fe135d",
"digest": {
"line_hashes": [
"185022148163257089434961016404046252569",
"184744754322552087026858270309936591790",
"191183726525295947973913069477825404381",
"68668294676952027065538799851858869832",
"60044029408785289657743013144701600498",
"53318637778942654248644030389717365042",
"53534688126527754786968734116397354900",
"140022038909199881189320215257515401726",
"268943608237821586650034687314187702877",
"285334332598187027351225037205398649593",
"255007784547851831597708940877279823122",
"173371007676917502685001025229199806348",
"226270972019004488545873450194490022194",
"324481065871207876708782365308912011591",
"11404280253700365656450875383320078459",
"114194268252433711824331716049407082525",
"137109977297919328510141836220320587523",
"242376844075321787239986594644343304784",
"316063017631408290107575463454114821044",
"142928069766618059012610996476402069099"
],
"threshold": 0.9
}
}
]