Libevent: Off-by-one stack buffer overflow in dnsname_to_labels via crafted DNS server response
CVE-2026-63387 is fixed in 8 products on 1 platform, first by libevent-2.1-7t64 2.1.12-stable-10ubuntu0.2, released August 20, 2026. It is not reported as exploited. Patch Radar priority: High.
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.
Where it's fixed
| Product | Fixed in | Fix | Released |
|---|---|---|---|
| Linux | |||
| libevent · Debian 12.15 (bookworm) | 2.1.12-stable-8+deb12u1 | DEBIAN-CVE-2026-63387 | Aug 21, 2026 |
| libevent · Debian 13.5 (trixie) | 2.1.13-stable-1~deb13u1 | DEBIAN-CVE-2026-63387 | Aug 21, 2026 |
| libevent · Debian 14 | 2.1.13-stable-1 | DEBIAN-CVE-2026-63387 | Aug 21, 2026 |
| libevent · RHEL 10 | 2.1.13-1.el10_2 | RHSA-2026:67909 | Sep 17, 2026 |
| libevent · RHEL 8 | 0:2.1.8-11.el8_10 | RHSA-2026:67908 | Sep 19, 2026 |
| libevent · RHEL 9 | 0:2.1.13-1.el9_8 | RHSA-2026:67910 | Sep 19, 2026 |
| libevent · almalinux 10 | 2.1.13-1.el10_2 | ALSA-2026:67909 | Sep 16, 2026 |
| libevent · almalinux 8 | 2.1.8-11.el8_10 | ALSA-2026:67908 | Sep 16, 2026 |
| libevent · almalinux 9 | 2.1.13-1.el9_8 | ALSA-2026:67910 | Sep 16, 2026 |
| libevent · ol 10 | 0:2.1.13-1.el10_2 | ELSA-2026-67909 | Sep 16, 2026 |
| libevent · ol 8 | 0:2.1.8-11.el8_10 | ELSA-2026-67908 | Sep 17, 2026 |
| libevent · ol 9 | 0:2.1.13-1.el9_8 | ELSA-2026-67910 | Sep 16, 2026 |
| libevent · rocky 10 | 0:2.1.13-1.el10_2 | RLSA-2026:67909 | Sep 17, 2026 |
| libevent · rocky 8 | 0:2.1.8-11.el8_10 | RLSA-2026:67908 | Sep 17, 2026 |
| libevent · rocky 9 | 0:2.1.13-1.el9_8 | RLSA-2026:67910 | Sep 17, 2026 |
| libevent-2.1-7t64 · Ubuntu 26.04.1 LTS (resolute) | 2.1.12-stable-10ubuntu0.2 | libevent-2.1-7t64 2.1.12-stable-10ubuntu0.2 | Aug 20, 2026 |
| libevent-core-2.1-7t64 · Ubuntu 26.04.1 LTS (resolute) | 2.1.12-stable-10ubuntu0.2 | libevent-core-2.1-7t64 2.1.12-stable-10ubuntu0.2 | Aug 20, 2026 |
| libevent-devel · RHEL 8 | 0:2.1.8-11.el8_10 | RHSA-2026:67908 | Sep 19, 2026 |
| libevent-devel · RHEL 9 | 0:2.1.13-1.el9_8 | RHSA-2026:67910 | Sep 19, 2026 |
| libevent-devel · almalinux 10 | 2.1.13-1.el10_2 | ALSA-2026:67909 | Sep 16, 2026 |
| libevent-devel · almalinux 8 | 2.1.8-11.el8_10 | ALSA-2026:67908 | Sep 16, 2026 |
| libevent-devel · almalinux 9 | 2.1.13-1.el9_8 | ALSA-2026:67910 | Sep 16, 2026 |
| libevent-devel · ol 10 | 0:2.1.13-1.el10_2 | ELSA-2026-67909 | Sep 16, 2026 |
| libevent-devel · ol 8 | 0:2.1.8-11.el8_10 | ELSA-2026-67908 | Sep 17, 2026 |
| libevent-devel · ol 9 | 0:2.1.13-1.el9_8 | ELSA-2026-67910 | Sep 16, 2026 |
| libevent-doc · RHEL 8 | 0:2.1.8-11.el8_10 | RHSA-2026:67908 | Sep 19, 2026 |
| libevent-doc · RHEL 9 | 0:2.1.13-1.el9_8 | RHSA-2026:67910 | Sep 19, 2026 |
| libevent-doc · almalinux 10 | 2.1.13-1.el10_2 | ALSA-2026:67909 | Sep 16, 2026 |
| libevent-doc · almalinux 8 | 2.1.8-11.el8_10 | ALSA-2026:67908 | Sep 16, 2026 |
| libevent-doc · almalinux 9 | 2.1.13-1.el9_8 | ALSA-2026:67910 | Sep 16, 2026 |
| libevent-doc · ol 10 | 0:2.1.13-1.el10_2 | ELSA-2026-67909 | Sep 16, 2026 |
| libevent-doc · ol 8 | 0:2.1.8-11.el8_10 | ELSA-2026-67908 | Sep 17, 2026 |
| libevent-doc · ol 9 | 0:2.1.13-1.el9_8 | ELSA-2026-67910 | Sep 16, 2026 |
| libevent-extra-2.1-7t64 · Ubuntu 26.04.1 LTS (resolute) | 2.1.12-stable-10ubuntu0.2 | libevent-extra-2.1-7t64 2.1.12-stable-10ubuntu0.2 | Aug 20, 2026 |
| libevent-openssl-2.1-7t64 · Ubuntu 26.04.1 LTS (resolute) | 2.1.12-stable-10ubuntu0.2 | libevent-openssl-2.1-7t64 2.1.12-stable-10ubuntu0.2 | Aug 20, 2026 |
| libevent-pthreads-2.1-7t64 · Ubuntu 26.04.1 LTS (resolute) | 2.1.12-stable-10ubuntu0.2 | libevent-pthreads-2.1-7t64 2.1.12-stable-10ubuntu0.2 | Aug 20, 2026 |
Patch Radar data is free to use with attribution. Terms and how to credit it.
Product names, logos and trademarks shown on Patch Radar belong to their respective owners. They are used only to identify the software each security fix applies to and to help readers find their platform. Their use does not imply any affiliation with, or endorsement by, those owners, and Patchblox is not affiliated with any of them.