cve.bz

CVE-2026-121997 Heap-based Buffer Overflow

8.1 highEPSS 0.7%

High (8.1). EPSS 0.7% estimated probability of exploitation activity in the next 30 days.

On this page
A heap buffer overflow in gdbserver's QTDPsrc packet handler allows an unauthenticated remote attacker to achieve native code execution in the gdbserver process. The vulnerability results from a mismatch between a packet's declared source length and the actual data length, causing hex2bin to write beyond the allocated heap buffer.

Severity

CVSS 3.1

8.1 high
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS
0.7% (unchanged from 0.7% a week ago) estimated probability of exploitation activity in the next 30 days; 54th percentile. Scored 2026-11-17. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: no · Technical impact: total, assessed 2026-11-05. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-122 Heap-based Buffer Overflow
Published
Modified
NVD analysis
Awaiting analysis
Record from
the NVD, synced

Ask an AI about this CVE

Show the promptExplain CVE-2026-121997 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-121997?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-121997?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2026-121997 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12, 13, 14gdbno fix listedDEBIAN-CVE-2026-121997
Ubuntu20.04:LTS, 22.04:LTS, 24.04:LTS and 4 moregdbno fix listedUBUNTU-CVE-2026-121997
Azure Linux3crashno fix listedAZL-113125
Azure Linux3gdbno fix listedAZL-113152

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Microsoft's Azure Linux vulnerability data, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu.

Red Hat

Red Hat rates this Important.

Red Hat's statement

This flaw is present in gdbserver as shipped with Red Hat Enterprise Linux. An attacker with network access to an exposed gdbserver port can achieve code execution as the user running gdbserver without authentication or user interaction.

Red Hat's mitigation

There is no mitigation for this vulnerability. gdbserver has no authentication mechanism; exposure is limited only by network access to the gdbserver port.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 10crashNot affected
Red Hat Enterprise Linux 10gdbAffected
Red Hat Enterprise Linux 6gdbAffected
Red Hat Enterprise Linux 7gdbAffected
Red Hat Enterprise Linux 8crashNot affected
Red Hat Enterprise Linux 8gcc-toolset-14-gdbAffected
Red Hat Enterprise Linux 8gcc-toolset-15-gdbAffected
Red Hat Enterprise Linux 8gdbAffected
Red Hat Enterprise Linux 9crashNot affected
Red Hat Enterprise Linux 9gdbAffected
Red Hat Hardened ImagesgdbAffected

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2026-121997.

Attack patterns (CAPEC)

  • CAPEC-92 Forced Integer Overflow Likelihood: High · Severity: High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON