๐Ÿ” CVE Alert

CVE-2026-129456

UNKNOWN 0.0

frr: bgpd use-after-free of Tunnel Encapsulation sub-TLVs after a malformed attribute length from a peer

CVSS Score
0.0
EPSS Score
0.0%
EPSS Percentile
0th

In FRRouting, bgpd accepts a Tunnel Encapsulation attribute (type 23) whose outer TLV length does not match the length of the attribute: the mismatch is only logged and the attribute is processed anyway. A BGP neighbor can send UPDATE messages carrying such an attribute that put the reference count of the attribute's interned sub-TLV chain out of balance, so that the chain is freed while routes stored by bgpd (Adj-RIB-In entries and RIB paths) still point to it. When those routes are later replaced, withdrawn or cleared, for example when the session goes down, bgpd reads the freed memory, decrements a reference count inside it and frees it a second time. In the reporter's build without AddressSanitizer this ended in an assertion failure in bgpd's memory accounting, aborting bgpd and dropping all BGP sessions on the router, and the neighbor can repeat it each time bgpd restarts. Because freed heap memory is written to and freed again, consequences beyond a crash cannot be ruled out. An established BGP session is required. bgpd processes attribute 23 from every neighbor, including eBGP neighbors, unless it is explicitly discarded, although RFC 9012 requires it to be filtered on eBGP sessions by default. The issue was reproduced with "soft-reconfiguration inbound" configured for the neighbor, and the reporter observed that the crash does not occur on every attempt.

CWE CWE-416 CWE-415
Vendor frrouting
Product frrouting
Published Nov 14, 2026
Stay Ahead of the Next One

Get instant alerts for frrouting frrouting

Be the first to know when new unknown vulnerabilities affecting frrouting frrouting are published โ€” delivered to Slack, Telegram or Discord.

Get Free Alerts โ†’ Free ยท No credit card ยท 60 sec setup

Affected Versions

frrouting / frrouting
f4c89855b594d4b32bb3610537703215c978440e < * 10.4.0 < 10.4.4 10.5.0 < 10.5.4

References

NVD โ†— CVE.org โ†— EPSS Data โ†—
github.com: https://github.com/FRRouting/frr/issues/20874 github.com: https://github.com/FRRouting/frr/pull/21176/changes/1238ac4a06e5c23595e8bf626856f297d0c302a2 github.com: https://github.com/FRRouting/frr/commit/bebf95f02bc0dccc6a1841f0c8cbcba1f617d655 github.com: https://github.com/FRRouting/frr/commit/abef07b500e19baa924d157ab03809b93730e619

Credits

๐Ÿ” Fault Chain (https://faultchain.com/) Donatas Abraitis <[email protected]>