CVE-2026-121996
Gdb: gdbserver: heap disclosure and wild pointer in gdb_parse_agent_expr via untrusted agent-expression length
- High 8.2
Description
A length validation flaw in gdbserver's agent-expression parser allows an unauthenticated remote attacker to read uninitialized heap memory from the gdbserver process and cause a denial of service. Disclosed heap content includes addresses suitable for defeating ASLR in further exploitation.
Key facts
- Published
- 5 Nov 2026
- Last changed
- 6 Nov 2026
- Assigned by
- redhat
- EPSS
- 0.471% likely to be exploited in the next 30 days, higher than 41.27% of CVEs (scores for 16 Nov 2026)
- SSVC (CISA)
- Exploitation: none; Automatable: yes; Technical impact: partial
Severity scores
Each score is shown as its source gave it. They are not averaged or merged.
- 8.2CVSS 3.1, Highfrom the CNA (redhat)
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:H
What to do
- There is no mitigation for this vulnerability. gdbserver has no authentication mechanism; exposure is limited only by network access to the gdbserver port. --- CME Mitigation Guidance (2026-11-06) --- Disclaimer: The following mitigation solutions are provided as a courtesy, pending the application of an official patch. This content was generated utilizing AI tools in conjunction with data from https://cmetaxonomy.org. Customers are advised to independently evaluate and test these temporary mitigations within their own infrastructure. The highest-value action is to restrict network access to exposed gdbserver listening ports and eliminate untrusted agent-expression length handling in gdbserver: upgrade to the corresponding fixed Red Hat builds, which apply the documented input check, closing crafted agent-expression packet with declared length exceeding actual payload data. Until patched, this is a concern on Linux systems hosting gdbserver with an exposed listening port, so Restrict network access to the gdbserver listening port using host or network firewalls, limiting connectivity to trusted debugging clients only. As a compensating measure, Maintain SELinux in enforcing mode to confine the gdbserver process domain and limit host impact if heap disclosures are used to stage subsequent code execution. These controls limit blast radius and contain exploitation, but they do not fix the underlying length validation defect — apply the upstream patch to fully remediate. HigheCNA workaround statement
Historical context and remediation
This reference retains the original CVE publication date. A recent record update does not mean a new attack occurred.
No separately sourced impact summary is available on this page yet. Consult the description, version data and dated exploitation evidence.
Version statuses below come from the CNA. An “unaffected” version is not necessarily a currently supported release or proof of a patch date. EPSS is a dated risk estimate, not a count of historical attacks.
CNA context is abbreviated; consult the original record for the complete statements.
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Red Hat | Red Hat Enterprise Linux 10 |
|
| Red Hat | Red Hat Enterprise Linux 10 |
|
| Red Hat | Red Hat Enterprise Linux 6 |
|
| Red Hat | Red Hat Enterprise Linux 7 |
|
| Red Hat | Red Hat Enterprise Linux 8 |
|
| Red Hat | Red Hat Enterprise Linux 8 |
|
| Red Hat | Red Hat Enterprise Linux 8 |
|
| Red Hat | Red Hat Enterprise Linux 8 |
|
| Red Hat | Red Hat Enterprise Linux 9 |
|
| Red Hat | Red Hat Enterprise Linux 9 |
|
| Red Hat | Red Hat Hardened Images |
|
Timeline
- 21 Oct 2026 Reported to Red Hat.
- 5 Nov 2026 Made public.
- 5 Nov 2026 Published