CVE-2026-138151

medium
EUVD alias: EUVD-2026-137525
Assigned by CNA: vulncheck
Published 2026-11-28 · Modified 2026-11-28
CVSS v3
5.9
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H
CVSS v4 NEW
8.2
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
VIR risk
5.9

Description

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<len> 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.

Predictions

Exploit likelihood
69%
Patch ETA
—

Heuristic predictions, AS-IS, for prioritization only.

Mitigations

Mitigation details

Source: Debian Security Tracker · View original ↗ · DFSG

CVE-2026-138151 NameCVE-2026-138151 Descriptionbgpq4 before 1.17 contains an integer overflow vulnerability in expander.c that allows malicious IRR servers to corrupt heap memory by sending crafted A<len> 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.…

CVE-2026-138151

NameCVE-2026-138151
Descriptionbgpq4 before 1.17 contains an integer overflow vulnerability in expander.c that allows malicious IRR servers to corrupt heap memory by sending crafted A<len> 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.
SourceCVE (at NVD; CERT, ENISA, LWN, oss-sec, fulldisc, Debian ELTS, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
bgpq4 (PTS)bookworm1.9-1vulnerable
trixie1.12-1vulnerable
forky, sid1.16-1vulnerable

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
bgpq4source(unstable)(unfixed)unimportant

Notes

https://github.com/bgp/bgpq4/pull/141
https://github.com/bgp/bgpq4/commit/a232916868d1422edfc7fd5e0a00edd02c80c79a (1.17)
https://github.com/bgp/bgpq4/commit/37a3adb76f18a800efa6bb02848fbfd6458512e5 (1.17)
Crash in CLI tool, no security impact

Home - Debian Security - Source (Git)

Apply commands

text fix
Notes
https://github.com/bgp/bgpq4/pull/141https://github.com/bgp/bgpq4/commit/a232916868d1422edfc7fd5e0a00edd02c80c79a (1.17)https://github.com/bgp/bgpq4/commit/37a3adb76f18a800efa6bb02848fbfd6458512e5 (1.17)Crash in CLI tool, no security impact

OS impact

debian Debian Mixed 4 releases
VersionPackageStatusFixed in
trixie bgpq4 Affected —
sid bgpq4 Fixed 1.17-1
forky bgpq4 Affected —
bookworm bgpq4 Affected —

Application impact

VendorProductVersionsFixed
bgpq4bgpq4{"endExcluding":"1.17"}1.17

References

CWEs

CWE-190

Community-verified mitigations for this CVE will appear above when contributors publish them.

Verify integrity in audit chain (admin only). AS-IS.