CVE-2026-5123

Source
https://cve.org/CVERecord?id=CVE-2026-5123
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-5123.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-5123
Downstream
Published
2026-03-30T15:15:14Z
Modified
2026-10-21T02:58:26Z
Severity
  • 6.3 (Medium) CVSS_V4 - CVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:X CVSS Calculator
Summary
osrg GoBGP bgp.go DecodeFromBytes off-by-one
Details

A weakness has been identified in osrg GoBGP up to 4.3.0. This impacts the function DecodeFromBytes of the file pkg/packet/bgp/bgp.go. Executing a manipulation of the argument data[1] can lead to off-by-one. The attack may be launched remotely. Attacks of this nature are highly complex. The exploitability is said to be difficult. This patch is called 67c059413470df64bc20801c46f64058e88f800f. A patch should be applied to remediate this issue.

Database specific
{
    "cna_assigner":  "VulDB",
    "cwe_ids":  [
        "CWE-189",
        "CWE-193"
    ],
    "osv_generated_from":  "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/5xxx/CVE-2026-5123.json"
}
References

Affected packages

Git / github.com/osrg/gobgp

Affected ranges

Type
GIT
Repo
https://github.com/osrg/gobgp
Events
Database specific
Show details
{
    "extracted_events":  [
        {
            "range":  [
                {
                    "introduced":  "4.0"
                },
                {
                    "last_affected":  "4.0"
                }
            ],
            "source":  "AFFECTED_FIELD",
            "strategy":  "StandaloneSingleVersion"
        },
        {
            "range":  [
                {
                    "introduced":  "4.1"
                },
                {
                    "last_affected":  "4.1"
                }
            ],
            "source":  "AFFECTED_FIELD",
            "strategy":  "StandaloneSingleVersion"
        },
        {
            "range":  [
                {
                    "introduced":  "4.2"
                },
                {
                    "last_affected":  "4.2"
                }
            ],
            "source":  "AFFECTED_FIELD",
            "strategy":  "StandaloneSingleVersion"
        },
        {
            "range":  [
                {
                    "introduced":  "4.3.0"
                },
                {
                    "last_affected":  "4.3.0"
                }
            ],
            "source":  "AFFECTED_FIELD",
            "strategy":  "StandaloneSingleVersion"
        },
        {
            "range":  [
                {
                    "fixed":  "67c059413470df64bc20801c46f64058e88f800f"
                }
            ],
            "source":  "REFERENCES_COMMIT"
        }
    ]
}

Affected versions

4.*
4.0
4.1
4.2
4.3.0
v4.*
v4.0.0
v4.1.0
v4.2.0
v4.3.0

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-5123.json"