Integer Overflow in bgpq4 Allows Memory Corruption via Malicious IRR Servers
CVE-2026-138151

8.2HIGH

Key Information:

Vendor

Bgpq4

Status
Vendor
CVE Published:
28 November 2026

What is CVE-2026-138151?

An integer overflow vulnerability exists in bgpq4 prior to version 1.17 within the expander.c file, which can lead to heap memory corruption. Maliciously crafted A replies from compromised IRR servers can trigger this overflow. When an IRR server is controlled by an attacker or when the plaintext TCP connection is tampered with, it can announce a length value of ULONG_MAX or -1. This manipulation causes the memory allocation to collapse to a mere byte, resulting in a crash of the bgpq4 software. Organizations using affected versions are advised to update to version 1.17 or later to mitigate this risk.

Affected Version(s)

bgpq4 0 < 1.17

References

CVSS V4

Score:
8.2
Severity:
HIGH
Confidentiality:
None
Integrity:
None
Availability:
High
Attack Vector:
Network
Attack Complexity:
High
Attack Required:
Physical
Privileges Required:
Undefined
User Interaction:
None

Timeline

  • Vulnerability published

  • Vulnerability Reserved

Credit

Deus Rex
Dickson Wu
.