Stack-based buffer overflow in libevent - #VU136937

 

Stack-based buffer overflow in libevent - #VU136937

Published: July 6, 2026


Vulnerability identifier: #VU136937
CSH Severity: Low
CVSS v4: 8.4 [CVSS:4.0/AV:L/AC:L/AT:N/PR:H/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N]
CVE-ID: N/A
CWE-ID: CWE-121
Exploitation vector: Local access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a local privileged user to execute arbitrary code.

The vulnerability exists due to stack-based buffer overflow in sample/http-server main() when processing a user-supplied Unix-domain socket path via the -U command-line argument. A local privileged user can supply an overly long socket path to execute arbitrary code.

Only builds and deployments that compile and use the sample/http-server example with Unix-domain socket support are affected.


Affected software

libevent

Remediation

Install security update from vendor's website.

libevent - update to 2.2.2 alpha

External References

Related Security Bulletins