# CVE-2026-138151

bgpq4 integer overflow in IRR A<len> handling allows heap corruption/crash

- Page: https://www.vulneraibility.com/cve/CVE-2026-138151
- CVSS: 8.2
- Known exploited: not in CISA KEV as of our last sync
- EPSS: 0.56% (percentile 40.0)
- Weakness: CWE-190
- EUVD: EUVD-2026-137525 (https://euvd.enisa.europa.eu/vulnerability/EUVD-2026-137525)
- Published: 2026-11-28

## Affected versions

- bgpq4: affected < 1.17

A version outside these ranges is not a statement that it is unaffected.

## Impact

Remote heap corruption via crafted IRR A<len> reply allowing crashes and possible remote code execution; attacker controls IRR server or can MITM the TCP connection.

## Action

Immediate action required

## Recommendation

Upgrade to bgpq4 1.17+ and restrict/validate IRR sources; secure IRR connections

## References

- [patch] https://github.com/bgp/bgpq4/pull/141
- [patch] https://github.com/bgp/bgpq4/commit/a232916868d1422edfc7fd5e0a00edd02c80c79a
- [patch] https://github.com/bgp/bgpq4/commit/37a3adb76f18a800efa6bb02848fbfd6458512e5
- [other] https://github.com/bgp/bgpq4/releases/tag/1.17
- [other] https://github.com/bgp/bgpq4/blob/1.17/CHANGES
- [other] https://github.com/bgp/bgpq4/blob/1.16/expander.c#L722-L771
- [other] https://github.com/bgp/bgpq4/blob/1.16/expander.c#L918-L958
- [advisory] https://www.vulncheck.com/advisories/bgpq4-before-1.17-heap-buffer-overflow-via-irrd-a-len-reply-handling
- [EUVD (ENISA)] https://euvd.enisa.europa.eu/vulnerability/EUVD-2026-137525

---
Summary, impact and action are written by the vulneraibility.com AI analysis pipeline from the CVE record, NVD, CISA and FIRST data; verify against the references.
