CVEfocus › CVE database › CVE-2026-129456

CVE-2026-129456frr: bgpd use-after-free of Tunnel Encapsulation sub-TLVs via the attribute intern reuse…

CVSS 7.7 HighEPSS 0.4% (higher than 33% of CVEs)Published 2026-11-14Updated 2026-11-16Assigner: NetDEF

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.

CWE-415CWE-416

What to do

Fixed builds are available from Debian: see the table below for the fixed version per release.

Debian, Ubuntu have not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

1Fixed
7Fix pending
3Under investigation

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 26.10frrFix pendingUBUNTU-CVE-2026-129456
Ubuntu 26.04frrUnder investigationUBUNTU-CVE-2026-129456
Ubuntu 24.04frrUnder investigationUBUNTU-CVE-2026-129456
Ubuntu 22.04frrUnder investigationUBUNTU-CVE-2026-129456
Ubuntu 20.04frrFix pendingUBUNTU-CVE-2026-129456
Ubuntu 20.04quaggaFix pendingUBUNTU-CVE-2026-129456
Ubuntu 18.04quaggaFix pendingUBUNTU-CVE-2026-129456
Ubuntu 16.04quaggaFix pendingUBUNTU-CVE-2026-129456
Debian 14frrFixed10.7.0-1DEBIAN-CVE-2026-129456
Debian 13frrFix pendingDEBIAN-CVE-2026-129456
Debian 12frrFix pendingDEBIAN-CVE-2026-129456

What the vendor says

As published in the CVE record by NetDEF, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

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.

Vendor advisories:

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.