CVE-2017-6362 Use after free in n/a

High 7.5 Published Updated

Remote attackers can cause a denial of service in libgd2 via a double free vulnerability in PNG processing with empty palettes.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2017-6362?

CVE-2017-6362 is a high-severity use after free vulnerability in Canonical Ubuntu Linux, published on 7 Sep 2017. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

Double free vulnerability in the gdImagePngPtr function in libgd2 before 2.2.5 allows remote attackers to cause a denial of service via vectors related to a palette with no colors.

Weakness: CWE-415

Which versions are affected by CVE-2017-6362?

It affects 4 products.

Linux distribution packages (11)
gd SUSE:Linux Enterprise Desktop 12 SP2All versions2.1.0-24.3.4
gd SUSE:Linux Enterprise Desktop 12 SP3All versions2.1.0-24.3.4
gd SUSE:Linux Enterprise Server 12 SP2All versions2.1.0-24.3.4
gd SUSE:Linux Enterprise Server 12 SP3All versions2.1.0-24.3.4
gd SUSE:Linux Enterprise Server for Raspberry Pi 12 SP2All versions2.1.0-24.3.4
gd SUSE:Linux Enterprise Server for SAP Applications 12 SP2All versions2.1.0-24.3.4
gd SUSE:Linux Enterprise Server for SAP Applications 12 SP3All versions2.1.0-24.3.4
gd SUSE:Linux Enterprise Software Development Kit 12 SP2All versions2.1.0-24.3.4
gd SUSE:Linux Enterprise Software Development Kit 12 SP3All versions2.1.0-24.3.4
gd SUSE:Linux Enterprise Workstation Extension 12 SP2All versions2.1.0-24.3.4
gd SUSE:Linux Enterprise Workstation Extension 12 SP3All versions2.1.0-24.3.4

Products include Canonical Ubuntu Linux, Debian Debian Linux, Fedoraproject Fedora, Libgd Libgd.

How do I fix CVE-2017-6362?

Upgrade to a fixed version.

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-2017-6362 being exploited?

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

All Canonical Ubuntu Linux vulnerabilities

Sources

Also known as ALPINE-CVE-2017-6362, DEBIAN-CVE-2017-6362, DLA-1106-1, DSA-3961-1, GHSA-hc3p-jvff-jfw5, MGASA-2017-0351 and 4 more.

Is CVE-2017-6362 in your software?

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

Check your SBOMs for free