bgpd: out-of-bounds heap read and crash on NOTIFICATION Cease/Hard Reset with one data byte
Summary
| CVE | CVE-2026-129217 |
|---|---|
| State | PUBLISHED |
| Assigner | NetDEF |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2026-11-13 19:19:32 UTC |
| Updated | 2026-11-13 19:19:32 UTC |
| Description | 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. |
Risk And Classification
Primary CVSS: v4.0 6 MEDIUM from 57a55968-44ac-464c-a794-6ba3baad09c4
CVSS:4.0/AV:N/AC:H/AT:P/PR:H/UI:N/VC:L/VI:H/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Problem Types: CWE-125 | CWE-191 | CWE-125 CWE-125 Out-of-bounds read | CWE-191 CWE-191 Integer underflow (wrap or wraparound)
| Version | Source | Type | Score | Severity | Vector |
|---|---|---|---|---|---|
| 4.0 | 57a55968-44ac-464c-a794-6ba3baad09c4 | Secondary | 6 | MEDIUM | CVSS:4.0/AV:N/AC:H/AT:P/PR:H/UI:N/VC:L/VI:H/VA:H/SC:N/SI:N/SA:N/E:X/C... |
| 4.0 | CNA | CVSS | 6 | MEDIUM | CVSS:4.0/AV:N/AC:H/AT:P/PR:H/UI:N/VC:L/VI:H/VA:H/SC:N/SI:N/SA:N |
CVSS v4.0 Breakdown
CVSS:4.0/AV:N/AC:H/AT:P/PR:H/UI:N/VC:L/VI:H/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Vendor Declared Affected Products
| Source | Vendor | Product | Version | Platforms |
|---|---|---|---|---|
| CNA | FRRouting | FRRouting | affected 10.5.0 10.5.2 semver | Not specified |
| CNA | FRRouting | FRRouting | affected 10.4.0 10.4.3 semver | Not specified |
| CNA | FRRouting | FRRouting | affected 10.3 10.3.4 custom | Not specified |
| CNA | FRRouting | FRRouting | affected 10.2 10.2.6 custom | Not specified |
| CNA | FRRouting | FRRouting | affected 10.1 10.1.5 custom | Not specified |
| CNA | FRRouting | FRRouting | affected 8.3 10.0.5 custom | Not specified |
| CNA | FRRouting | FRRouting | unaffected 8.3 custom | Not specified |
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| github.com/FRRouting/frr/pull/20796 | 57a55968-44ac-464c-a794-6ba3baad09c4 | github.com | |
| github.com/FRRouting/frr/issues/20793 | 57a55968-44ac-464c-a794-6ba3baad09c4 | github.com | |
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
Vendor Comments And Credit
Discovery Credit
CNA: Fault Chain (https://faultchain.com/) (en)
Additional Advisory Data
| Source | Time | Event |
|---|---|---|
| CNA | 2026-02-12T07:59:00.000Z | Github Issue opened (no responsible disclosure) |
Solutions
CNA: Upgrade to a fixed version of FRRouting
Workarounds
CNA: Graceful Restart Capability needs to be enabled. Disable the Capability with "no bgp graceful-restart notification" or "bgp graceful-restart-disable"