{"affected":[{"defaultStatus":"unaffected","product":"bgpq4","source":"CNA: VulnCheck","vendor":"bgpq4","versions":[{"lessThan":"1.17","status":"affected","version":"0","versionType":"custom"}]}],"cveId":"CVE-2026-138151","cwes":["CWE-190"],"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.","epss":null,"exploits":[],"kev":null,"metrics":[{"score":8.2,"severity":"high","source":"CNA: VulnCheck","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,"severity":"medium","source":"CNA: VulnCheck","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H","version":"3.1"}],"modifiedAt":1795830179061,"publishedAt":1795830179061,"references":[{"source":"CNA: VulnCheck","tags":["issue-tracking","patch"],"url":"https://github.com/bgp/bgpq4/pull/141"},{"source":"CNA: VulnCheck","tags":["patch"],"url":"https://github.com/bgp/bgpq4/commit/a232916868d1422edfc7fd5e0a00edd02c80c79a"},{"source":"CNA: VulnCheck","tags":["patch"],"url":"https://github.com/bgp/bgpq4/commit/37a3adb76f18a800efa6bb02848fbfd6458512e5"},{"source":"CNA: VulnCheck","tags":["release-notes"],"url":"https://github.com/bgp/bgpq4/releases/tag/1.17"},{"source":"CNA: VulnCheck","tags":["release-notes"],"url":"https://github.com/bgp/bgpq4/blob/1.17/CHANGES"},{"source":"CNA: VulnCheck","tags":["technical-description"],"url":"https://github.com/bgp/bgpq4/blob/1.16/expander.c#L722-L771"},{"source":"CNA: VulnCheck","tags":["technical-description"],"url":"https://github.com/bgp/bgpq4/blob/1.16/expander.c#L918-L958"},{"source":"CNA: VulnCheck","tags":["third-party-advisory"],"url":"https://www.vulncheck.com/advisories/bgpq4-before-1.17-heap-buffer-overflow-via-irrd-a-len-reply-handling"}],"remediation":[{"kind":"fix","source":"CNA: VulnCheck","text":"The reporting source identifies this reference as a patch. Check the advisory for affected versions and supported release branches.","url":"https://github.com/bgp/bgpq4/pull/141"},{"kind":"fix","source":"CNA: VulnCheck","text":"The reporting source identifies this reference as a patch. Check the advisory for affected versions and supported release branches.","url":"https://github.com/bgp/bgpq4/commit/a232916868d1422edfc7fd5e0a00edd02c80c79a"},{"kind":"fix","source":"CNA: VulnCheck","text":"The reporting source identifies this reference as a patch. Check the advisory for affected versions and supported release branches.","url":"https://github.com/bgp/bgpq4/commit/37a3adb76f18a800efa6bb02848fbfd6458512e5"}],"revision":"4adc4086ab99f4fa5cd6839d7931325363ada97894fda1ea68e146ffa60c624a","sources":[{"modifiedAt":1795830179061,"name":"CNA: VulnCheck","retrievedAt":1795831712232,"url":"https://www.cve.org/CVERecord?id=CVE-2026-138151"}],"ssvc":null,"status":"published","title":"bgpq4 before 1.17 Heap Buffer Overflow via IRRd A<len> Reply Handling","updatedAt":1795831712232}