CVE-2016-9933 Denial of service in n/a

High 7.5 Published Updated

Remote attackers can cause a denial of service via segmentation violation in the GD Graphics Library by triggering a stack consumption vulnerability with crafted image data.

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

What is CVE-2016-9933?

CVE-2016-9933 is a high-severity denial of service vulnerability in n/a, published on 4 Jan 2017. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

Stack consumption vulnerability in the gdImageFillToBorder function in gd.c in the GD Graphics Library (aka libgd) before 2.2.2, as used in PHP before 5.6.28 and 7.x before 7.0.13, allows remote attackers to cause a denial of service (segmentation violation) via a crafted imagefilltoborder call that triggers use of a negative color value.

Weakness: CWE-119

Which versions are affected by CVE-2016-9933?

It affects 1 product.

Linux distribution packages (14)
gd SUSE:Linux Enterprise Desktop 12 SP1All versions2.1.0-20.1
gd SUSE:Linux Enterprise Desktop 12 SP2All versions2.1.0-20.1
gd SUSE:Linux Enterprise Server 11 SP4All versions2.0.36.RC1-52.29.1
gd SUSE:Linux Enterprise Server 12 SP1All versions2.1.0-20.1
gd SUSE:Linux Enterprise Server 12 SP2All versions2.1.0-20.1
gd SUSE:Linux Enterprise Server for Raspberry Pi 12 SP2All versions2.1.0-20.1
gd SUSE:Linux Enterprise Server for SAP Applications 11 SP4All versions2.0.36.RC1-52.29.1
gd SUSE:Linux Enterprise Server for SAP Applications 12 SP1All versions2.1.0-20.1
gd SUSE:Linux Enterprise Server for SAP Applications 12 SP2All versions2.1.0-20.1
gd SUSE:Linux Enterprise Software Development Kit 11 SP4All versions2.0.36.RC1-52.29.1
gd SUSE:Linux Enterprise Software Development Kit 12 SP1All versions2.1.0-20.1
gd SUSE:Linux Enterprise Software Development Kit 12 SP2All versions2.1.0-20.1
gd SUSE:Linux Enterprise Workstation Extension 12 SP1All versions2.1.0-20.1
gd SUSE:Linux Enterprise Workstation Extension 12 SP2All versions2.1.0-20.1

Products include Libgd Libgd.

How do I fix CVE-2016-9933?

Upgrade to a fixed version.

Upgrade, then put limits on request size, rate and nesting depth so one client cannot exhaust the service. More about Denial of service.

Is CVE-2016-9933 being exploited?

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

Sources

Also known as DEBIAN-CVE-2016-9933, DLA-758-1, DSA-3751-1, GHSA-cmjx-gh93-h4cg, SUSE-SU-2016:3211-1, SUSE-SU-2016:3251-1 and 1 more.

Is CVE-2016-9933 in your software?

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

Check your SBOMs for free