CVE Tools

Description

Integer underflow in the _gdContributionsAlloc function in gd_interpolation.c in the GD Graphics Library (aka libgd) before 2.2.4 allows remote attackers to have unspecified impact via vectors related to decrementing the u variable.

In plain language

AI Worth attention

libgd before 2.2.4 can be crashed or potentially taken over by a malicious image, so small businesses using it should arrange an update.

Executive summary

Remote, unauthenticated integer underflow in libgd image-smoothing memory allocation can process crafted input with an invalid allocation size, causing denial of service or potential code execution.

If affected, business impact
Application crashesPossible server takeoverImage-processing disruptionCustomer upload risk

What to do now

  1. Check whether your servers or applications include libgd and identify its installed version.
  2. Update libgd to version 2.2.4 or later through your operating system, application vendor, or deployment process.
  3. If an update must wait, stop accepting untrusted images in affected image-smoothing workflows and restrict public access to the application.
  4. Review application errors for image-processing crashes after applying the update.
Patch / advisory Some work to apply

CVSS Vector Breakdown

AV:NAC:LPR:NUI:NS:UC:HI:HA:H
Exploitability
AV:NAttack Vector
Network
AC:LAttack Complexity
Low
PR:NPrivileges Required
None
UI:NUser Interaction
None
Scope
S:UScope
Unchanged
Impact
C:HConfidentiality
High
I:HIntegrity
High
A:HAvailability
High

Weaknesses

Affected Products

and 1 more affected products View all →

Exploitability

Official Patch Available

Attack Graph

Products CVE Techniques Tactics

Click technique nodes for MITRE ATT&CK details · drag to pan · Ctrl/ + scroll to zoom, or go fullscreen.

MITRE ATT&CK

1 technique
Initial Access
View detailed technique mapping

References

and 9 more references View all →

Unlock Complete Vulnerability Intelligence

Get the full picture for CVE-2016-10166 and every CVE in our database. Create a free account — no credit card required.

Create Free Account
Plain-language analysis
Impact assessment and exploitation scenario in plain English
Attack graph visualization
Interactive attack path and kill chain mapping
Exploit details & PoC links
ExploitDB, Metasploit, GitHub PoCs with direct links
Nuclei scanner templates
Ready-to-use vulnerability scanner templates
Full remediation guide
Patch instructions, workarounds, and compliance impact
Interactive AI chat
Ask questions about this vulnerability in natural language
Related vulnerabilities
Semantically similar CVEs and attack patterns
REST API & MCP access
Integrate vulnerability data into your workflows

We use analytics cookies to see which pages and articles actually help people. Decline and none of them run — the site works the same. What we store