{"schemaVersion":3,"id":"CVE-2026-63387","aliases":["UBUNTU-CVE-2026-63387","DEBIAN-CVE-2026-63387"],"status":"published","duplicateOf":null,"title":null,"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.","dates":{"published":"2026-08-20T17:53:41.863Z","modified":"2026-08-25T15:12:12.129Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":7,"severity":"high","version":"3.1","versionLabel":"v3.1","source":"CVE.org","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:H","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"CVE.org","score":7,"severity":"high","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:H","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Ubuntu","score":7,"severity":"high","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:H","exploitability":5.6,"impact":7.8,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Debian","score":7,"severity":"high","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:H","exploitability":5.6,"impact":7.8,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":7,"severity":"high","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:H","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.00416,"percentile":0.34749,"severity":"low","asOf":"2026-10-21T00:00:00.000Z","change":{"pp":0,"baselineDate":"2026-09-21T00:00:00.000Z","baselineScore":0.00416},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.00416,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.00416,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.00416,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.00416,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.00416,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.00416,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.00416,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00416,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00416,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00416,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00448,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00448,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00448,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00448,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00448,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00448,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00448,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00448,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00416,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00416,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00416,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00416,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00416,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00416,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00416,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00416,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00416,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00416,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00416,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00416,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00416,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00416,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00416,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00416,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00416,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00416,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.00416,"percentile":null},{"date":"2026-10-21T00:00:00.000Z","score":0.00416,"percentile":0.34749}],"last30":[{"date":"2026-09-21T00:00:00.000Z","score":0.00416,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00416,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00416,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00448,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00448,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00448,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00448,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00448,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00448,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00448,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00448,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00416,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00416,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00416,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00416,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00416,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00416,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00416,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00416,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00416,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00416,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00416,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00416,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00416,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00416,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00416,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00416,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00416,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00416,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.00416,"percentile":null},{"date":"2026-10-21T00:00:00.000Z","score":0.00416,"percentile":0.34749}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[],"exploitCount":0,"weaknesses":[{"id":"CWE-121","name":"Stack-based Buffer Overflow","description":"A stack-based buffer overflow condition is a condition where the buffer being overwritten is allocated on the stack (i.e., is a local variable or, rarely, a parameter to a function).","type":"weakness","status":"Draft","abstraction":"Variant","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/121.html"},{"id":"CWE-193","name":"Off-by-one Error","description":"A product calculates or uses an incorrect maximum or minimum value that is 1 more, or 1 less, than the correct value.","type":"weakness","status":"Draft","abstraction":"Base","likelihoodOfExploit":null,"url":"https://cwe.mitre.org/data/definitions/193.html"},{"id":"CWE-787","name":"Out-of-bounds Write","description":"The product writes data past the end, or before the beginning, of the intended buffer.","type":"weakness","status":"Draft","abstraction":"Base","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/787.html"}],"affected":[{"vendor":"debian","product":"libevent","name":"libevent","label":"libevent","ecosystem":"Debian","cpePart":null,"purl":"pkg:deb/debian/libevent","purlType":"deb","versions":[{"text":"< 2.1.12-stable-8+deb12u1","noFixRecorded":false,"fixedIn":null},{"text":"< 2.1.13-stable-1~deb13u1","noFixRecorded":false,"fixedIn":null},{"text":"< 2.1.13-stable-1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 2.1.12-stable-8+deb12u1 | < 2.1.13-stable-1~deb13u1 | < 2.1.13-stable-1","eol":null,"hubHref":null},{"vendor":"ubuntu","product":"libevent","name":"libevent","label":"libevent","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/libevent","purlType":"deb","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null},{"text":"< 2.1.12-stable-10ubuntu0.2","noFixRecorded":false,"fixedIn":null}],"versionsText":"All versions (No fix recorded) | < 2.1.12-stable-10ubuntu0.2","eol":null,"hubHref":null},{"vendor":"libevent","product":"libevent","name":"libevent","label":"libevent","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≥ 2.2.0-alpha, < 2.2.2-alpha","noFixRecorded":false,"fixedIn":null},{"text":"< 2.1.13","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 2.2.0-alpha, < 2.2.2-alpha | < 2.1.13","eol":null,"hubHref":"/vendor/libevent/libevent"}],"affectedCount":3,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://github.com/libevent/libevent/security/advisories/GHSA-58rx-7448-jw47","label":"github.com/libevent/libevent/security/advisories/GHSA-58rx-7448-jw47","hostname":"github.com","tags":["X Refsource CONFIRM"]},{"url":"https://github.com/libevent/libevent/releases/tag/release-2.1.13-stable","label":"github.com/libevent/libevent/releases/tag/release-2.1.13-stable","hostname":"github.com","tags":["X Refsource MISC"]},{"url":"https://github.com/libevent/libevent/releases/tag/release-2.2.2-alpha","label":"github.com/libevent/libevent/releases/tag/release-2.2.2-alpha","hostname":"github.com","tags":["X Refsource MISC"]},{"url":"https://ubuntu.com/security/CVE-2026-63387","label":"ubuntu.com/security/CVE-2026-63387","hostname":"ubuntu.com","tags":["REPORT"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-63387","label":"www.cve.org/CVERecord?id=CVE-2026-63387","hostname":"www.cve.org","tags":["REPORT"]},{"url":"https://ubuntu.com/security/notices/USN-8840-1","label":"ubuntu.com/security/notices/USN-8840-1","hostname":"ubuntu.com","tags":["Advisory"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2026-63387","label":"security-tracker.debian.org/tracker/CVE-2026-63387","hostname":"security-tracker.debian.org","tags":["Advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-63387","label":"nvd.nist.gov/vuln/detail/CVE-2026-63387","hostname":"nvd.nist.gov","tags":["Oval","Advisory"]}],"lineage":{"upstream":[],"downstream":["MGASA-2026-0294","RHSA-2026:63388","RHSA-2026:67908","RHSA-2026:67909","RHSA-2026:67910","USN-8840-1"],"duplicates":[],"related":["USN-8840-1"]},"timeline":[{"kind":"published","date":"2026-08-20T17:53:41.863Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2026-08-25T15:12:12.129Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":28,"level":"medium","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-22T10:52:22.899Z","stale":false,"partial":false}}