bgpq4 before 1.17 Heap Buffer Overflow via IRRd A<len> Reply Handling
- State
- Published
- Severity
- 8.2 High
- Published
- Nov 28, 2026
- Updated
- Nov 28, 2026
- Reserved
- Nov 28, 2026
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.
| Product | Versions |
|---|---|
| bgpq4 bgpq4 | before 1.17 Affected |
| CVSS | Score | How It's Reached | Source |
|---|---|---|---|
| 4.0 | 8.2 High | VulnCheck | |
| 3.1 | 5.9 Medium | VulnCheck |
Weaknesses
- CWE-190 Integer Overflow or Wraparound
References
- https://github.com/bgp/bgpq4/pull/141Issue TrackerPatch
- https://github.com/bgp/bgpq4/commit/a232916868d1422edfc7fd5e0a00edd02c80c79aPatch
- https://github.com/bgp/bgpq4/commit/37a3adb76f18a800efa6bb02848fbfd6458512e5Patch
- bgpq4 1.17 Release NotesRelease Notes
- https://github.com/bgp/bgpq4/blob/1.17/CHANGESRelease Notes
- https://github.com/bgp/bgpq4/blob/1.16/expander.c#L722-L771Technical Details
- https://github.com/bgp/bgpq4/blob/1.16/expander.c#L918-L958Technical Details
- VulnCheck Advisory: bgpq4 before 1.17 Heap Buffer Overflow via IRRd A<len> Reply HandlingThird-Party Advisory
Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.