{"id":"CVE-2026-138151","aliases":[],"kind":"cve","tier":"hot","status":"published","title":"bgpq4 before 1.17 Heap Buffer Overflow via IRRd A<len> Reply Handling","description":"bgpq4 before 1.17 contains an integer overflow vulnerability in expander.c that allows malicious IRR servers to corrupt heap memory by sending crafted A<len> replies. Attackers controlling the IRR server or tampering with the plaintext TCP connection can announce a ULONG_MAX or -1 length, wrapping the allocation to one byte and crashing bgpq4.","ai_summary":{"text":"An attacker controlling an IRR server, or tampering with its plaintext TCP connection, can corrupt heap memory and crash bgpq4 via crafted A<len> replies.","model":"claude-haiku-5-5","label":"AI summary"},"severity":"high","cvss":{"score":8.2,"version":"4.0","vector":"CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N","source":"CNA"},"scores":[{"score":8.2,"source":"cna","vector":"CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N","version":"4.0"},{"score":5.9,"source":"cna","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H","version":"3.1"},{"score":8.2,"source":"cna","vector":"CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/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","version":"4.0"}],"cwe":["CWE-190"],"remote":true,"remote_unauth":true,"epss":null,"kev":{"listed":false,"added":null,"due":null,"ransomware":null},"exploit":{"public":false,"exploitdb_ids":[]},"affected":[],"affected_products":[{"source":"cvelist","vendor":"bgpq4","product":"bgpq4","versions":"< 1.17"}],"ai_versions":{"affected":[{"text":"bgpq4 versions before 1.17 are affected","quote":"bgpq4 before 1.17","product":"bgpq4"}],"fixed":[{"quote":"bgpq4 before 1.17","product":"bgpq4","version":"1.17"}],"model":"claude-haiku-5-5","label":"AI-extracted versions"},"mitigation":"Upgrade bgpq4 to 1.17 or later.","technologies":[],"references":[{"url":"https://github.com/bgp/bgpq4/pull/141","kind":"patch"},{"url":"https://github.com/bgp/bgpq4/commit/a232916868d1422edfc7fd5e0a00edd02c80c79a","kind":"patch"},{"url":"https://github.com/bgp/bgpq4/commit/37a3adb76f18a800efa6bb02848fbfd6458512e5","kind":"patch"},{"url":"https://github.com/bgp/bgpq4/blob/1.16/expander.c#L722-L771","kind":"article"},{"url":"https://github.com/bgp/bgpq4/blob/1.16/expander.c#L918-L958","kind":"article"},{"url":"https://github.com/bgp/bgpq4/releases/tag/1.17","kind":"other"},{"url":"https://github.com/bgp/bgpq4/blob/1.17/CHANGES","kind":"other"},{"url":"https://www.vulncheck.com/advisories/bgpq4-before-1.17-heap-buffer-overflow-via-irrd-a-len-reply-handling","kind":"other"}],"workarounds":null,"vendors":["bgpq4"],"products":["bgpq4"],"cpes":[],"published_at":"2026-11-28T01:42:59.061Z","modified_at":"2026-11-28T02:17:34.767Z","promoted_at":null,"attribution":[{"source":"CVE Program","text":"CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation.","url":"https://www.cve.org/Legal/TermsOfUse"},{"source":"NVD","text":"This product uses data from the NVD API but is not endorsed or certified by the NVD.","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-138151"}],"links":{"html":"https://flawdb.com/CVE-2026-138151","markdown":"https://flawdb.com/CVE-2026-138151.md","json":"https://flawdb.com/api/v1/entries/CVE-2026-138151"}}