CVE-2026-63381

Source
https://cve.org/CVERecord?id=CVE-2026-63381
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-63381.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-63381
Aliases
  • GHSA-c2pj-cg4r-88c8
Downstream
ALSA (2)
AZL (4)
BELL (1)
CLSA (1)
DEBIAN (1)
ECHO (1)
MGASA (1)
OESA (1)
openSUSE (1)
RHSA (3)
RLSA (2)
ROOT (1)
UBUNTU (1)
Related
Published
2026-08-20T17:50:09Z
Modified
2026-10-29T12:27:01Z
Severity
  • 5.8 (Medium) CVSS_V4 - CVSS:4.0/AV:L/AC:L/AT:P/PR:L/UI:N/VC:L/VI:L/VA:H/SC:N/SI:N/SA:N CVSS Calculator
Summary
Libevent: Dangling Pointer in `evbuffer_add_buffer_reference`
Details

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.

Database specific
{
    "cna_assigner":  "GitHub_M",
    "cwe_ids":  [
        "CWE-908"
    ],
    "osv_generated_from":  "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/63xxx/CVE-2026-63381.json"
}
References

Affected packages

Git / github.com/libevent/libevent

Affected ranges

Type
GIT
Repo
https://github.com/libevent/libevent
Events
Database specific
Show details
{
    "extracted_events":  [
        {
            "range":  [
                {
                    "introduced":  "2.2.0-alpha"
                },
                {
                    "fixed":  "2.2.2-alpha"
                }
            ],
            "source":  "AFFECTED_FIELD",
            "strategy":  "StringRangeExpression"
        },
        {
            "range":  [
                {
                    "introduced":  "0"
                },
                {
                    "fixed":  "2.1.13"
                }
            ],
            "source":  "AFFECTED_FIELD",
            "strategy":  "StringRangeExpression"
        },
        {
            "range":  [
                {
                    "fixed":  "5cb95ba2f804f8aff46f88d58391c71e1251cd1c"
                }
            ],
            "source":  "REFERENCES_COMMIT"
        },
        {
            "range":  [
                {
                    "fixed":  "9db091b04f569be3a700fa9860ef02f90b830af9"
                }
            ],
            "source":  "REFERENCES_COMMIT"
        },
        {
            "original_tag":  "release-2.1.13-stable",
            "range":  [
                {
                    "fixed":  "79ddfb460847999b807cba76d04e73891f29c6ee"
                }
            ],
            "source":  "REFERENCES_TAG"
        },
        {
            "original_tag":  "release-2.2.2-alpha",
            "range":  [
                {
                    "fixed":  "df3ecad3a040fd6d4fad4287defe113395de6fd7"
                }
            ],
            "source":  "REFERENCES_TAG"
        }
    ]
}

Affected versions

release-1.*
release-1.1b
release-2.*
release-2.0.1-alpha
release-2.0.10-stable
release-2.0.3-alpha
release-2.0.4-alpha
release-2.0.5-beta
release-2.0.6-rc
release-2.0.7-rc
release-2.0.8-rc
release-2.0.9-rc
release-2.1.1-alpha
release-2.1.10-stable
release-2.1.11-stable
release-2.1.12-stable
release-2.1.2-alpha
release-2.1.3-alpha
release-2.1.4-alpha
release-2.1.5-beta
release-2.1.6-beta
release-2.1.7-rc
release-2.1.8-stable
release-2.1.9-beta
release-2.2.1-alpha

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-63381.json"
vanir_signatures
[
    {
        "deprecated":  false,
        "digest":  {
            "function_hash":  "159443554126248192493229143747497657830",
            "length":  554
        },
        "id":  "CVE-2026-63381-09212634",
        "signature_type":  "Function",
        "signature_version":  "v1",
        "source":  "https://github.com/libevent/libevent/commit/df3ecad3a040fd6d4fad4287defe113395de6fd7",
        "target":  {
            "file":  "test/regress_http.c",
            "function":  "http_check_transfer_encoding_test"
        }
    },
    {
        "deprecated":  false,
        "digest":  {
            "line_hashes":  [
                "105678715192188160709520855612608486706",
                "151283490904270762572312309386640940040",
                "83461397285652447208958418655755277743",
                "142837236412004261651148993320484336258",
                "15987118943341410568314047996597972163",
                "24377155224956095092769298328840568428",
                "331749468313827334154743087866987491260"
            ],
            "threshold":  0.9
        },
        "id":  "CVE-2026-63381-0ba2dac6",
        "signature_type":  "Line",
        "signature_version":  "v1",
        "source":  "https://github.com/libevent/libevent/commit/9db091b04f569be3a700fa9860ef02f90b830af9",
        "target":  {
            "file":  "test/regress_buffer.c"
        }
    },
    {
        "deprecated":  false,
        "digest":  {
            "line_hashes":  [
                "9615268734269462808469541219936445000",
                "82724829605032451376073306411905357248",
                "288037613782262970305669138843883230920",
                "75154680587046303569609440082479999097"
            ],
            "threshold":  0.9
        },
        "id":  "CVE-2026-63381-16a20d46",
        "signature_type":  "Line",
        "signature_version":  "v1",
        "source":  "https://github.com/libevent/libevent/commit/5cb95ba2f804f8aff46f88d58391c71e1251cd1c",
        "target":  {
            "file":  "buffer.c"
        }
    },
    {
        "deprecated":  false,
        "digest":  {
            "line_hashes":  [
                "105678715192188160709520855612608486706",
                "151283490904270762572312309386640940040",
                "83461397285652447208958418655755277743",
                "87720941875676372913401481888278485640",
                "239941351800049281984595058068342428110",
                "24377155224956095092769298328840568428",
                "331749468313827334154743087866987491260"
            ],
            "threshold":  0.9
        },
        "id":  "CVE-2026-63381-1f37dda6",
        "signature_type":  "Line",
        "signature_version":  "v1",
        "source":  "https://github.com/libevent/libevent/commit/5cb95ba2f804f8aff46f88d58391c71e1251cd1c",
        "target":  {
            "file":  "test/regress_buffer.c"
        }
    },
    {
        "deprecated":  false,
        "digest":  {
            "line_hashes":  [
                "9615268734269462808469541219936445000",
                "82724829605032451376073306411905357248",
                "288037613782262970305669138843883230920",
                "75154680587046303569609440082479999097"
            ],
            "threshold":  0.9
        },
        "id":  "CVE-2026-63381-340af901",
        "signature_type":  "Line",
        "signature_version":  "v1",
        "source":  "https://github.com/libevent/libevent/commit/9db091b04f569be3a700fa9860ef02f90b830af9",
        "target":  {
            "file":  "buffer.c"
        }
    },
    {
        "deprecated":  false,
        "digest":  {
            "function_hash":  "125746571338556120751565663598148478168",
            "length":  650
        },
        "id":  "CVE-2026-63381-7824d339",
        "signature_type":  "Function",
        "signature_version":  "v1",
        "source":  "https://github.com/libevent/libevent/commit/9db091b04f569be3a700fa9860ef02f90b830af9",
        "target":  {
            "file":  "buffer.c",
            "function":  "evbuffer_add_buffer_reference"
        }
    },
    {
        "deprecated":  false,
        "digest":  {
            "line_hashes":  [
                "270762094980121927552802584929566056086",
                "37564212311334647331345684303177453724",
                "168570413533780985513641597969239978857"
            ],
            "threshold":  0.9
        },
        "id":  "CVE-2026-63381-923050c6",
        "signature_type":  "Line",
        "signature_version":  "v1",
        "source":  "https://github.com/libevent/libevent/commit/df3ecad3a040fd6d4fad4287defe113395de6fd7",
        "target":  {
            "file":  "test/regress_http.c"
        }
    },
    {
        "deprecated":  false,
        "digest":  {
            "line_hashes":  [
                "270762094980121927552802584929566056086",
                "37564212311334647331345684303177453724",
                "168570413533780985513641597969239978857"
            ],
            "threshold":  0.9
        },
        "id":  "CVE-2026-63381-979e5bed",
        "signature_type":  "Line",
        "signature_version":  "v1",
        "source":  "https://github.com/libevent/libevent/commit/79ddfb460847999b807cba76d04e73891f29c6ee",
        "target":  {
            "file":  "test/regress_http.c"
        }
    },
    {
        "deprecated":  false,
        "digest":  {
            "function_hash":  "125746571338556120751565663598148478168",
            "length":  650
        },
        "id":  "CVE-2026-63381-c45a368c",
        "signature_type":  "Function",
        "signature_version":  "v1",
        "source":  "https://github.com/libevent/libevent/commit/5cb95ba2f804f8aff46f88d58391c71e1251cd1c",
        "target":  {
            "file":  "buffer.c",
            "function":  "evbuffer_add_buffer_reference"
        }
    },
    {
        "deprecated":  false,
        "digest":  {
            "function_hash":  "159443554126248192493229143747497657830",
            "length":  554
        },
        "id":  "CVE-2026-63381-ebc5ab94",
        "signature_type":  "Function",
        "signature_version":  "v1",
        "source":  "https://github.com/libevent/libevent/commit/79ddfb460847999b807cba76d04e73891f29c6ee",
        "target":  {
            "file":  "test/regress_http.c",
            "function":  "http_check_transfer_encoding_test"
        }
    }
]
vanir_signatures_modified
"2026-10-28T11:16:59Z"