CVE catalog

CVE-2026-63381

Libevent is an event notification library. Prior to 2.1.13 and 2.2.2-alpha, libevent has a use-after-free in buffer.c when evbuffer_add_buffer_reference processes an output buffer whose out_total_len

[CVE catalog]

Severity
Critical · CVSS 9.2CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:L/SC:L/SI:L/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Published
Updated
Source
[NVD] · [CVE record]
EPSS
0.16% · Oct 25, 2026

Libevent is an event notification library. Prior to 2.1.13 and 2.2.2-alpha, libevent has a use-after-free in buffer.c when evbuffer_add_buffer_reference processes an output buffer whose out_total_len is zero. evbuffer_free_all_chains frees the initial empty chain without resetting outbuf->first, outbuf->last, or outbuf->last_with_datap, and APPEND_CHAIN_MULTICAST subsequently dereferences the dangling chain pointer. A caller that can drive this buffer state can cause memory corruption or a process crash. 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.1fixed
Ubuntulibevent-2.1-7t64noble2.1.12-stable-9ubuntu2.1fixed
Ubuntulibevent-core-2.1-7t64noble2.1.12-stable-9ubuntu2.1fixed
Ubuntulibevent-devnoble2.1.12-stable-9ubuntu2.1fixed
Ubuntulibevent-extra-2.1-7t64noble2.1.12-stable-9ubuntu2.1fixed
Ubuntulibevent-openssl-2.1-7t64noble2.1.12-stable-9ubuntu2.1fixed
Ubuntulibevent-pthreads-2.1-7t64noble2.1.12-stable-9ubuntu2.1fixed
Ubuntulibeventpro2.1.8-stable-4build1vulnerable
Ubuntulibeventpro2.1.11-stable-1~exp0vulnerable
Ubuntulibeventpro2.1.11-stable-1vulnerable
Ubuntulibeventpro2.1.11-stable-1ubuntu0.1~esm1fixed
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.1fixed
Ubuntulibevent24.042.1.12-stable-9vulnerable
Ubuntulibevent24.042.1.12-stable-9ubuntu2vulnerable
Ubuntulibevent24.042.1.12-stable-9ubuntu2.1fixed
Ubuntulibevent26.042.1.12-stable-10build1vulnerable
Ubuntulibevent26.042.1.12-stable-10build2vulnerable
Ubuntulibevent26.042.1.12-stable-10ubuntu0.1fixed
Ubuntulibeventpro2.1.8-stable-4build1vulnerable
Ubuntulibeventpro2.1.11-stable-1~exp0vulnerable
Ubuntulibeventpro2.1.11-stable-1vulnerable
Ubuntulibeventpro2.1.11-stable-1ubuntu0.1~esm1fixed
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.1fixed
Ubuntulibevent24.042.1.12-stable-9vulnerable
Ubuntulibevent24.042.1.12-stable-9ubuntu2vulnerable
Ubuntulibevent24.042.1.12-stable-9ubuntu2.1fixed
Ubuntulibevent26.042.1.12-stable-10build1vulnerable
Ubuntulibevent26.042.1.12-stable-10build2vulnerable
Ubuntulibevent26.042.1.12-stable-10ubuntu0.1fixed

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.1Not reportedNot reportedNot reported
Ubuntulibevent-2.1-7t64debnoble2.1.12-stable-9ubuntu2.1Not reportedNot reportedNot reported
Ubuntulibevent-core-2.1-7t64debnoble2.1.12-stable-9ubuntu2.1Not reportedNot reportedNot reported
Ubuntulibevent-devdebnoble2.1.12-stable-9ubuntu2.1Not reportedNot reportedNot reported
Ubuntulibevent-extra-2.1-7t64debnoble2.1.12-stable-9ubuntu2.1Not reportedNot reportedNot reported
Ubuntulibevent-openssl-2.1-7t64debnoble2.1.12-stable-9ubuntu2.1Not reportedNot reportedNot reported
Ubuntulibevent-pthreads-2.1-7t64debnoble2.1.12-stable-9ubuntu2.1Not reportedNot reportedNot reported
Ubuntulibeventdebpro2.1.11-stable-1ubuntu0.1~esm1Not reportedUBUNTU-CVE-2026-63381Not reported
Ubuntulibeventdeb22.042.1.12-stable-1ubuntu0.1Not reportedUBUNTU-CVE-2026-63381Not reported
Ubuntulibeventdeb24.042.1.12-stable-9ubuntu2.1Not reportedUBUNTU-CVE-2026-63381Not reported
Ubuntulibeventdeb26.042.1.12-stable-10ubuntu0.1Not reportedUBUNTU-CVE-2026-63381Not reported
Ubuntulibeventdebpro2.1.11-stable-1ubuntu0.1~esm1Not reportedUSN-8710-1Not reported
Ubuntulibeventdeb22.042.1.12-stable-1ubuntu0.1Not reportedUSN-8710-1Not reported
Ubuntulibeventdeb24.042.1.12-stable-9ubuntu2.1Not reportedUSN-8710-1Not reported
Ubuntulibeventdeb26.042.1.12-stable-10ubuntu0.1Not reportedUSN-8710-1Not 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