{"id":"CVE-2026-138151","aliases":["CVE-2026-138151"],"related":[],"kind":"vulnerability","state":"published","title":"bgpq4 before 1.17 Heap Buffer Overflow via IRRd A<len> Reply Handling","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"}],"published":"2026-11-28T01:42:59.061Z","modified":"2026-11-28T02:17:34.767Z","severity":{"scorer":"VulnCheck","scheme":"CVSS: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","score":8.2,"rating":"HIGH"},"severities":[{"scorer":"VulnCheck","scheme":"CVSS: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","score":8.2,"rating":"HIGH"},{"scorer":"VulnCheck","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H","score":5.9,"rating":"MEDIUM"}],"cwes":["CWE-190"],"affected":[{"ranges":[{"type":"custom","introduced":"0","fixed":"1.17","status":"affected"}],"vendor":"bgpq4","product":"bgpq4","repo":"https://github.com/bgp/bgpq4","source":"cvelist"}],"references":[{"url":"https://github.com/bgp/bgpq4/pull/141","tags":["issue-tracking","patch"],"sources":["cvelist","nvd"]},{"url":"https://github.com/bgp/bgpq4/commit/a232916868d1422edfc7fd5e0a00edd02c80c79a","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://github.com/bgp/bgpq4/commit/37a3adb76f18a800efa6bb02848fbfd6458512e5","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://github.com/bgp/bgpq4/releases/tag/1.17","tags":["release-notes"],"sources":["cvelist","nvd"]},{"url":"https://github.com/bgp/bgpq4/blob/1.17/CHANGES","tags":["release-notes"],"sources":["cvelist","nvd"]},{"url":"https://github.com/bgp/bgpq4/blob/1.16/expander.c#L722-L771","tags":["technical-description"],"sources":["cvelist","nvd"]},{"url":"https://github.com/bgp/bgpq4/blob/1.16/expander.c#L918-L958","tags":["technical-description"],"sources":["cvelist","nvd"]},{"url":"https://www.vulncheck.com/advisories/bgpq4-before-1.17-heap-buffer-overflow-via-irrd-a-len-reply-handling","tags":["third-party-advisory"],"sources":["cvelist","nvd"]}],"credits":["Deus Rex","Dickson Wu"],"assigner":"VulnCheck","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-138151","url":"https://www.cve.org/CVERecord?id=CVE-2026-138151","licence":"CVE Terms of Use","modified":"2026-11-28T01:42:59.061Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-138151","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-138151","licence":"Public domain","modified":"2026-11-28T02:17:34.767Z"}],"updatedAt":"2026-11-28T02:32:33.116Z","epss":{"score":0.00548,"percentile":0.47286,"date":"2026-12-01T12:00:22.000Z"}}