UBUNTU-CVE-2026-121997 (CVE-2026-121997)
Vulnerability from osv_ubuntu – Published: 2026-11-06 00:00 – Updated: 2026-11-06 00:00 – Source website
VLAI
Details
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
8.1 (High)
N/A (UNKNOWN)
References
{
"affected": [
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "gdb",
"binary_version": "7.11.1-0ubuntu1~16.5+esm1"
},
{
"binary_name": "gdb-multiarch",
"binary_version": "7.11.1-0ubuntu1~16.5+esm1"
},
{
"binary_name": "gdb-source",
"binary_version": "7.11.1-0ubuntu1~16.5+esm1"
},
{
"binary_name": "gdb64",
"binary_version": "7.11.1-0ubuntu1~16.5+esm1"
},
{
"binary_name": "gdbserver",
"binary_version": "7.11.1-0ubuntu1~16.5+esm1"
}
]
},
"package": {
"ecosystem": "Ubuntu:Pro:16.04:LTS",
"name": "gdb",
"purl": "pkg:deb/ubuntu/gdb@7.11.1-0ubuntu1~16.5+esm1?arch=source\u0026distro=esm-infra/xenial"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"7.10-1ubuntu2",
"7.10-1ubuntu3",
"7.10.1-0ubuntu1",
"7.10.90.20160215-0ubuntu2",
"7.10.90.20160220-0ubuntu1",
"7.11-0ubuntu1",
"7.11.1-0ubuntu1~16.04",
"7.11.1-0ubuntu1~16.5",
"7.11.1-0ubuntu1~16.5+esm1"
]
},
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "gdb",
"binary_version": "8.1.1-0ubuntu1+esm1"
},
{
"binary_name": "gdb-multiarch",
"binary_version": "8.1.1-0ubuntu1+esm1"
},
{
"binary_name": "gdb-source",
"binary_version": "8.1.1-0ubuntu1+esm1"
},
{
"binary_name": "gdbserver",
"binary_version": "8.1.1-0ubuntu1+esm1"
}
]
},
"package": {
"ecosystem": "Ubuntu:Pro:18.04:LTS",
"name": "gdb",
"purl": "pkg:deb/ubuntu/gdb@8.1.1-0ubuntu1+esm1?arch=source\u0026distro=esm-infra/bionic"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"8.0.1-0ubuntu1",
"8.0.1-0ubuntu2",
"8.0.1-0ubuntu3",
"8.1-0ubuntu1",
"8.1-0ubuntu2",
"8.1-0ubuntu3",
"8.1-0ubuntu3.1",
"8.1-0ubuntu3.2",
"8.1.1-0ubuntu1",
"8.1.1-0ubuntu1+esm1"
]
},
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "gdb",
"binary_version": "9.2-0ubuntu1~20.04.2"
},
{
"binary_name": "gdb-multiarch",
"binary_version": "9.2-0ubuntu1~20.04.2"
},
{
"binary_name": "gdb-source",
"binary_version": "9.2-0ubuntu1~20.04.2"
},
{
"binary_name": "gdbserver",
"binary_version": "9.2-0ubuntu1~20.04.2"
}
]
},
"package": {
"ecosystem": "Ubuntu:20.04:LTS",
"name": "gdb",
"purl": "pkg:deb/ubuntu/gdb@9.2-0ubuntu1~20.04.2?arch=source\u0026distro=focal"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"8.3-0ubuntu1",
"9.0.50.20191019-0ubuntu1",
"9.0.50.20191119-0ubuntu1",
"9.0.90.20191216-0ubuntu1",
"9.0.90.20200105-0ubuntu1",
"9.0.90.20200117-0ubuntu1",
"9.1-0ubuntu1",
"9.2-0ubuntu1~20.04",
"9.2-0ubuntu1~20.04.1",
"9.2-0ubuntu1~20.04.2"
]
},
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "gdb",
"binary_version": "12.1-0ubuntu1~22.04.2"
},
{
"binary_name": "gdb-multiarch",
"binary_version": "12.1-0ubuntu1~22.04.2"
},
{
"binary_name": "gdb-source",
"binary_version": "12.1-0ubuntu1~22.04.2"
},
{
"binary_name": "gdbserver",
"binary_version": "12.1-0ubuntu1~22.04.2"
}
]
},
"package": {
"ecosystem": "Ubuntu:22.04:LTS",
"name": "gdb",
"purl": "pkg:deb/ubuntu/gdb@12.1-0ubuntu1~22.04.2?arch=source\u0026distro=jammy"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"11.1-0ubuntu2",
"11.1-0ubuntu3",
"11.2-0ubuntu1",
"12.0.50.20220217-0ubuntu1",
"12.0.90-0ubuntu1",
"12.1-0ubuntu1~22.04",
"12.1-0ubuntu1~22.04.2"
]
},
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "gdb",
"binary_version": "15.1-1ubuntu1~24.04.1"
},
{
"binary_name": "gdb-multiarch",
"binary_version": "15.1-1ubuntu1~24.04.1"
},
{
"binary_name": "gdb-source",
"binary_version": "15.1-1ubuntu1~24.04.1"
},
{
"binary_name": "gdbserver",
"binary_version": "15.1-1ubuntu1~24.04.1"
}
]
},
"package": {
"ecosystem": "Ubuntu:24.04:LTS",
"name": "gdb",
"purl": "pkg:deb/ubuntu/gdb@15.1-1ubuntu1~24.04.1?arch=source\u0026distro=noble"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"14.0.50.20230907-0ubuntu1",
"14.1-0ubuntu1",
"14.1-0ubuntu2",
"15.0.50.20240219-0ubuntu1",
"15.0.50.20240320-0ubuntu1",
"15.0.50.20240403-0ubuntu1",
"15.1-1ubuntu1~24.04.1"
]
},
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "gdb",
"binary_version": "17.2-1ubuntu1"
},
{
"binary_name": "gdb-minimal",
"binary_version": "17.2-1ubuntu1"
},
{
"binary_name": "gdb-multiarch",
"binary_version": "17.2-1ubuntu1"
},
{
"binary_name": "gdb-source",
"binary_version": "17.2-1ubuntu1"
},
{
"binary_name": "gdbserver",
"binary_version": "17.2-1ubuntu1"
}
]
},
"package": {
"ecosystem": "Ubuntu:26.10",
"name": "gdb",
"purl": "pkg:deb/ubuntu/gdb@17.2-1ubuntu1?arch=source\u0026distro=stonking"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"17.1-2ubuntu1",
"17.2-1ubuntu1"
]
},
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "gdb",
"binary_version": "17.1-2ubuntu1"
},
{
"binary_name": "gdb-minimal",
"binary_version": "17.1-2ubuntu1"
},
{
"binary_name": "gdb-multiarch",
"binary_version": "17.1-2ubuntu1"
},
{
"binary_name": "gdb-source",
"binary_version": "17.1-2ubuntu1"
},
{
"binary_name": "gdbserver",
"binary_version": "17.1-2ubuntu1"
}
]
},
"package": {
"ecosystem": "Ubuntu:26.04:LTS",
"name": "gdb",
"purl": "pkg:deb/ubuntu/gdb@17.1-2ubuntu1?arch=source\u0026distro=resolute"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"16.3-1ubuntu2",
"16.3-5ubuntu1",
"17.1-1ubuntu1",
"17.1-1ubuntu2",
"17.1-2ubuntu1"
]
}
],
"aliases": [],
"details": "A heap buffer overflow in gdbserver\u0027s 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\u0027s declared source length and the actual data length, causing hex2bin to write beyond the allocated heap buffer.",
"id": "UBUNTU-CVE-2026-121997",
"modified": "2026-11-06T00:00:00Z",
"published": "2026-11-06T00:00:00Z",
"references": [
{
"type": "REPORT",
"url": "https://ubuntu.com/security/CVE-2026-121997"
},
{
"type": "REPORT",
"url": "https://www.cve.org/CVERecord?id=CVE-2026-121997"
},
{
"type": "REPORT",
"url": "https://bugzilla.redhat.com/show_bug.cgi?id=2565679"
},
{
"type": "REPORT",
"url": "https://access.redhat.com/security/cve/CVE-2026-121997"
}
],
"related": [],
"schema_version": "1.7.0",
"severity": [
{
"score": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H",
"type": "CVSS_V3"
},
{
"score": "medium",
"type": "Ubuntu"
}
],
"upstream": [
"CVE-2026-121997"
]
}
Loading…
Loading…
Experimental. This forecast is provided for visualization only and may change without notice. Do not use it for operational decisions.
Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.
Sightings
| Author | Source | Type | Date | Other |
|---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or observed by the user.
- Confirmed: The vulnerability has been validated from an analyst's perspective.
- Published Proof of Concept: A public proof of concept is available for this vulnerability.
- Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
- Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
- Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
- Not confirmed: The user expressed doubt about the validity of the vulnerability.
- Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.
Loading…
Loading…
The MITRE ATT&CK techniques below are AI-generated suggestions, inferred from the description of the
vulnerability by the CIRCL/vulnerability-attack-technique-classification-roberta-base
model, served locally by ML-Gateway.
They have not been verified by an analyst and are provided for guidance only.
The approach is described in our paper Mapping CVEs to MITRE ATT&CK Techniques: A Curated Gold-Set Classifier and the Limits of LLM-Assisted Label Expansion.
Browse all ATT&CK techniques and the vulnerabilities related to each.
The approach is described in our paper Mapping CVEs to MITRE ATT&CK Techniques: A Curated Gold-Set Classifier and the Limits of LLM-Assisted Label Expansion.
Browse all ATT&CK techniques and the vulnerabilities related to each.
Loading…
Related by attack behaviour
Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.
Loading…