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 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.
{
"cna_assigner": "VulnCheck",
"cwe_ids": [
"CWE-190"
],
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/138xxx/CVE-2026-138151.json"
}{
"extracted_events": [
{
"range": [
{
"introduced": "0"
},
{
"fixed": "1.17"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StandardRange"
},
{
"range": [
{
"fixed": "a232916868d1422edfc7fd5e0a00edd02c80c79a"
}
],
"source": "REFERENCES_COMMIT"
},
{
"range": [
{
"fixed": "37a3adb76f18a800efa6bb02848fbfd6458512e5"
}
],
"source": "REFERENCES_COMMIT"
},
{
"original_tag": "1.17",
"range": [
{
"fixed": "4eba2c33be1a3a4e8ab2c889c1d1f73a5a0616f0"
}
],
"source": "REFERENCES_TAG"
}
]
}