Description
Libevent is an event notification library. Prior to 2.1.13 and 2.2.2-alpha, libevent has an off-by-one stack buffer overflow in evdns.c when dnsname_to_labels formats a name-bearing DNS record at the end of the 64 KB stack buffer allocated by evdns_server_request_format_response. The final-label check permits j plus label_len plus one to equal buf_len, after which the terminating null byte is written to buf[buf_len]. A crafted DNS server response containing PTR, CNAME, MX, NS, or SOA data can trigger the one-byte out-of-bounds write and crash or corrupt the process. This issue is fixed in versions 2.1.13 and 2.2.2-alpha.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| libevent | libevent | >= 2.2.0-alpha, < 2.2.2-alpha, < 2.1.13 | — |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | libevent | 2.1.13-stable-1 | — |
| Debian 13 | libevent | 2.1.13-stable-1~deb13u1 | — |
| Debian 12 | libevent | 2.1.12-stable-8+deb12u1 | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 26.04 LTS | libevent | 2.1.12-stable-10ubuntu0.2 | USN-8840-1 |
| Ubuntu 24.04 LTS | libevent | 2.1.12-stable-9ubuntu2.2 | USN-8840-1 |
| Ubuntu 22.04 LTS | libevent | 2.1.12-stable-1ubuntu0.2 | USN-8840-1 |
Show 4 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu Pro 20.04 LTS | libevent | 2.1.11-stable-1ubuntu0.1~esm2 | USN-8840-1 |
| Ubuntu Pro 18.04 LTS | libevent | 2.1.8-stable-4ubuntu0.1~esm2 | USN-8840-1 |
| Ubuntu Pro 16.04 LTS | libevent | 2.0.21-stable-2ubuntu0.16.04.1+esm2 | USN-8840-1 |
| Ubuntu Pro 14.04 LTS | libevent | 2.0.21-stable-1ubuntu1.14.04.2+esm2 | USN-8840-1 |
Red Hat
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| RHEL 10 | libevent +2 | 2.1.13-1.el10_2 | RHSA-2026:67909 |
| RHEL 9 | libevent +2 | 2.1.13-1.el9_8 | RHSA-2026:67910 |
| RHEL 8 | libevent +2 | 2.1.8-11.el8_10 | RHSA-2026:67908 |
Show 1 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Red Hat Hardened Images 1 | libevent +2 | 2.1.13-0.1.hum1 | RHSA-2026:63388 |
AlmaLinux
Errata ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| AlmaLinux 10 | libevent +2 | 2.1.13-1.el10_2 | ALSA-2026:67909 |
| AlmaLinux 9 | libevent +2 | 2.1.13-1.el9_8 | ALSA-2026:67910 |
| AlmaLinux 8 | libevent +2 | 2.1.8-11.el8_10 | ALSA-2026:67908 |
Rocky Linux
Errata ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Rocky Linux 10 | libevent | 2.1.13-1.el10_2 | RLSA-2026:67909 |
| Rocky Linux 9 | libevent | 2.1.13-1.el9_8 | RLSA-2026:67910 |
| Rocky Linux 8 | libevent | 2.1.8-11.el8_10 | RLSA-2026:67908 |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Tumbleweed | libevent | 2.1.13-1.1 | openSUSE-SU-2026:12330-1 |
Azure Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Azure Linux 3 | libevent | 2.1.13-1 | — |
| Azure Linux 3 | libtevent | No fix yet | — |
| Azure Linux 3 | mysql | 8.0.46-2 | — |
| Azure Linux 3 | ntp | 4.2.8p17-3 | — |
Oracle Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Oracle Linux 10 | libevent +2 | 2.1.13-1.el10_2 | ELSA-2026-67909 |
| Oracle Linux 9 | libevent +2 | 2.1.13-1.el9_8 | ELSA-2026-67910 |
| Oracle Linux 8 | libevent +2 | 2.1.8-11.el8_10 | ELSA-2026-67908 |
Advisories 16
- WID-SEC-2026-3419 Red Hat Enterprise Linux (corosync, libevent, libsoup): Mehrere Schwachstellen BSI CERT-Bund (WID) · Nov 12, 2026
- openSUSE-SU-2026:12330-1 libevent-2_1-7-2.1.13-1.1 on GA media SUSE / openSUSE Security Updates · Oct 29, 2026
- ALSA-2026:67910 Important: libevent security update AlmaLinux Security Advisories · Oct 29, 2026
- ALSA-2026:67909 Important: libevent security update AlmaLinux Security Advisories · Oct 29, 2026
- ALSA-2026:67908 Important: libevent security update AlmaLinux Security Advisories · Oct 29, 2026
- RHSA-2026:67910 Red Hat Security Advisory: libevent security update Red Hat Security Advisories (RHSA) · Oct 20, 2026
- RHSA-2026:67909 Red Hat Security Advisory: libevent security update Red Hat Security Advisories (RHSA) · Oct 20, 2026
- RHSA-2026:67908 Red Hat Security Advisory: libevent security update Red Hat Security Advisories (RHSA) · Oct 20, 2026
- RHSA-2026:63388 Red Hat Security Advisory: Red Hat Hardened Images RPMs Security Update Red Hat Security Advisories (RHSA) · Oct 20, 2026
- USN-8840-1 libevent vulnerabilities Ubuntu Security Notices (USN) · Sep 29, 2026
- RLSA-2026:67908 Important: libevent security update Rocky Linux Security Advisories · Sep 17, 2026
- RLSA-2026:67909 Important: libevent security update Rocky Linux Security Advisories · Sep 17, 2026
- RLSA-2026:67910 Important: libevent security update Rocky Linux Security Advisories · Sep 17, 2026
- ELSA-2026-67908 Important: libevent security update (Oracle Linux 8) Oracle Linux Security Advisories (ELSA) · Sep 17, 2026
- ELSA-2026-67909 Important: libevent security update (Oracle Linux 10) Oracle Linux Security Advisories (ELSA) · Sep 16, 2026
- ELSA-2026-67910 Important: libevent security update (Oracle Linux 9) Oracle Linux Security Advisories (ELSA) · Sep 16, 2026