CVE-2026-138151

Source
https://cve.org/CVERecord?id=CVE-2026-138151
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-138151.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-138151
Published
2026-11-28T01:42:59Z
Modified
2026-11-28T03:00:11Z
Severity
  • 8.2 (High) CVSS_V4 - CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N CVSS Calculator
Summary
bgpq4 before 1.17 Heap Buffer Overflow via IRRd A<len> Reply Handling
Details

bgpq4 before 1.17 contains an integer overflow vulnerability in expander.c that allows malicious IRR servers to corrupt heap memory by sending crafted A replies. Attackers controlling the IRR server or tampering with the plaintext TCP connection can announce a ULONG_MAX or -1 length, wrapping the allocation to one byte and crashing bgpq4.

Database specific
{
    "cna_assigner":  "VulnCheck",
    "cwe_ids":  [
        "CWE-190"
    ],
    "osv_generated_from":  "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/138xxx/CVE-2026-138151.json"
}
References

Affected packages

Git / github.com/bgp/bgpq4

Affected ranges

Type
GIT
Repo
https://github.com/bgp/bgpq4
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed
Fixed
Fixed
Database specific
Show details
{
    "extracted_events":  [
        {
            "range":  [
                {
                    "introduced":  "0"
                },
                {
                    "fixed":  "1.17"
                }
            ],
            "source":  "AFFECTED_FIELD",
            "strategy":  "StandardRange"
        },
        {
            "range":  [
                {
                    "fixed":  "a232916868d1422edfc7fd5e0a00edd02c80c79a"
                }
            ],
            "source":  "REFERENCES_COMMIT"
        },
        {
            "range":  [
                {
                    "fixed":  "37a3adb76f18a800efa6bb02848fbfd6458512e5"
                }
            ],
            "source":  "REFERENCES_COMMIT"
        },
        {
            "original_tag":  "1.17",
            "range":  [
                {
                    "fixed":  "4eba2c33be1a3a4e8ab2c889c1d1f73a5a0616f0"
                }
            ],
            "source":  "REFERENCES_TAG"
        }
    ]
}

Affected versions

0.*
0.0.3
0.0.4
0.0.5
0.0.6
0.0.7
0.0.8
0.0.9
1.*
1.0
1.1
1.10
1.11
1.12
1.15
1.16
1.2
1.4
1.5
1.6
1.7
1.8
1.9

Database specific

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