CVE-2026-138151 PUBLISHED

bgpq4 before 1.17 Heap Buffer Overflow via IRRd A<len> Reply Handling

Assigner: VulnCheck
Reserved: 28.11.2026 Published: 28.11.2026 Updated: 28.11.2026

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.

Metrics

CVSS Vector: 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
CVSS Score: 8.2

Product Status

Vendor bgpq4
Product bgpq4
Versions Default: unaffected
  • affected from 0 to 1.17 (excl.)

Credits

  • Deus Rex finder
  • Dickson Wu remediation developer

References

Problem Types

  • Integer Overflow or Wraparound CWE