CVE-2023-39129 Use after free in n/a

Medium 5.5 Published Updated

A heap use-after-free in GNU GDB allows attackers to execute arbitrary code or cause a denial of service via crafted PE files.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Local or same network only
Victim action needed
A user has to click or open something
Fix
Available

What is CVE-2023-39129?

CVE-2023-39129 is a medium-severity use after free vulnerability in n/a, published on 25 Jul 2023. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.

Official description

GNU gdb (GDB) 13.0.50.20220805-git was discovered to contain a heap use after free via the function add_pe_exported_sym() at /gdb/coff-pe-read.c.

Weakness: CWE-416

Which versions are affected by CVE-2023-39129?

It affects 1 product.

Products include Gnu Gdb.

How do I fix CVE-2023-39129?

Apply the vendor's patch.

Upgrade to the fixed version. These bugs are found with fuzzing and sanitisers and avoided by memory-safe languages. More about Use after free.

Is CVE-2023-39129 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2023-39129 exists.

Sources

Also known as AZL-27630, AZL-27669, AZL-34639, AZL-34724, DEBIAN-CVE-2023-39129, ECHO-9309-9fba-e735 and 6 more.

Is CVE-2023-39129 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free