8.7high
Libevent: `evtag_unmarshal_header()` decodes a wire `uint32` length into a signed `int` return value.
- Severity
- 8.7high CVSS:4.0 by GitHub_M
- Exploit likelihood
- 0.49% (higher than 43% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- GitHub_M
Description
Libevent is an event notification library. Prior to 2.1.13 and 2.2.2-alpha, libevent has an incorrect integer conversion in event_tagging.c when evtag_unmarshal_header uses evtag_decode_int to decode an attacker-controlled uint32 payload length and returns it as a signed int. Values above INT_MAX become negative or truncated, and evtag_unmarshal_string can use the converted value in allocation sizing, producing a wrapped large allocation request and denial of service. This issue is fixed in versions 2.1.13 and 2.2.2-alpha.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| libevent libevent | >= 2.2.0-alpha, < 2.2.2-alpha, < 2.1.13 | CVE List |
Classification
SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact partial.
What each source says
CVE List
Libevent is an event notification library. Prior to 2.1.13 and 2.2.2-alpha, libevent has an incorrect integer conversion in event_tagging.c when evtag_unmarshal_header uses evtag_decode_int to decode an attacker-controlled uint32 payload length and returns it as a signed int. Values above INT_MAX become negative or truncated, and evtag_unmarshal_string can use the converted value in allocation sizing, producing a wrapped large allocation request and denial of service. This issue is fixed in versions 2.1.13 and 2.2.2-alpha.
NVD (es)
Libevent es una biblioteca de notificación de eventos. Antes de las versiones 2.1.13 y 2.2.2-alpha, libevent tiene una conversión de entero incorrecta en event_tagging.c cuando evtag_unmarshal_header usa evtag_decode_int para decodificar una longitud de carga útil uint32 controlada por el atacante y la devuelve como un entero con signo. Valores superiores a INT_MAX se vuelven negativos o truncados, y evtag_unmarshal_string puede usar el valor convertido en el dimensionamiento de la asignación, produciendo una solicitud de asignación grande envuelta y denegación de servicio. Este problema está corregido en las versiones 2.1.13 y 2.2.2-alpha.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-63384 changed 2026-08-20 | CVE Terms of Use |
| NVD | CVE-2026-63384 changed 2026-10-26 | Public domain |