cve.bz

CVE-2026-123151 Stack-based Buffer Overflow

7.5 highEPSS 0.5%

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

On this page
A flaw was found in the GNU debugger (GDB). When GDB connects to a remote debug target, a malicious target can cause GDB to overflow a buffer on the stack while parsing the target's replies. This can crash GDB or potentially allow the target to execute arbitrary code in the GDB client process with the privileges of the user running GDB.

Severity

CVSS 3.1

7.5 high
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
EPSS
0.5% (unchanged from 0.5% a week ago) estimated probability of exploitation activity in the next 30 days; 44th 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: yes · Technical impact: partial, 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-121 Stack-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-123151 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-123151?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-123151?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-123151 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-123151
Ubuntu20.04:LTS, 22.04:LTS, 24.04:LTS and 4 moregdbno fix listedUBUNTU-CVE-2026-123151
Azure Linux3crashno fix listedAZL-113131
Azure Linux3gdbno fix listedAZL-113158

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 GDB as shipped with Red Hat Enterprise Linux. The overflow fires automatically during the target remote connection handshake when the remote stub reports tracing support, before any further user interaction.

Red Hat's mitigation

There is no mitigation for this vulnerability. Users should only connect GDB to trusted debug targets.

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-gdbNot affected
Red Hat Enterprise Linux 8gcc-toolset-15-gdbNot affected
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-123151.

References

Check your stackJSON