USN-6842-1

Type: Security
Severity: Medium
Published: 2024-06-20
Ubuntu 22.04 LTS (Jammy Jellyfish)
Ubuntu 20.04 LTS (Focal Fossa)

It was discovered that gdb incorrectly handled certain memory operations when parsing an ELF file. An attacker could possibly use this issue to cause a denial of service. This issue is the result of an incomplete fix for CVE-2020-16599. This issue only affected Ubuntu 22.04 LTS. (CVE-2022-4285) It was discovered that gdb incorrectly handled memory leading to a heap based buffer overflow. An attacker could use this issue to cause a denial of service, or possibly execute arbitrary code. This issue only affected Ubuntu 22.04 LTS. (CVE-2023-1972) It was discovered that gdb incorrectly handled memory leading to a stack overflow. An attacker could possibly use this issue to cause a denial of service. This issue only affected Ubuntu 18.04 LTS, Ubuntu 20.04 LTS and Ubuntu 22.04 LTS. (CVE-2023-39128) It was discovered that gdb had a use after free vulnerability under certain circumstances. An attacker could use this to cause a denial of service or possibly execute arbitrary code. This issue only affected Ubuntu 16.04 LTS, Ubuntu 18.04 LTS, Ubuntu 20.04 LTS and Ubuntu 22.04 LTS. (CVE-2023-39129) It was discovered that gdb incorrectly handled memory leading to a heap based buffer overflow. An attacker could use this issue to cause a denial of service, or possibly execute arbitrary code. This issue only affected Ubuntu 18.04 LTS, Ubuntu 20.04 LTS and Ubuntu 22.04 LTS. (CVE-2023-39130) Update Instructions: Run `sudo pro fix USN-6842-1` to fix the vulnerability. The problem can be corrected by updating your system to the following package versions: gdb-multiarch - 12.1-0ubuntu1~22.04.2 gdbserver - 12.1-0ubuntu1~22.04.2 gdb - 12.1-0ubuntu1~22.04.2 gdb-doc - 12.1-0ubuntu1~22.04.2 gdb-source - 12.1-0ubuntu1~22.04.2 No subscription required

Evidence and freshness

Data current

Last supporting evidence check: 2026-11-28T05:50:43.533Z UTC

Official vendor advisory

Ubuntu 22.04 LTS (Jammy Jellyfish)

View source
Observed 2026-11-28T05:50:43.533Z UTC. Last updated 2025-11-26T08:24:40.672Z UTC.

Upstream Advisory

Affected Packages

  • gdb-multiarch 12.1-0ubuntu1~22.04.2-12.1-0ubuntu1~22.04.2

  • gdbserver 12.1-0ubuntu1~22.04.2-12.1-0ubuntu1~22.04.2

  • gdb 12.1-0ubuntu1~22.04.2-12.1-0ubuntu1~22.04.2

  • gdb-doc 12.1-0ubuntu1~22.04.2-12.1-0ubuntu1~22.04.2

  • gdb-source 12.1-0ubuntu1~22.04.2-12.1-0ubuntu1~22.04.2

  • gdb-multiarch 9.2-0ubuntu1~20.04.2-9.2-0ubuntu1~20.04.2

  • gdbserver 9.2-0ubuntu1~20.04.2-9.2-0ubuntu1~20.04.2

  • gdb 9.2-0ubuntu1~20.04.2-9.2-0ubuntu1~20.04.2

  • gdb-doc 9.2-0ubuntu1~20.04.2-9.2-0ubuntu1~20.04.2

  • gdb-source 9.2-0ubuntu1~20.04.2-9.2-0ubuntu1~20.04.2

Interested in being alerted when there are new versions of gdb-multiarch and the other packages? Set up an alert.
USN-6842-1: gdb vulnerabilities | Package Alert