CVE-2026-138151
HIGH 8.2CVSS 4.0bgpq4 before 1.17 Heap Buffer Overflow via IRRd A<len> Reply Handling
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.
- Published
- 28 Nov 2026
- Last modified
- 1 Dec 2026
- Assigned by
- disclosure@vulncheck.com
- NVD status
- Received
- Weakness
- CWE-190
- Sources
- NVDJSONCVE ListJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | disclosure@vulncheck.com (Secondary) | CVSS 4.0 | HIGH 8.2 | 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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X |
| CVE List | VulnCheck | CVSS 4.0 | HIGH 8.2 | 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 |
| NVD | disclosure@vulncheck.com (Secondary) | CVSS 3.1 | MEDIUM 5.9 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H |
| CVE List | VulnCheck | CVSS 3.1 | MEDIUM 5.9 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H |
| CVE List | CISA-ADP | SSVC | Exploitation: none; Automatable: no; Technical Impact: partial |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| CVE List | bgpq4 | bgpq4 | < 1.17 | 1.17 |
References
- https://github.com/bgp/bgpq4/blob/1.16/expander.c#L722-L771 · technical-description
- https://github.com/bgp/bgpq4/blob/1.16/expander.c#L918-L958 · technical-description
- https://github.com/bgp/bgpq4/blob/1.17/CHANGES · release-notes
- https://github.com/bgp/bgpq4/commit/37a3adb76f18a800efa6bb02848fbfd6458512e5 · patch
- https://github.com/bgp/bgpq4/commit/a232916868d1422edfc7fd5e0a00edd02c80c79a · patch
- https://github.com/bgp/bgpq4/pull/141 · issue-tracking, patch
- https://github.com/bgp/bgpq4/releases/tag/1.17 · release-notes
- https://www.vulncheck.com/advisories/bgpq4-before-1.17-heap-buffer-overflow-via-irrd-a-len-reply-handling · third-party-advisory
History
- 1 Dec 2026 22:45 UTC · NVD: updated (other details)
- 1 Dec 2026 22:03 UTC · CVE List: updated (other details)
- 28 Nov 2026 03:10 UTC · NVD: first stored (published 28 Nov 2026)
- 28 Nov 2026 02:10 UTC · CVE List: first stored (published 28 Nov 2026)