CVE-2026-129456
CVE-2026-129456 · frr: bgpd use-after-free of Tunnel Encapsulation sub-TLVs via the attribute intern reuse cache with soft-reconfiguration inbound
CVSS 7.7 · High · EPSS 0.5% · Fix available
Compare with your installed version
Affected products and known fixed versions are public information. Compare them with your installed version.
- frroutingUpdate to 10.6.2
- frr Debian 12No fix published
- frr Debian 13No fix published
- frr Debian 14Update to 10.7.0-1
- and 8 more
Check the installed version:
dpkg-query -W -f='${source:Package} ${binary:Package} ${Version}\n' | awk '$1=="frr"'Assess your server’s risks
The free check gives you a rating and a risk summary by technology stack, without signing up. It does not answer whether this particular vulnerability affects you.
Monitoring matches public information against your servers’ software. Detailed findings for your servers include the order of updates.
curl -fsSL https://patchfirst.dev/check.sh | shChannels carry general technology news; monitoring reports new findings on your servers in your dashboard, through browser notifications, in Telegram or via a webhook.
This page contains facts from public vulnerability sources. Check the original advisory before updating.
In FRRouting, bgpd frees the sub-TLV chain of a Tunnel Encapsulation attribute (type 23) while routes stored by bgpd still point to it, if the attribute is received from a neighbor that has "soft-reconfiguration inbound" configured. A cache added to speed up attribute interning while processing the prefixes of an UPDATE checks whether an interned attribute set may be reused by comparing the parsed attributes with themselves, so the check always succeeds. Interning the parsed attributes for the Adj-RIB-In removes the Tunnel Encapsulation sub-TLVs from them, and the copy that bgpd then interns for the route reuses the cached attribute set, which still holds the sub-TLVs, without taking a reference on them. When the route is later replaced, withdrawn or cleared, for example when the session goes down, the sub-TLV chain is freed while still in use, and bgpd then reads it, 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, and the attribute does not need to be malformed. 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. Neighbors without "soft-reconfiguration inbound" are not affected.
- Published
- Updated
Fixes in distributions
- openSUSE-SU-2026:12637-1 · openSUSE Tumbleweed ·
Stack: system
Affected products and versions
frrouting
- Versions
- ≥ 97dd9ea9e3e2aa982dcbc36466573eb4c0c87cbd: Affected; ≥ 40f25e62686865649b7631ec30756f9661e12dd3: Not affected (git)
- ≥ 10.6.0, < 10.6.2: Affected (semver)
Update to 10.6.2
frr Debian 12
- Versions
- 10.0-0.1
- 10.0-0.2
- 10.0-1
- 10.0-2
- 10.0.1-0.1
- 10.1-0.1
All versions (59)
- 10.1-0.2
- 10.1.1-0.1
- 10.1.1-1
- 10.1.1-2
- 10.1.1-3
- 10.2-1
- 10.2-2
- 10.2.1-1
- 10.2.1-2
- 10.2.1-3
- 10.2.1-4
- 10.2.1-5
- 10.2.1-6
- 10.3-1
- 10.3-2
- 10.3-3
- 10.3-4
- 10.3-5
- 10.3.1-1
- 10.3.1-2
- 10.3.1-3
- 10.3.1-4
- 10.4.0-1
- 10.4.1-1
- 10.4.1-2
- 10.4.1-3
- 10.5.0-1
- 10.5.0-2
- 10.5.1-1
- 10.5.1-2
- 10.5.1-3
- 10.5.2-1
- 10.5.3-1
- 10.6.0-1
- 10.6.0-2
- 10.6.1-1
- 10.6.1-2
- 10.6.1-3
- 10.7.0-1
- 10.7.0-2
- 10.7.1-1
- 10.7.1-2
- 10.7.1-3
- 10.7.1-4
- 10.7.1-5
- 10.7.1-6
- 10.7.1-7
- 8.4.2-1
- 8.4.4-1
- 8.4.4-1.1
- 8.4.4-1.1~deb12u1
- 8.4.4-1.1~deb12u2
- 9.1-0.1
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
frr Debian 13
- Versions
- 10.3-3
- 10.3-3+deb13u1
- 10.3-4
- 10.3-5
- 10.3.1-1
- 10.3.1-2
All versions (33)
- 10.3.1-3
- 10.3.1-4
- 10.4.0-1
- 10.4.1-1
- 10.4.1-2
- 10.4.1-3
- 10.5.0-1
- 10.5.0-2
- 10.5.1-1
- 10.5.1-2
- 10.5.1-3
- 10.5.2-1
- 10.5.3-1
- 10.6.0-1
- 10.6.0-2
- 10.6.1-1
- 10.6.1-2
- 10.6.1-3
- 10.7.0-1
- 10.7.0-2
- 10.7.1-1
- 10.7.1-2
- 10.7.1-3
- 10.7.1-4
- 10.7.1-5
- 10.7.1-6
- 10.7.1-7
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
frr Debian 14
- Versions
- 10.3-3
- 10.3-4
- 10.3-5
- 10.3.1-1
- 10.3.1-2
- 10.3.1-3
All versions (23)
- 10.3.1-4
- 10.4.0-1
- 10.4.1-1
- 10.4.1-2
- 10.4.1-3
- 10.5.0-1
- 10.5.0-2
- 10.5.1-1
- 10.5.1-2
- 10.5.1-3
- 10.5.2-1
- 10.5.3-1
- 10.6.0-1
- 10.6.0-2
- 10.6.1-1
- 10.6.1-2
- 10.6.1-3
- Affected ranges
- ECOSYSTEM: < 10.7.0-1
Update to 10.7.0-1
quagga Ubuntu Pro 16.04 LTS
- Versions
- 0.99.24.1-2
- 0.99.24.1-2ubuntu1
- 0.99.24.1-2ubuntu1.1
- 0.99.24.1-2ubuntu1.2
- 0.99.24.1-2ubuntu1.3
- 0.99.24.1-2ubuntu1.4
All versions (7)
- 0.99.24.1-2ubuntu1.4+esm1
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
quagga Ubuntu Pro 18.04 LTS
- Versions
- 1.1.1-3
- 1.1.1-3ubuntu1
- 1.2.2-1
- 1.2.2-1ubuntu1
- 1.2.4-1
- 1.2.4-1ubuntu0.1~esm1
All versions (7)
- 1.2.4-1ubuntu0.1~esm2
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
quagga Ubuntu 20.04 LTS
- Versions
- 1.2.4-4build1
- 1.2.4-4ubuntu0.1
- 1.2.4-4ubuntu0.4
- 1.2.4-4ubuntu0.5
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
frr Ubuntu Pro 20.04 LTS
- Versions
- 6.0.2-2build2
- 7.2-1ubuntu1
- 7.2-1ubuntu2
- 7.2.1-1
- 7.2.1-1ubuntu0.1
- 7.2.1-1ubuntu0.2
All versions (11)
- 7.2.1-1ubuntu0.2+esm1
- 7.2.1-1ubuntu0.2+esm2
- 7.2.1-1ubuntu0.2+esm3
- 7.2.1-1ubuntu0.2+esm4
- 7.2.1-1ubuntu0.2+esm5
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
frr Ubuntu 22.04 LTS
- Versions
- 7.5.1-1.1
- 8.1-1
- 8.1-1ubuntu1
- 8.1-1ubuntu1.1
- 8.1-1ubuntu1.2
- 8.1-1ubuntu1.3
All versions (19)
- 8.1-1ubuntu1.4
- 8.1-1ubuntu1.5
- 8.1-1ubuntu1.6
- 8.1-1ubuntu1.7
- 8.1-1ubuntu1.8
- 8.1-1ubuntu1.9
- 8.1-1ubuntu1.10
- 8.1-1ubuntu1.11
- 8.1-1ubuntu1.13
- 8.1-1ubuntu1.14
- 8.1-1ubuntu1.15
- 8.1-1ubuntu1.16
- 8.1-1ubuntu1.17
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
frr Ubuntu 24.04 LTS
- Versions
- 8.4.4-1.1ubuntu1
- 8.4.4-1.1ubuntu3
- 8.4.4-1.1ubuntu4
- 8.4.4-1.1ubuntu5
- 8.4.4-1.1ubuntu6
- 8.4.4-1.1ubuntu6.1
All versions (13)
- 8.4.4-1.1ubuntu6.2
- 8.4.4-1.1ubuntu6.3
- 8.4.4-1.1ubuntu6.4
- 8.4.4-1.1ubuntu6.5
- 8.4.4-1.1ubuntu6.6
- 8.4.4-1.1ubuntu6.7
- 8.4.4-1.1ubuntu6.8
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
frr Ubuntu 26.10
- Versions
- 10.5.1-1ubuntu4
- 10.5.1-1ubuntu5
- 10.5.1-1ubuntu6
- 10.7.0-2ubuntu1
- 10.7.1-1ubuntu1
- 10.7.1-3ubuntu1
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
frr Ubuntu 26.04 LTS
- Versions
- 10.4.1-3ubuntu1
- 10.4.1-3ubuntu2
- 10.5.1-1ubuntu1
- 10.5.1-1ubuntu2
- 10.5.1-1ubuntu3
- 10.5.1-1ubuntu4
All versions (7)
- 10.5.1-1ubuntu4.1
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published