CVE-2021-39432 diplib Double Free

Medium 6.5 Published Updated

A double free vulnerability in diplib allows attackers to cause denial of service or potentially execute arbitrary code.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
Available

What is CVE-2021-39432?

CVE-2021-39432 is a medium-severity use after free vulnerability in n/a, published on 4 Nov 2022. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.

Official description

diplib v3.0.0 is vulnerable to Double Free.

Weakness: CWE-415, CWE-416

Which versions are affected by CVE-2021-39432?

2 open source packages ship an affected version, including diplib. It affects 1 product.

PackageAffectedFixed in
diplib PyPIAll versions3.1.0
diplib PyPIAll versions3.1.0

Products include Diplib Diplib.

How do I fix CVE-2021-39432?

Upgrade diplib to 3.1.0 or later.

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-2021-39432 being exploited?

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

Sources

Also known as GHSA-xf2w-5673-h6ww.

Is CVE-2021-39432 in your software?

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

Check your SBOMs for free