bgpd: out-of-bounds heap read and crash on NOTIFICATION Cease/Hard Reset with one data byte
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| FRRoutingFRRouting |
≥ 10.5.0, < 10.5.2→ 10.5.2 ≥ 10.4.0, < 10.4.3→ 10.4.3 ≥ 10.3, < 10.3.4→ 10.3.4 ≥ 10.2, < 10.2.6→ 10.2.6 ≥ 10.1, < 10.1.5→ 10.1.5 ≥ 8.3, < 10.0.5→ 10.0.5 |
10.5.2 10.4.3 10.3.4 10.2.6 10.1.5 10.0.5 |
Fix status by distribution
Records published by each distribution for this CVE. Fixed versions differ by release; check each link.
- Debian DEBIAN-CVE-2026-129217 frr Fix available
- Ubuntu UBUNTU-CVE-2026-129217 quagga, frr No fixed version in this record
Original description The description as published by the source.
In FRRouting (FRR) 8.3 through 10.5.1, bgp_notify_decapsulate_hard_reset() in bgpd/bgp_packet.c does not validate the length of the data field of a received BGP NOTIFICATION Cease/Hard Reset message (RFC 8538). When the data field is exactly one byte long, the function reads one byte past the end of a heap buffer and the 16-bit length of the encapsulated data underflows to 65535, causing a 65535-byte out-of-bounds heap read followed by an assertion failure. A remote BGP peer that has established a session and negotiated the Graceful Restart capability with the Notification (N) bit can send such a message to crash the bgpd daemon, terminating all BGP sessions (denial of service). This is fixed in 10.0.5, 10.1.5, 10.2.6, 10.3.4, 10.4.3, 10.5.2 and 10.6.0.
Source: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory
References
- advisory nvd.nist.gov
- advisory github.com
- package github.com
- patch github.com
- report github.com
- web github.com