CVE-2026-138151
bgpq4 before 1.17 Heap Buffer Overflow via IRRd A<len> Reply Handling
CVSS Score
5.9
EPSS Score
0.0%
EPSS Percentile
0th
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.
| CWE | CWE-190 |
| Vendor | bgpq4 |
| Product | bgpq4 |
| Published | Nov 28, 2026 |
Stay Ahead of the Next One
Get instant alerts for bgpq4 bgpq4
Be the first to know when new medium vulnerabilities affecting bgpq4 bgpq4 are published โ delivered to Slack, Telegram or Discord.
Get Free Alerts โ
Free ยท No credit card ยท 60 sec setup
CVSS v3 Breakdown
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H Attack Vector
Network
Attack Complexity
High
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
High
Affected Versions
bgpq4 / bgpq4
0 < 1.17
References
github.com: https://github.com/bgp/bgpq4/pull/141 github.com: https://github.com/bgp/bgpq4/commit/a232916868d1422edfc7fd5e0a00edd02c80c79a github.com: https://github.com/bgp/bgpq4/commit/37a3adb76f18a800efa6bb02848fbfd6458512e5 github.com: https://github.com/bgp/bgpq4/releases/tag/1.17 github.com: https://github.com/bgp/bgpq4/blob/1.17/CHANGES github.com: https://github.com/bgp/bgpq4/blob/1.16/expander.c#L722-L771 github.com: https://github.com/bgp/bgpq4/blob/1.16/expander.c#L918-L958 vulncheck.com: https://www.vulncheck.com/advisories/bgpq4-before-1.17-heap-buffer-overflow-via-irrd-a-len-reply-handling
Credits
Deus Rex Dickson Wu