{"id":"CVE-2026-138151","aliases":[],"title":"bgpq4 before 1.17 Heap Buffer Overflow via IRRd A<len> Reply Handling","originalDescription":"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.","severity":{"cvss":8.2,"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","label":"high"},"exploitation":{"kev":null,"epss":null,"exploitDb":null},"affected":[{"ecosystem":"vendor","name":"bgpq4","range":">=0, <1.17","fixed":"1.17"}],"references":[{"url":"https://github.com/bgp/bgpq4/pull/141","type":"issue-tracking"},{"url":"https://github.com/bgp/bgpq4/commit/a232916868d1422edfc7fd5e0a00edd02c80c79a","type":"patch"},{"url":"https://github.com/bgp/bgpq4/commit/37a3adb76f18a800efa6bb02848fbfd6458512e5","type":"patch"},{"url":"https://github.com/bgp/bgpq4/releases/tag/1.17","type":"release-notes"},{"url":"https://github.com/bgp/bgpq4/blob/1.17/CHANGES","type":"release-notes"},{"url":"https://github.com/bgp/bgpq4/blob/1.16/expander.c#L722-L771","type":"technical-description"},{"url":"https://github.com/bgp/bgpq4/blob/1.16/expander.c#L918-L958","type":"technical-description"},{"url":"https://www.vulncheck.com/advisories/bgpq4-before-1.17-heap-buffer-overflow-via-irrd-a-len-reply-handling","type":"third-party-advisory"},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/138xxx/CVE-2026-138151.json","type":"advisory"},{"url":"https://github.com/bgp/bgpq4","type":"package"},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-138151","type":"advisory"}],"sources":[{"name":"nvd","at":"2026-11-28T02:21:36.985Z","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-138151","license":"NVD terms of use","firstSeenAt":"2026-11-28T02:21:36.985Z"},{"name":"osv","at":"2026-11-28T04:01:00.204Z","url":"https://osv.dev/vulnerability/CVE-2026-138151","license":"CC-BY 4.0","firstSeenAt":"2026-11-28T03:27:37.810Z"},{"name":"cvelistV5","at":"2026-11-28T13:51:57.016Z","url":"https://www.cve.org/CVERecord?id=CVE-2026-138151","license":"CVE Terms of Use","firstSeenAt":"2026-11-28T01:45:43.124Z"}],"firstSeenAt":"2026-11-28T01:45:43.124Z","publishedAt":"2026-11-28T01:42:59.061Z","modifiedAt":"2026-11-28T03:00:11.389Z"}