{"answers":{"affected":"","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-63387 exists.","fix":"Upgrade to a fixed version.","what":"CVE-2026-63387 is a high-severity memory corruption vulnerability in libevent, published on 20 Aug 2026. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2026-63387 and fix it if it is affected.\n\nWhat it is: CVE-2026-63387 is a high-severity memory corruption vulnerability in libevent, published on 20 Aug 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-63387 exists.\n\nAffected product: libevent. No package-level version data is available, so check the vendor advisory linked from the reference page.\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2026-63387/ (Markdown: https://insights.sbomify.com/CVE-2026-63387/index.md)","id":"CVE-2026-63387","markdown":"https://insights.sbomify.com/CVE-2026-63387/index.md","name":"CVE-2026-63387","record":{"aliases":["AZL-96918","AZL-96950","AZL-97530","AZL-97548","BELL-CVE-2026-63387","CLSA-2026-1791302296","DEBIAN-CVE-2026-63387","ECHO-1353-fd70-bd79","GHSA-58rx-7448-jw47","ROOT-OS-DEBIAN-11-CVE-2026-63387","UBUNTU-CVE-2026-63387"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["denial_of_service","code_execution"],"network_reachable":"yes","non_default_config":false,"product_category":"Libevent library","requires_auth":"none","summary":"A crafted DNS response triggers a stack buffer overflow in Libevent, allowing attackers to crash the application or potentially execute arbitrary code.","user_interaction":"not_required","vuln_class":"memory_corruption"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[],"cvss":{"score":7,"severity":"high","source":"cna","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:H","version":"3.1"},"cwes":[{"id":"CWE-787","name":"Out-of-bounds Write"},{"id":"CWE-193","name":"Off-by-one Error"},{"id":"CWE-121","name":"Stack-based Buffer Overflow"}],"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.","ecosystems":[],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"weaponised"},"has_fix":true,"headline":"Libevent: Off-by-one stack buffer overflow in dnsname_to_labels via crafted DNS server response","id":"CVE-2026-63387","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"memory_corruption","year":"2026"},"n_packages":0,"n_references":3,"next":{"headline":"Libevent: Heap out-of-bounds write in bufferevent_socket_set_conn_address_ reachable via AF_UNIX accept","id":"CVE-2026-63388"},"packages":[],"prev":{"headline":"js-toml: Uncontrolled recursion in `load()` causes `RangeError` (stack exhaustion) on deeply nested input","id":"CVE-2026-63386"},"products":["libevent"],"published":"2026-08-20","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"poc","technical_impact":"partial"},"state":"PUBLISHED","updated":"2026-08-25","vendors":["libevent"]},"summary":"A crafted DNS response triggers a stack buffer overflow in Libevent, allowing attackers to crash the application or potentially execute arbitrary code.","url":"https://insights.sbomify.com/CVE-2026-63387/"}