CVE-2026-138151
published high CVSS 4.0 · 8.2bgpq4 before 1.17 Heap Buffer Overflow via IRRd A<len> Reply Handling
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| bgpq4 | — | bgpq40 to < 1.17 · Other versions: unaffected | Affected | Not stated | VulnCheck |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 8.2 / 10
- Severity
- high
- Provider
- VulnCheck · cna
- Vector string
- 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
Additional Assessments
| Version | Score | Severity | Provider | Vector | Scenarios |
|---|---|---|---|---|---|
| 3.1 | 5.9 | medium | VulnCheck · cna | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H | — |
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| bgpq4 | bgpq4 | 0 to < 1.17 (affected · custom)Default: unaffected | VulnCheck · cna |
Weaknesses
1- CWE-190 Integer Overflow or Wraparound
References
8- 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://github.com/bgp/bgpq4/blob/1.17/CHANGES
- https://github.com/bgp/bgpq4/commit/37a3adb76f18a800efa6bb02848fbfd6458512e5
- https://github.com/bgp/bgpq4/commit/a232916868d1422edfc7fd5e0a00edd02c80c79a
- https://github.com/bgp/bgpq4/pull/141
- bgpq4 1.17 Release Notes https://github.com/bgp/bgpq4/releases/tag/1.17
- VulnCheck Advisory: bgpq4 before 1.17 Heap Buffer Overflow via IRRd A<len> Reply Handling https://www.vulncheck.com/advisories/bgpq4-before-1.17-heap-buffer-overflow-via-irrd-a-len-reply-handling
Provider assertions
2VulnCheck · cna
bgpq4 before 1.17 Heap Buffer Overflow via IRRd A<len> Reply Handling
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 77487345cb337e91b10cb46b8301762ff977764b6d08fb14cc91281eaddc51b3
- Ingested
- 01 Dec 2026, 21:59:30 UTC
- Source record
- Official CVE record