bgpq4 before 1.17 contains an integer overflow vulnerability in expander.c that allows malicious IRR servers to corrupt heap memory by…
CVE-2026-138151
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 replies. Attackers controlling the IRR server or tampering with the plaintext TCP connection can announce a ULONGMAX or -1 length, wrapping the allocation to one byte and crashing bgpq4.
Assessment
- CVSS
- 8.2 (v4.0)
- Severity
- High
- Known exploited
- Not listed in CISA KEV
- Exploit availability
- Nothing found in Exploit-DB, Metasploit, Nuclei or public PoC repositories
- Published
- 28 November 2026
- Last updated
- 28 November 2026
- Assigner
- VulnCheck
CVSS vectorCVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
At the source
References
- https://github.com/bgp/bgpq4/pull/141
- https://github.com/bgp/bgpq4/commit/a232916868d1422edfc7fd5e0a00edd02c80c79a
- https://github.com/bgp/bgpq4/commit/37a3adb76f18a800efa6bb02848fbfd6458512e5
- https://github.com/bgp/bgpq4/releases/tag/1.17
- https://github.com/bgp/bgpq4/blob/1.17/CHANGES
- https://github.com/bgp/bgpq4/blob/1.16/expander.c#L722-L771
- https://github.com/bgp/bgpq4/blob/1.16/expander.c#L918-L958
- https://www.vulncheck.com/advisories/bgpq4-before-1.17-heap-buffer-overflow-via-irrd-a-len-reply-handling
- https://nvd.nist.gov/vuln/detail/CVE-2026-138151
Community proofs of concept
No community proof of concept yet. If you have one for a published vulnerability and the right to share it, add it below — it will appear here once reviewed.
Submit a proof of concept
Only for publicly disclosed vulnerabilities, and only material from testing you were authorised to perform. This platform does not buy, sell, or broker exploits — see earning from vulnerability research for legitimate bounty programs. Submissions are reviewed before they appear. Text only; do not include live credentials, personal data, or anything targeting systems you are not permitted to test.
Query this programmatically
Agents can read this through the MCP endpoint, or over HTTP:
curl https://cve.zerocrew.in/api/cve/CVE-2026-138151