Back to CVE catalog
CVE-2026-129456

Use after free of Tunnel Encapsulation sub-TLV chain in bgpd

frrouting frrouting

At a glance

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…

Full source 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.

Source description · CVE List / CNA

System impact

Attack complexityLow
ConfidentialityHigh
IntegrityHigh
AvailabilityHigh

CVSS summary v4.0

7.7High
Published:
Updated:
EPSS:
0.451%
Exploited in attacks:
Not confirmed
Ransomware campaigns:
Not confirmed
Attack vector:
Network

Affected software

Vendor, product and affected version ranges.

Vendor, product and affected versions
Vendor:frroutingfrroutingAffected versions:
≥ 10.6.0, < 10.6.2Show full version range for frrouting

Git commit ranges (source code)

  • From commit 97dd9ea9e3e2aa982dcbc36466573eb4c0c87cbd; no ending commit specified (status changes: 40f25e62686865649b7631ec30756f9661e12dd3: unaffected)
Vendor:SUSESUSE Linux Enterprise Server 16.1Affected versions:Source does not specify a version range
Vendor:SUSESUSE Linux Enterprise Server for NVIDIA 16.1Affected versions:Source does not specify a version range
Vendor:SUSESUSE Linux Enterprise Server for SAP applications 16.1Affected versions:Source does not specify a version range
Vendor:SUSEopenSUSE Leap 16.1Affected versions:Source does not specify a version range
Vendor:n/aFRRoutingAffected versions:
97dd9ea9e3e2aa982dcbc36466573eb4c0c87cbd <*Show full version range for FRRouting
10.6.0 <10.6.2

1–6 of 6 · Page 1 of 1

CVSS scores and metrics4
NetDEF · CVE List / CNA (cna)Primary7.7 / 10HighCVSS 4.0Details
Attack complexity
Low
Confidentiality
High
Integrity
High
Availability
High
Attack vector
Network
Privileges required
Low
User interaction
Not required
Attack requirements
Present
Subsequent confidentiality
None
Subsequent integrity
None
Subsequent availability
Low

Source vector

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
57a55968-44ac-464c-a794-6ba3baad09c4 · NVD (Secondary)7.7 / 10HighCVSS 4.0Details
Attack complexity
Low
Confidentiality
High
Integrity
High
Availability
High
Attack vector
Network
Privileges required
Low
User interaction
Not required
Attack requirements
Present
Subsequent confidentiality
None
Subsequent integrity
None
Subsequent availability
Low

Source vector

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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:N/R:A/V:X/RE:X/U:X
CVE-2026-129456 · OSV (source-vector)7.7 / 10HighCVSS 4.0Details
Attack complexity
Low
Confidentiality
High
Integrity
High
Availability
High
Attack vector
Network
Privileges required
Low
User interaction
Not required
Attack requirements
Present
Subsequent confidentiality
None
Subsequent integrity
None
Subsequent availability
Low

Source vector

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
ENISA · ENISA EUVD (aggregator)7.7 / 10HighCVSS 4.0Details
Attack complexity
Low
Confidentiality
High
Integrity
High
Availability
High
Attack vector
Network
Privileges required
Low
User interaction
Not required
Attack requirements
Present
Subsequent confidentiality
None
Subsequent integrity
None
Subsequent availability
Low

Source vector

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 measures severity; EPSS estimates exploitation probability. Lack of confirmed attacks does not mean lack of risk.

Sources and advisories11

This product uses the NVD API but is not endorsed or certified by the NVD. CVE® records © The MITRE Corporation, reproduced under the CVE Terms of Use. Data sources and licences