{"schemaVersion":4,"id":"CVE-2026-129456","aliases":["DEBIAN-CVE-2026-129456","UBUNTU-CVE-2026-129456"],"status":"published","duplicateOf":null,"title":"frr: bgpd use-after-free of Tunnel Encapsulation sub-TLVs via the attribute intern reuse cache with soft-reconfiguration inbound","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.","dates":{"published":"2026-11-14T19:13:23.983Z","modified":"2026-11-16T23:29:44.455Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":7.7,"severity":"high","version":"4.0","versionLabel":"v4.0","source":"CVE.org","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","computed":false,"selection":"backend-summary"},"metrics":[{"version":"4.0","versionLabel":"v4.0","source":"CVE.org","score":7.7,"severity":"high","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","exploitability":null,"impact":null,"computed":false},{"version":"4.0","versionLabel":"v4.0","source":"NVD","score":7.7,"severity":"high","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","exploitability":null,"impact":null,"computed":false},{"version":"4.0","versionLabel":"v4.0","source":"OSV · Debian","score":7.7,"severity":"high","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","exploitability":null,"impact":null,"computed":true},{"version":"4.0","versionLabel":"v4.0","source":"OSV · Ubuntu","score":7.7,"severity":"high","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","exploitability":null,"impact":null,"computed":true}]},"epss":{"probability":0.00383,"percentile":0.34438,"severity":"low","asOf":"2026-12-04T00:00:00.000Z","change":{"pp":null,"baselineDate":null,"baselineScore":null},"history":[{"date":"2026-11-15T00:00:00.000Z","score":0.00267,"percentile":null},{"date":"2026-11-16T00:00:00.000Z","score":0.00283,"percentile":null},{"date":"2026-11-17T00:00:00.000Z","score":0.00283,"percentile":null},{"date":"2026-11-18T00:00:00.000Z","score":0.00283,"percentile":null},{"date":"2026-11-19T00:00:00.000Z","score":0.00283,"percentile":null},{"date":"2026-11-20T00:00:00.000Z","score":0.00283,"percentile":null},{"date":"2026-11-21T00:00:00.000Z","score":0.00383,"percentile":null},{"date":"2026-11-22T00:00:00.000Z","score":0.00383,"percentile":null},{"date":"2026-11-23T00:00:00.000Z","score":0.00383,"percentile":null},{"date":"2026-11-24T00:00:00.000Z","score":0.00383,"percentile":null},{"date":"2026-11-25T00:00:00.000Z","score":0.00451,"percentile":null},{"date":"2026-11-26T00:00:00.000Z","score":0.00451,"percentile":null},{"date":"2026-11-27T00:00:00.000Z","score":0.00451,"percentile":null},{"date":"2026-11-28T00:00:00.000Z","score":0.00451,"percentile":null},{"date":"2026-11-29T00:00:00.000Z","score":0.00451,"percentile":null},{"date":"2026-11-30T00:00:00.000Z","score":0.00451,"percentile":null},{"date":"2026-12-01T00:00:00.000Z","score":0.00383,"percentile":null},{"date":"2026-12-02T00:00:00.000Z","score":0.00383,"percentile":null},{"date":"2026-12-03T00:00:00.000Z","score":0.00383,"percentile":null},{"date":"2026-12-04T00:00:00.000Z","score":0.00383,"percentile":0.34438}],"last30":[{"date":"2026-11-15T00:00:00.000Z","score":0.00267,"percentile":null},{"date":"2026-11-16T00:00:00.000Z","score":0.00283,"percentile":null},{"date":"2026-11-17T00:00:00.000Z","score":0.00283,"percentile":null},{"date":"2026-11-18T00:00:00.000Z","score":0.00283,"percentile":null},{"date":"2026-11-19T00:00:00.000Z","score":0.00283,"percentile":null},{"date":"2026-11-20T00:00:00.000Z","score":0.00283,"percentile":null},{"date":"2026-11-21T00:00:00.000Z","score":0.00383,"percentile":null},{"date":"2026-11-22T00:00:00.000Z","score":0.00383,"percentile":null},{"date":"2026-11-23T00:00:00.000Z","score":0.00383,"percentile":null},{"date":"2026-11-24T00:00:00.000Z","score":0.00383,"percentile":null},{"date":"2026-11-25T00:00:00.000Z","score":0.00451,"percentile":null},{"date":"2026-11-26T00:00:00.000Z","score":0.00451,"percentile":null},{"date":"2026-11-27T00:00:00.000Z","score":0.00451,"percentile":null},{"date":"2026-11-28T00:00:00.000Z","score":0.00451,"percentile":null},{"date":"2026-11-29T00:00:00.000Z","score":0.00451,"percentile":null},{"date":"2026-11-30T00:00:00.000Z","score":0.00451,"percentile":null},{"date":"2026-12-01T00:00:00.000Z","score":0.00383,"percentile":null},{"date":"2026-12-02T00:00:00.000Z","score":0.00383,"percentile":null},{"date":"2026-12-03T00:00:00.000Z","score":0.00383,"percentile":null},{"date":"2026-12-04T00:00:00.000Z","score":0.00383,"percentile":0.34438}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[],"exploitCount":0,"weaknesses":[{"id":"CWE-415","name":"Double Free","description":"The product calls free() twice on the same memory address.","type":"weakness","status":"Draft","abstraction":"Variant","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/415.html"},{"id":"CWE-416","name":"Use After Free","description":"The product reuses or references memory after it has been freed. At some point afterward, the memory may be allocated again and saved in another pointer, while the original pointer references a location somewhere within the new allocation. Any operations using the original pointer are no longer valid because the memory \"belongs\" to the code that operates on the new pointer.","type":"weakness","status":"Stable","abstraction":"Variant","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/416.html"}],"affected":[{"vendor":"debian","product":"frr","name":"frr","label":"frr","ecosystem":"Debian","cpePart":null,"purl":"pkg:deb/debian/frr","purlType":"deb","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null,"bounds":{"kind":"all"}},{"text":"< 10.7.0-1","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":null,"startInclusive":true,"end":"10.7.0-1","endInclusive":false}}],"versionsText":"All versions (No fix recorded) | < 10.7.0-1","eol":null,"hubHref":null},{"vendor":"ubuntu","product":"frr","name":"frr","label":"frr","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/frr","purlType":"deb","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null,"bounds":{"kind":"all"}}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"ubuntu","product":"quagga","name":"quagga","label":"quagga","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/quagga","purlType":"deb","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null,"bounds":{"kind":"all"}}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"frrouting","product":"frrouting","name":"frrouting","label":"frrouting","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≥ 97dd9ea9e3e2aa982dcbc36466573eb4c0c87cbd","noFixRecorded":true,"fixedIn":null,"bounds":{"kind":"range","start":"97dd9ea9e3e2aa982dcbc36466573eb4c0c87cbd","startInclusive":true,"end":null,"endInclusive":false}},{"text":"≥ 10.6.0, < 10.6.2","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":"10.6.0","startInclusive":true,"end":"10.6.2","endInclusive":false}}],"versionsText":"≥ 97dd9ea9e3e2aa982dcbc36466573eb4c0c87cbd (No fix recorded) | ≥ 10.6.0, < 10.6.2","eol":null,"hubHref":"/vendor/frrouting/frrouting"}],"affectedCount":4,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://github.com/FRRouting/frr/issues/20874","label":"github.com/FRRouting/frr/issues/20874","hostname":"github.com","tags":["Issue Tracking","REPORT"]},{"url":"https://github.com/FRRouting/frr/pull/21176/changes/1238ac4a06e5c23595e8bf626856f297d0c302a2","label":"github.com/FRRouting/frr/pull/21176/changes/1238ac4a06e5c23595e8bf626856f297d0c302a2","hostname":"github.com","tags":["Patch"]},{"url":"https://github.com/FRRouting/frr/commit/bebf95f02bc0dccc6a1841f0c8cbcba1f617d655","label":"github.com/FRRouting/frr/commit/bebf95f02bc0dccc6a1841f0c8cbcba1f617d655","hostname":"github.com","tags":["Patch"]},{"url":"https://github.com/FRRouting/frr/commit/abef07b500e19baa924d157ab03809b93730e619","label":"github.com/FRRouting/frr/commit/abef07b500e19baa924d157ab03809b93730e619","hostname":"github.com","tags":["Patch"]},{"url":"https://github.com/FRRouting/frr/pull/22008/changes/40f25e62686865649b7631ec30756f9661e12dd3","label":"github.com/FRRouting/frr/pull/22008/changes/40f25e62686865649b7631ec30756f9661e12dd3","hostname":"github.com","tags":["Patch","REPORT"]},{"url":"https://github.com/FRRouting/frr/commit/5c241056777b27b209bc89326f0061ec6d5e0924","label":"github.com/FRRouting/frr/commit/5c241056777b27b209bc89326f0061ec6d5e0924","hostname":"github.com","tags":["Patch","REPORT"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2026-129456","label":"security-tracker.debian.org/tracker/CVE-2026-129456","hostname":"security-tracker.debian.org","tags":["Advisory"]},{"url":"https://ubuntu.com/security/CVE-2026-129456","label":"ubuntu.com/security/CVE-2026-129456","hostname":"ubuntu.com","tags":["REPORT"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-129456","label":"www.cve.org/CVERecord?id=CVE-2026-129456","hostname":"www.cve.org","tags":["REPORT"]},{"url":"https://github.com/FRRouting/frr/pull/21176","label":"github.com/FRRouting/frr/pull/21176","hostname":"github.com","tags":["REPORT"]}],"lineage":{"upstream":[],"downstream":["OPENSUSE-SU-2026:12637-1"],"duplicates":[],"related":["OPENSUSE-SU-2026:12637-1"]},"timeline":[{"kind":"published","date":"2026-11-14T19:13:23.983Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2026-11-16T23:29:44.455Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"priority":{"label":"routine","tag":null,"reason":"Not severe (CVSS 7.7, network access); no exploitation reported by the 5 checked sources","nextStep":"Fix in the normal cadence","rank":[0,0,0,0,0,77],"checkedSources":["cisa","enisa","circl","shadowserver","cisa-adp"],"evidence":[{"type":"epss","source":"FIRST","date":"2026-12-04T00:00:00.000Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"value":0.00383,"stale":false,"promoted":null},{"type":"cvss","source":"cve.org","date":"2026-11-16T23:29:44.455Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":7.7,"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","version":"4.0","headline":true},{"type":"cvss","source":"nvd","date":"2026-11-16T23:29:44.455Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":7.7,"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","version":"4.0"},{"type":"cvss","source":"osv_debian","date":"2026-11-16T23:29:44.455Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":7.7,"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","version":"4.0"},{"type":"cvss","source":"osv_ubuntu","date":"2026-11-16T23:29:44.455Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":7.7,"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","version":"4.0"},{"type":"adp","source":"cisa-adp","date":"2026-11-16T22:52:00.471Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"exploitation":"none"}],"epss":{"value":0.00383,"date":"2026-12-04T00:00:00.000Z","stale":false,"promoted":null},"sources":[{"id":"cisa","lastSuccessfulSync":"2026-12-05T04:02:19.840Z","state":"fresh"},{"id":"enisa","lastSuccessfulSync":"2026-12-05T04:02:20.356Z","state":"fresh"},{"id":"circl","lastSuccessfulSync":"2026-12-05T04:02:20.556Z","state":"fresh"},{"id":"shadowserver","lastSuccessfulSync":null,"state":"unavailable"},{"id":"cisa-adp","lastSuccessfulSync":"2026-12-05T04:00:57.992Z","state":"fresh"},{"id":"epss","lastSuccessfulSync":"2026-12-05T04:02:18.199Z","state":"fresh"},{"id":"osv","lastSuccessfulSync":"2026-12-05T04:02:17.270Z","state":"fresh"}],"feedEvent":null},"meta":{"dataAsOf":"2026-12-05T04:10:13.017Z","stale":false,"partial":false}}