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
Published
2026-11-14T19:13:23Z
Modified
2026-11-15T13:04:40Z
Severity
  • 7.7 (High) CVSS_V4 - CVSS:4.0/AV:N/AC:H/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 after a malformed attribute length from a peer
Details

In FRRouting, bgpd accepts a Tunnel Encapsulation attribute (type 23) whose outer TLV length does not match the length of the attribute: the mismatch is only logged and the attribute is processed anyway. A BGP neighbor can send UPDATE messages carrying such an attribute that put the reference count of the attribute's interned sub-TLV chain out of balance, so that the chain is freed while routes stored by bgpd (Adj-RIB-In entries and RIB paths) still point to it. When those routes are later replaced, withdrawn or cleared, for example when the session goes down, bgpd reads the freed memory, 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. 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. The issue was reproduced with "soft-reconfiguration inbound" configured for the neighbor, and the reporter observed that the crash does not occur on every attempt.

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": "f4c89855b594d4b32bb3610537703215c978440e"
                },
                {
                    "fixed": "1238ac4a06e5c23595e8bf626856f297d0c302a2"
                }
            ],
            "source": "AFFECTED_FIELD",
            "strategy": "ChangesAt"
        },
        {
            "range": [
                {
                    "introduced": "10.4.0"
                },
                {
                    "fixed": "10.4.4"
                }
            ],
            "source": "AFFECTED_FIELD",
            "strategy": "StandardRange"
        },
        {
            "range": [
                {
                    "introduced": "10.5.0"
                },
                {
                    "fixed": "10.5.4"
                }
            ],
            "source": "AFFECTED_FIELD",
            "strategy": "StandardRange"
        },
        {
            "range": [
                {
                    "fixed": "bebf95f02bc0dccc6a1841f0c8cbcba1f617d655"
                }
            ],
            "source": "REFERENCES_COMMIT"
        },
        {
            "range": [
                {
                    "fixed": "abef07b500e19baa924d157ab03809b93730e619"
                }
            ],
            "source": "REFERENCES_COMMIT"
        }
    ]
}

Affected versions

7.*
7.1_pulled
8.*
8.1-dev
base_10.*
base_10.0
base_10.1
base_10.2
base_10.3
base_10.4
base_10.5
base_10.6
base_7.*
base_7.2
base_7.3
base_7.4
base_7.5
base_7.6
base_8.*
base_8.0
base_8.1
base_8.2
base_8.3
base_8.4
base_8.5
base_9.*
base_9.0
base_9.1
docker/10.*
docker/10.4.0
docker/10.4.1
docker/10.4.2
docker/10.4.3
docker/10.5.1
docker/10.5.2
frr-10.*
frr-10.0-dev
frr-10.2-dev
frr-10.3-dev
frr-10.4-dev
frr-10.4.0
frr-10.4.1
frr-10.4.2
frr-10.4.3
frr-10.5-dev
frr-10.5.0
frr-10.5.1
frr-10.5.2
frr-10.6.0-dev
frr-10.7.0-dev
frr-3.*
frr-3.0-branchpoint
frr-3.1-dev
frr-5.*
frr-5.1-dev
frr-6.*
frr-6.1-dev
frr-7.*
frr-7.1-dev
frr-7.2-dev
frr-7.3-dev
frr-7.4-dev
frr-7.5-dev
frr-7.6-dev
frr-8.*
frr-8.0-dev
frr-8.1-dev
frr-8.1-rc1
frr-8.2-dev
frr-8.3-dev
frr-8.4-dev
frr-8.4-rc
frr-8.5-dev
frr-9.*
frr-9.0-dev
frr-9.1-dev
frr-9.2-dev
Other
reindent-master-after
reindent-master-before

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-129456.json"
vanir_signatures
[
    {
        "deprecated": false,
        "digest": {
            "function_hash": "272672070514712388661176653438941064924",
            "length": 2867
        },
        "id": "CVE-2026-129456-09810aef",
        "signature_type": "Function",
        "signature_version": "v1",
        "source": "https://github.com/frrouting/frr/commit/abef07b500e19baa924d157ab03809b93730e619",
        "target": {
            "file": "bgpd/bgp_attr.c",
            "function": "bgp_attr_encap"
        }
    },
    {
        "deprecated": false,
        "digest": {
            "line_hashes": [
                "30120194039607461887218456784415480675",
                "265044007992140563365934916359964825277",
                "33883164129755721440542376483004083107",
                "132199393043528942746797283358057893088",
                "153411230088476873199227914438477915768"
            ],
            "threshold": 0.9
        },
        "id": "CVE-2026-129456-609504ae",
        "signature_type": "Line",
        "signature_version": "v1",
        "source": "https://github.com/frrouting/frr/commit/abef07b500e19baa924d157ab03809b93730e619",
        "target": {
            "file": "bgpd/bgp_attr.c"
        }
    },
    {
        "deprecated": false,
        "digest": {
            "function_hash": "272672070514712388661176653438941064924",
            "length": 2867
        },
        "id": "CVE-2026-129456-62196257",
        "signature_type": "Function",
        "signature_version": "v1",
        "source": "https://github.com/frrouting/frr/commit/bebf95f02bc0dccc6a1841f0c8cbcba1f617d655",
        "target": {
            "file": "bgpd/bgp_attr.c",
            "function": "bgp_attr_encap"
        }
    },
    {
        "deprecated": false,
        "digest": {
            "line_hashes": [
                "30120194039607461887218456784415480675",
                "265044007992140563365934916359964825277",
                "33883164129755721440542376483004083107",
                "132199393043528942746797283358057893088",
                "153411230088476873199227914438477915768"
            ],
            "threshold": 0.9
        },
        "id": "CVE-2026-129456-8ea33037",
        "signature_type": "Line",
        "signature_version": "v1",
        "source": "https://github.com/frrouting/frr/commit/bebf95f02bc0dccc6a1841f0c8cbcba1f617d655",
        "target": {
            "file": "bgpd/bgp_attr.c"
        }
    },
    {
        "deprecated": false,
        "digest": {
            "line_hashes": [
                "206102675839384744930026748921184630723",
                "265044007992140563365934916359964825277",
                "33883164129755721440542376483004083107",
                "132199393043528942746797283358057893088",
                "19443601814248968873211511727093811477"
            ],
            "threshold": 0.9
        },
        "id": "CVE-2026-129456-93cbabde",
        "signature_type": "Line",
        "signature_version": "v1",
        "source": "https://github.com/frrouting/frr/commit/1238ac4a06e5c23595e8bf626856f297d0c302a2",
        "target": {
            "file": "bgpd/bgp_attr.c"
        }
    },
    {
        "deprecated": false,
        "digest": {
            "function_hash": "177674569780993062478271284988791977689",
            "length": 3081
        },
        "id": "CVE-2026-129456-e90bd00a",
        "signature_type": "Function",
        "signature_version": "v1",
        "source": "https://github.com/frrouting/frr/commit/1238ac4a06e5c23595e8bf626856f297d0c302a2",
        "target": {
            "file": "bgpd/bgp_attr.c",
            "function": "bgp_attr_encap"
        }
    }
]
vanir_signatures_modified
"2026-11-15T13:04:40Z"