CVE-2026-129217bgpd: out-of-bounds heap read and crash on NOTIFICATION Cease/Hard Reset with one data…
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.
What to do
Fixed builds are available from Debian: see the table below for the fixed version per release.
Debian, Ubuntu have not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 26.10 | frr | Fix pending | UBUNTU-CVE-2026-129217 | |
| Ubuntu 26.04 | frr | Under investigation | UBUNTU-CVE-2026-129217 | |
| Ubuntu 24.04 | frr | Under investigation | UBUNTU-CVE-2026-129217 | |
| Ubuntu 22.04 | frr | Under investigation | UBUNTU-CVE-2026-129217 | |
| Ubuntu 20.04 | frr | Fix pending | UBUNTU-CVE-2026-129217 | |
| Ubuntu 20.04 | quagga | Fix pending | UBUNTU-CVE-2026-129217 | |
| Ubuntu 18.04 | quagga | Fix pending | UBUNTU-CVE-2026-129217 | |
| Ubuntu 16.04 | quagga | Fix pending | UBUNTU-CVE-2026-129217 | |
| Debian 14 | frr | Fixed | 10.5.2-1 | DEBIAN-CVE-2026-129217 |
| Debian 13 | frr | Fix pending | DEBIAN-CVE-2026-129217 | |
| Debian 12 | frr | Fix pending | DEBIAN-CVE-2026-129217 |
What the vendor says
As published in the CVE record by NetDEF, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- FRRouting: affected: 10.5.0 to before 10.5.2, 10.4.0 to before 10.4.3, 10.3 to before 10.3.4, 10.2 to before 10.2.6, 10.1 to before 10.1.5, 8.3 to before 10.0.5; fixed in
10.5.2,10.4.3,10.3.4,10.2.6,10.1.5,10.0.5
Solution: Upgrade to a fixed version of FRRouting
Workaround: Graceful Restart Capability needs to be enabled. Disable the Capability with "no bgp graceful-restart notification" or "bgp graceful-restart-disable"
Vendor advisories:
References
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.