CVE-2024-32036 SixLabors.ImageSharp vulnerable to data leakage

Medium 5.3 Published Updated

Attackers can leak sensitive memory data by submitting crafted JPEG or TGA images to applications using the ImageSharp library.

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-2024-32036?

CVE-2024-32036 is a medium-severity vulnerability in SixLabors ImageSharp, published on 15 Apr 2024. 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

ImageSharp is a 2D graphics API. A data leakage flaw was found in ImageSharp's JPEG and TGA decoders. This vulnerability is triggered when an attacker passes a specially crafted JPEG or TGA image file to a software using ImageSharp, potentially disclosing sensitive information from other parts of the software in the resulting image buffer. The problem has been patched in v3.1.4 and v2.1.8.

Weakness: CWE-212, CWE-226

Which versions are affected by CVE-2024-32036?

4 open source packages ship an affected version, including SixLabors.ImageSharp. It affects 1 product.

PackageAffectedFixed in
SixLabors.ImageSharp NuGetAll versions2.1.8
SixLabors.ImageSharp NuGetAll versions2.1.8
SixLabors.ImageSharp NuGetFrom 3.0.03.1.4
SixLabors.ImageSharp NuGetFrom 3.0.03.1.4

Products include Sixlabors Imagesharp.

How do I fix CVE-2024-32036?

Upgrade SixLabors.ImageSharp to a fixed version for your release line: 2.1.8 or 3.1.4.

Is CVE-2024-32036 being exploited?

There is no known exploitation of CVE-2024-32036 in the wild and no public exploit code.

Sources

Also known as ECHO-d686-0fea-e603, GHSA-5x7m-6737-26cr.

Is CVE-2024-32036 in your software?

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

Check your SBOMs for free