CVE-2026-129456

Source
https://cve.org/CVERecord?id=CVE-2026-129456
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-129456.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-129456
Downstream
Related
Published
2026-11-14T19:13:23Z
Modified
2026-11-22T11:12:31Z
Severity
  • 7.7 (High) CVSS_V4 - 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 Calculator
Summary
frr: bgpd use-after-free of Tunnel Encapsulation sub-TLVs via the attribute intern reuse cache with soft-reconfiguration inbound
Details

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.

Database specific
{
    "cna_assigner":  "NetDEF",
    "cwe_ids":  [
        "CWE-415",
        "CWE-416"
    ],
    "osv_generated_from":  "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/129xxx/CVE-2026-129456.json"
}
References

Affected packages

Git / github.com/frrouting/frr

Affected ranges

Type
GIT
Repo
https://github.com/frrouting/frr
Events
Database specific
Show details
{
    "extracted_events":  [
        {
            "range":  [
                {
                    "introduced":  "97dd9ea9e3e2aa982dcbc36466573eb4c0c87cbd"
                },
                {
                    "fixed":  "40f25e62686865649b7631ec30756f9661e12dd3"
                }
            ],
            "source":  "AFFECTED_FIELD",
            "strategy":  "ChangesAt"
        },
        {
            "range":  [
                {
                    "introduced":  "10.6.0"
                },
                {
                    "fixed":  "10.6.2"
                }
            ],
            "source":  "AFFECTED_FIELD",
            "strategy":  "StandardRange"
        },
        {
            "range":  [
                {
                    "fixed":  "5c241056777b27b209bc89326f0061ec6d5e0924"
                }
            ],
            "source":  "REFERENCES_COMMIT"
        }
    ]
}

Affected versions

base_10.*
base_10.6
docker/10.*
docker/10.6.0
docker/10.6.1
frr-10.*
frr-10.6.0
frr-10.6.0-dev
frr-10.6.0-rc1
frr-10.6.1
frr-10.7.0-dev

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-129456.json"
vanir_signatures
[
    {
        "deprecated":  false,
        "digest":  {
            "function_hash":  "198163442658110934423779558502856764698",
            "length":  2883
        },
        "id":  "CVE-2026-129456-07ca189a",
        "signature_type":  "Function",
        "signature_version":  "v1",
        "source":  "https://github.com/frrouting/frr/commit/40f25e62686865649b7631ec30756f9661e12dd3",
        "target":  {
            "file":  "bgpd/bgp_attr.c",
            "function":  "bgp_attr_intern"
        }
    },
    {
        "deprecated":  false,
        "digest":  {
            "line_hashes":  [
                "313854581952770767420455849668013974725",
                "1601978267593124372241795617151035080",
                "172225734162434939417552128717257095056",
                "257230430181965766971569278486031887804"
            ],
            "threshold":  0.9
        },
        "id":  "CVE-2026-129456-6d8cd1c8",
        "signature_type":  "Line",
        "signature_version":  "v1",
        "source":  "https://github.com/frrouting/frr/commit/40f25e62686865649b7631ec30756f9661e12dd3",
        "target":  {
            "file":  "bgpd/bgp_attr.c"
        }
    },
    {
        "deprecated":  false,
        "digest":  {
            "line_hashes":  [
                "313854581952770767420455849668013974725",
                "1601978267593124372241795617151035080",
                "172225734162434939417552128717257095056",
                "257230430181965766971569278486031887804"
            ],
            "threshold":  0.9
        },
        "id":  "CVE-2026-129456-8bd66c83",
        "signature_type":  "Line",
        "signature_version":  "v1",
        "source":  "https://github.com/frrouting/frr/commit/5c241056777b27b209bc89326f0061ec6d5e0924",
        "target":  {
            "file":  "bgpd/bgp_attr.c"
        }
    },
    {
        "deprecated":  false,
        "digest":  {
            "function_hash":  "287215916049480964973480484953693305014",
            "length":  2736
        },
        "id":  "CVE-2026-129456-a897f391",
        "signature_type":  "Function",
        "signature_version":  "v1",
        "source":  "https://github.com/frrouting/frr/commit/5c241056777b27b209bc89326f0061ec6d5e0924",
        "target":  {
            "file":  "bgpd/bgp_attr.c",
            "function":  "bgp_attr_intern"
        }
    }
]
vanir_signatures_modified
"2026-11-19T01:03:11Z"