Use-after-free in libevent - #VU136951

 

Use-after-free in libevent - #VU136951

Published: July 6, 2026


Vulnerability identifier: #VU136951
CSH Severity: Medium
CVSS v4: 8.2 [CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N]
CVE-ID: N/A
CWE-ID: CWE-416
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote attacker to cause a denial of service.

The vulnerability exists due to use-after-free in evws_new_session when handling error paths after evhttp_start_ws_ frees the request object. A remote attacker can trigger a subsequent call that uses the freed request object to cause a denial of service.

The advisory states that this condition was not found to be reachable because the null pointer dereference is hit first.


Affected software

libevent

Remediation

Install security update from vendor's website.

libevent - update to 2.2.2 alpha

External References

Related Security Bulletins