cvelo
P3 · MediumCVSS 6.0EPSS 0.4%

bgpd: out-of-bounds heap read and crash on NOTIFICATION Cease/Hard Reset with one data byte

  • CVE-2026-129217
  • GHSA-hgq9-rmfx-r8g6
  • EUVD-2026-125721

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.

Text from the CVE.org record.

Recommendation

  • FRRouting

    • If you run 10.5.xupdate to 10.5.2 or laterPatch update: breaking changes are unlikely
    • If you run 10.4.xupdate to 10.4.3 or laterPatch update: breaking changes are unlikely
    • If you run 10.3.xupdate to 10.3.4 or laterPatch update: breaking changes are unlikely
    • If you run 10.2.xupdate to 10.2.6 or laterPatch update: breaking changes are unlikely
    • If you run 10.1.xupdate to 10.1.5 or laterPatch update: breaking changes are unlikely
    • If you run a version from 8.3 to before 10.0.5update to 10.0.5 or laterMajor version change: expect breaking changes

Taken from the version ranges of the CVE.org record. Check the vendor advisory: nothing is said about versions the ranges do not list. Breaking-change risk is read from the version numbers only.

Affected

  • FRRouting

    Affected versionsFixed in
    from 10.5.0 to before 10.5.210.5.2
    from 10.4.0 to before 10.4.310.4.3
    from 10.3 to before 10.3.410.3.4
    from 10.2 to before 10.2.610.2.6
    from 10.1 to before 10.1.510.1.5
    from 8.3 to before 10.0.510.0.5
    before 8.3: not affectednone stated

Product versions from the CVE.org record.

Timeline

  1. Published

Related news

No article from the followed outlets names this vulnerability.