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

State
Published
Severity
6.0 Medium
Published
Nov 13, 2026
Updated
Nov 16, 2026
Reserved
Nov 13, 2026

Read the record on cve.org

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.

ProductVersions
FRRouting FRRouting10.5.0 to before 10.5.2 Affected10.4.0 to before 10.4.3 Affected10.3 to before 10.3.4 Affected10.2 to before 10.2.6 Affected10.1 to before 10.1.5 Affected8.3 to before 10.0.5 Affectedbefore 8.3 Not Affected

Weaknesses

  • CWE-125 Out-of-bounds read
  • CWE-191 Integer underflow (wrap or wraparound)

References

Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.

© 2026 NVIDIA, the NVIDIA logo, and NVIDIA Inception are trademarks and/or registered trademarks of NVIDIA Corporation in the U.S. and other countries.