# CVE-2026-129456: frr: bgpd use-after-free of Tunnel Encapsulation sub-TLVs via the attribute intern reuse cache with soft-reconfiguration inbound

- **Severity:** HIGH 7.7
- **CVSS:** 7.7 (v4.0, CNA) `CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:L/AU:N/R:A`
- **CVSS metrics:** Attack vector: Network; Attack complexity: Low; Attack requirements: Present; Privileges required: Low; User interaction: None; Confidentiality impact: High; Integrity impact: High; Availability impact: High; Confidentiality impact on other systems: None; Integrity impact on other systems: None; Availability impact on other systems: Low; AU: N; R: A
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, login needed
- **EPSS:** 0.45% (percentile 31, 2026-11-28)
- **CWE:** CWE-416, CWE-415
- **Published:** 2026-11-14T19:13:23.983Z
- **Modified:** 2026-11-17T22:17:20.520Z

## Who should check

- Anyone running frrouting \>= 97dd9ea9e3e2aa982dcbc36466573eb4c0c87cbd, \< \*; \>= 10.6.0, \< 10.6.2

## Description

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.

## Affected and fixed versions

- frrouting: \>= 97dd9ea9e3e2aa982dcbc36466573eb4c0c87cbd, \< \*; \>= 10.6.0, \< 10.6.2 (cvelist)

## Mitigation

- Upgrade frrouting to 10.6.2 or later.
- Vendor workaround: Remove "neighbor \<neighbor\> soft-reconfiguration inbound", or configure "neighbor \<neighbor\> path-attribute discard 23" (or "neighbor \<neighbor\> path-attribute treat-as-withdraw 23") for neighbors that are not expected to send the Tunnel Encapsulation attribute, in particular all eBGP neighbors. With the attribute discarded, bgpd skips it without parsing or storing it.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-129456. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-129456.md
Affected: frrouting >= 97dd9ea9e3e2aa982dcbc36466573eb4c0c87cbd, < *; >= 10.6.0, < 10.6.2
Fixed in: frrouting 10.6.2

Steps:
1. Search this machine and project for frrouting: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-129456 being exploited?

There is no confirmed exploitation: CVE-2026-129456 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.45% chance of exploitation in the next 30 days (as of 2026-11-28).

### How serious is CVE-2026-129456?

High: CVSS 7.7 (v4.0, scored by CNA). Remote, login needed.

### Which versions are affected by CVE-2026-129456?

frrouting \>= 97dd9ea9e3e2aa982dcbc36466573eb4c0c87cbd, \< \*; \>= 10.6.0, \< 10.6.2.

### Is there a fix for CVE-2026-129456?

Yes. Fixed in frrouting 10.6.2. Upgrade frrouting to 10.6.2 or later. Vendor workaround: Remove "neighbor \<neighbor\> soft-reconfiguration inbound", or configure "neighbor \<neighbor\> path-attribute discard 23" (or "neighbor \<neighbor\> path-attribute treat-as-withdraw 23") for neighbors that are not expected to send the Tunnel Encapsulation attribute, in particular all eBGP neighbors. With the attribute discarded, bgpd skips it without parsing or storing it.

### How do I check if I'm affected by CVE-2026-129456?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- patch: <https://github.com/FRRouting/frr/pull/22008/changes/40f25e62686865649b7631ec30756f9661e12dd3>
- patch: <https://github.com/FRRouting/frr/commit/5c241056777b27b209bc89326f0061ec6d5e0924>
- other: <https://github.com/FRRouting/frr/issues/20874>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-129456>
- FIRST EPSS: EPSS scores by FIRST <https://www.first.org/epss/>

HTML: <https://flawdb.com/CVE-2026-129456> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-129456>
