CVE catalog

CVE-2026-63387

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

[CVE catalog]

Severity
High · CVSS 8.6CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:H
Published
Updated
Source
[NVD] · [CVE record]
EPSS
0.42% · Oct 25, 2026

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.

Vulnerable and fixed packages

Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.

DistributionPackageReleaseVersionStatus
Debianlibeventsid2.1.13-stable-1fixed
Debianlibeventforky2.1.13-stable-1fixed
Debianlibeventtrixie2.1.12-stable-10vulnerable
Debianlibeventtrixie-security2.1.13-stable-1~deb13u1fixed
Debianlibeventbookworm2.1.12-stable-8vulnerable
Debianlibeventbookworm-security2.1.12-stable-8+deb12u1fixed
Ubuntulibeventnoble2.1.12-stable-9ubuntu2.2fixed
Ubuntulibevent-2.1-7t64noble2.1.12-stable-9ubuntu2.2fixed
Ubuntulibevent-core-2.1-7t64noble2.1.12-stable-9ubuntu2.2fixed
Ubuntulibevent-devnoble2.1.12-stable-9ubuntu2.2fixed
Ubuntulibevent-extra-2.1-7t64noble2.1.12-stable-9ubuntu2.2fixed
Ubuntulibevent-openssl-2.1-7t64noble2.1.12-stable-9ubuntu2.2fixed
Ubuntulibevent-pthreads-2.1-7t64noble2.1.12-stable-9ubuntu2.2fixed
Ubuntulibeventpro2.1.8-stable-4build1vulnerable
Ubuntulibeventpro2.1.11-stable-1~exp0vulnerable
Ubuntulibeventpro2.1.11-stable-1vulnerable
Ubuntulibeventpro2.1.11-stable-1ubuntu0.1~esm1vulnerable
Ubuntulibeventpro2.1.11-stable-1ubuntu0.1~esm2fixed
Ubuntulibevent22.042.1.12-stable-1vulnerable
Ubuntulibevent22.042.1.12-stable-1build1vulnerable
Ubuntulibevent22.042.1.12-stable-1build2vulnerable
Ubuntulibevent22.042.1.12-stable-1build3vulnerable
Ubuntulibevent22.042.1.12-stable-1ubuntu0.1vulnerable
Ubuntulibevent22.042.1.12-stable-1ubuntu0.2fixed
Ubuntulibevent24.042.1.12-stable-9vulnerable
Ubuntulibevent24.042.1.12-stable-9ubuntu2vulnerable
Ubuntulibevent24.042.1.12-stable-9ubuntu2.1vulnerable
Ubuntulibevent24.042.1.12-stable-9ubuntu2.2fixed
Ubuntulibevent26.042.1.12-stable-10build1vulnerable
Ubuntulibevent26.042.1.12-stable-10build2vulnerable
Ubuntulibevent26.042.1.12-stable-10ubuntu0.1vulnerable
Ubuntulibevent26.042.1.12-stable-10ubuntu0.2fixed
Ubuntulibeventpro2.1.8-stable-4build1vulnerable
Ubuntulibeventpro2.1.11-stable-1~exp0vulnerable
Ubuntulibeventpro2.1.11-stable-1vulnerable
Ubuntulibeventpro2.1.11-stable-1ubuntu0.1~esm1vulnerable
Ubuntulibeventpro2.1.11-stable-1ubuntu0.1~esm2vulnerable
Ubuntulibevent22.042.1.12-stable-1vulnerable
Ubuntulibevent22.042.1.12-stable-1build1vulnerable
Ubuntulibevent22.042.1.12-stable-1build2vulnerable
Ubuntulibevent22.042.1.12-stable-1build3vulnerable
Ubuntulibevent22.042.1.12-stable-1ubuntu0.1vulnerable
Ubuntulibevent22.042.1.12-stable-1ubuntu0.2vulnerable
Ubuntulibevent24.042.1.12-stable-9vulnerable
Ubuntulibevent24.042.1.12-stable-9ubuntu2vulnerable
Ubuntulibevent24.042.1.12-stable-9ubuntu2.1vulnerable
Ubuntulibevent24.042.1.12-stable-9ubuntu2.2vulnerable
Ubuntulibevent26.042.1.12-stable-10build1vulnerable
Ubuntulibevent26.042.1.12-stable-10build2vulnerable
Ubuntulibevent26.042.1.12-stable-10ubuntu0.1vulnerable
Ubuntulibevent26.042.1.12-stable-10ubuntu0.2fixed

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
Debianlibeventsourcesid2.1.13-stable-1not yet assignedNot reportedNot reported
Debianlibeventsourceforky2.1.13-stable-1not yet assignedNot reportedNot reported
Debianlibeventsourcetrixie2.1.13-stable-1~deb13u1not yet assignedNot reportedNot reported
Debianlibeventsourcebookworm2.1.12-stable-8+deb12u1not yet assignedNot reportedNot reported
Ubuntulibeventdebnoble2.1.12-stable-9ubuntu2.2Not reportedNot reportedNot reported
Ubuntulibevent-2.1-7t64debnoble2.1.12-stable-9ubuntu2.2Not reportedNot reportedNot reported
Ubuntulibevent-core-2.1-7t64debnoble2.1.12-stable-9ubuntu2.2Not reportedNot reportedNot reported
Ubuntulibevent-devdebnoble2.1.12-stable-9ubuntu2.2Not reportedNot reportedNot reported
Ubuntulibevent-extra-2.1-7t64debnoble2.1.12-stable-9ubuntu2.2Not reportedNot reportedNot reported
Ubuntulibevent-openssl-2.1-7t64debnoble2.1.12-stable-9ubuntu2.2Not reportedNot reportedNot reported
Ubuntulibevent-pthreads-2.1-7t64debnoble2.1.12-stable-9ubuntu2.2Not reportedNot reportedNot reported
Ubuntulibeventdebpro2.1.11-stable-1ubuntu0.1~esm2Not reportedUSN-8840-1Not reported
Ubuntulibeventdeb22.042.1.12-stable-1ubuntu0.2Not reportedUSN-8840-1Not reported
Ubuntulibeventdeb24.042.1.12-stable-9ubuntu2.2Not reportedUSN-8840-1Not reported
Ubuntulibeventdeb26.042.1.12-stable-10ubuntu0.2Not reportedUSN-8840-1Not reported
Ubuntulibeventdeb26.042.1.12-stable-10ubuntu0.2Not reportedUBUNTU-CVE-2026-63387Not reported

OpenFactory catalog packages

[Debian 12 (Bookworm)]

  • [libevent-2.1-7]Affected

    Source package: [libevent]

    Details (2)
    • 2.1.12-stable-8 · amd64 · bookworm

      Affected · Fixed: 2.1.12-stable-8+deb12u1

      nvd · libevent · debian · bookworm; nvd · libevent · debian · 12

    • 2.1.12-stable-8 · arm64 · bookworm

      Affected · Fixed: 2.1.12-stable-8+deb12u1

      nvd · libevent · debian · bookworm; nvd · libevent · debian · 12

  • Source package: [libevent]

    Details (2)
    • 2.1.12-stable-8 · amd64 · bookworm

      Affected · Fixed: 2.1.12-stable-8+deb12u1

      nvd · libevent · debian · bookworm; nvd · libevent · debian · 12

    • 2.1.12-stable-8 · arm64 · bookworm

      Affected · Fixed: 2.1.12-stable-8+deb12u1

      nvd · libevent · debian · bookworm; nvd · libevent · debian · 12

  • [libevent-dev]Affected

    Source package: [libevent]

    Details (2)
    • 2.1.12-stable-8 · amd64 · bookworm

      Affected · Fixed: 2.1.12-stable-8+deb12u1

      nvd · libevent · debian · bookworm; nvd · libevent · debian · 12

    • 2.1.12-stable-8 · arm64 · bookworm

      Affected · Fixed: 2.1.12-stable-8+deb12u1

      nvd · libevent · debian · bookworm; nvd · libevent · debian · 12

  • Source package: [libevent]

    Details (2)
    • 2.1.12-stable-8 · amd64 · bookworm

      Affected · Fixed: 2.1.12-stable-8+deb12u1

      nvd · libevent · debian · bookworm; nvd · libevent · debian · 12

    • 2.1.12-stable-8 · arm64 · bookworm

      Affected · Fixed: 2.1.12-stable-8+deb12u1

      nvd · libevent · debian · bookworm; nvd · libevent · debian · 12

  • Source package: [libevent]

    Details (2)
    • 2.1.12-stable-8 · amd64 · bookworm

      Affected · Fixed: 2.1.12-stable-8+deb12u1

      nvd · libevent · debian · bookworm; nvd · libevent · debian · 12

    • 2.1.12-stable-8 · arm64 · bookworm

      Affected · Fixed: 2.1.12-stable-8+deb12u1

      nvd · libevent · debian · bookworm; nvd · libevent · debian · 12

  • Source package: [libevent]

    Details (2)
    • 2.1.12-stable-8 · amd64 · bookworm

      Affected · Fixed: 2.1.12-stable-8+deb12u1

      nvd · libevent · debian · bookworm; nvd · libevent · debian · 12

    • 2.1.12-stable-8 · arm64 · bookworm

      Affected · Fixed: 2.1.12-stable-8+deb12u1

      nvd · libevent · debian · bookworm; nvd · libevent · debian · 12

[Debian 13 (Trixie)]

  • Source package: [libevent]

    Details (3)
    • 2.1.12-stable-10+b1 · amd64 · trixie

      Affected · Fixed: 2.1.13-stable-1~deb13u1

      nvd · libevent · debian · 13

    • 2.1.12-stable-10+b1 · arm64 · trixie

      Affected · Fixed: 2.1.13-stable-1~deb13u1

      nvd · libevent · debian · 13

    • 2.1.13-stable-1~deb13u1 · amd64 · trixie-security

      Fixed · Fixed: 2.1.13-stable-1~deb13u1

      nvd · libevent · debian · 13

  • Source package: [libevent]

    Details (3)
    • 2.1.12-stable-10+b1 · amd64 · trixie

      Affected · Fixed: 2.1.13-stable-1~deb13u1

      nvd · libevent · debian · 13

    • 2.1.12-stable-10+b1 · arm64 · trixie

      Affected · Fixed: 2.1.13-stable-1~deb13u1

      nvd · libevent · debian · 13

    • 2.1.13-stable-1~deb13u1 · amd64 · trixie-security

      Fixed · Fixed: 2.1.13-stable-1~deb13u1

      nvd · libevent · debian · 13

  • [libevent-dev]Affected

    Source package: [libevent]

    Details (3)
    • 2.1.12-stable-10+b1 · amd64 · trixie

      Affected · Fixed: 2.1.13-stable-1~deb13u1

      nvd · libevent · debian · 13

    • 2.1.12-stable-10+b1 · arm64 · trixie

      Affected · Fixed: 2.1.13-stable-1~deb13u1

      nvd · libevent · debian · 13

    • 2.1.13-stable-1~deb13u1 · amd64 · trixie-security

      Fixed · Fixed: 2.1.13-stable-1~deb13u1

      nvd · libevent · debian · 13

  • Source package: [libevent]

    Details (3)
    • 2.1.12-stable-10+b1 · amd64 · trixie

      Affected · Fixed: 2.1.13-stable-1~deb13u1

      nvd · libevent · debian · 13

    • 2.1.12-stable-10+b1 · arm64 · trixie

      Affected · Fixed: 2.1.13-stable-1~deb13u1

      nvd · libevent · debian · 13

    • 2.1.13-stable-1~deb13u1 · amd64 · trixie-security

      Fixed · Fixed: 2.1.13-stable-1~deb13u1

      nvd · libevent · debian · 13

  • Source package: [libevent]

    Details (3)
    • 2.1.12-stable-10+b1 · amd64 · trixie

      Affected · Fixed: 2.1.13-stable-1~deb13u1

      nvd · libevent · debian · 13

    • 2.1.12-stable-10+b1 · arm64 · trixie

      Affected · Fixed: 2.1.13-stable-1~deb13u1

      nvd · libevent · debian · 13

    • 2.1.13-stable-1~deb13u1 · amd64 · trixie-security

      Fixed · Fixed: 2.1.13-stable-1~deb13u1

      nvd · libevent · debian · 13

  • Source package: [libevent]

    Details (3)
    • 2.1.12-stable-10+b1 · amd64 · trixie

      Affected · Fixed: 2.1.13-stable-1~deb13u1

      nvd · libevent · debian · 13

    • 2.1.12-stable-10+b1 · arm64 · trixie

      Affected · Fixed: 2.1.13-stable-1~deb13u1

      nvd · libevent · debian · 13

    • 2.1.13-stable-1~deb13u1 · amd64 · trixie-security

      Fixed · Fixed: 2.1.13-stable-1~deb13u1

      nvd · libevent · debian · 13

Observed:

References