PatchSiren

PatchSiren cyber security CVE debrief

CVE-2026-138151 bgpq4 CVE debrief

bgpq4 versions before 1.17 are vulnerable to a heap buffer overflow when handling crafted A<len> replies from IRR servers. This issue allows attackers controlling the IRR server or tampering with the TCP connection to corrupt heap memory, potentially crashing bgpq4. The vulnerability is due to an integer overflow in expander.c that enables malicious IRR servers to announce a ULONG_MAX or -1 length, wrapping the allocation to one byte.

Vendor
bgpq4
Product
Unknown
CVSS
HIGH 8.2
CISA KEV
Not listed in stored evidence
Original CVE published
2026-11-28
Original CVE updated
2026-11-28
Advisory published
2026-11-28
Advisory updated
2026-11-28

Who should care

Defenders responsible for bgpq4 deployments, IRR server administrators, and network security teams should assess exposure and prioritize patching. This includes reviewing current bgpq4 versions, identifying affected systems, and coordinating with vendors for updates. Additionally, security teams should verify IRR server trustworthiness, monitor for suspicious IRRd traffic, and review access controls. Operators of affected platforms and vulnerability-mitig

Why it matters

Defenders should care about CVE-2026-138151 as it affects bgpq4 versions before 1.17, allowing potential heap buffer overflows and service disruption. IRR server trustworthiness and monitoring are crucial. Patching to version 1.17 or later is recommended.

  • Potential service disruption due to bgpq4 crashes
  • Heap memory corruption requiring patching and verification
  • Need for IRR server trustworthiness assessment and monitoring
  • Priority for patching and updating access controls

Technical summary

The bgpq4 versions before 1.17 contain 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. This issue allows attackers to potentially disrupt service and corrupt memory, emphasizing the need for patching and verifying IRR server trustworthiness. Affected deployments should prioritize updates and assess IRR server security.

Defensive priority

Defenders should prioritize patching bgpq4 to version 1.17 or later, verifying IRR server trustworthiness, and monitoring for suspicious IRRd traffic.

Recommended defensive actions

  • Patch bgpq4 to version 1.17 or later
  • Verify IRR server trustworthiness
  • Monitor for suspicious IRRd traffic
  • Review and update access controls for IRR servers
  • Perform vulnerability scanning to identify exposed systems
  • Implement network segmentation to limit potential damage
  • Review and update incident response plans

Evidence notes

The CVE record and source item provide details on the vulnerability, affected versions, and potential impact. However, information on actual exploitation, victims, or business impact is not available.

Sources and references

Verified primary and authoritative sources

  • CVE-2026-138151 CVE Program record

    Publisher, destination, and source semantics verified

    URL: https://www.cve.org/CVERecord?id=CVE-2026-138151

    CVE Program - Official CVE Program record with source-provided CVE metadata.

  • CVE-2026-138151 NVD vulnerability detail

    Publisher, destination, and source semantics verified

    URL: https://nvd.nist.gov/vuln/detail/CVE-2026-138151

    NIST National Vulnerability Database - Official NIST NVD detail page and source-specific vulnerability assessment.

Supplemental references

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

    Unverified legacy reference

    URL: https://raw.githubusercontent.com/CVEProject/cvelistV5/main/cves/2026/138xxx/CVE-2026-138151.json

    cve_program_cvelist_v5

  • Source reference

    Unverified legacy reference

    URL: https://github.com/bgp/bgpq4/pull/141

    Supplemental source - issue-tracking, patch

  • Source reference

    Unverified legacy reference

    URL: https://github.com/bgp/bgpq4/commit/a232916868d1422edfc7fd5e0a00edd02c80c79a

    Supplemental source - patch

  • Source reference

    Unverified legacy reference

    URL: https://github.com/bgp/bgpq4/commit/37a3adb76f18a800efa6bb02848fbfd6458512e5

    Supplemental source - patch

  • Source reference

    Unverified legacy reference

    URL: https://github.com/bgp/bgpq4/releases/tag/1.17

    Supplemental source - release-notes

  • Source reference

    Unverified legacy reference

    URL: https://github.com/bgp/bgpq4/blob/1.17/CHANGES

    Supplemental source - release-notes

  • Source reference

    Unverified legacy reference

    URL: https://github.com/bgp/bgpq4/blob/1.16/expander.c

    Supplemental source - technical-description

  • Source reference

    Unverified legacy reference

    URL: https://www.vulncheck.com/advisories/bgpq4-before-1.17-heap-buffer-overflow-via-irrd-a-len-reply-handling

    Supplemental source - third-party-advisory

Methodology and review provenance

AI-assisted synthesis based on stored public vulnerability evidence. System validation, approval state, and publication status do not by themselves establish human review of this revision. PatchSiren helps prioritize defensive review and does not prove exposure or remediation on any system.