Thomas Boutell GD Graphics Library up to 2.0.33 gdImageCreateFromGifPtr infinite loop

CVSS Meta Temp Score
CVSS is a standardized scoring system to determine possibilities of attacks. The Temp Score considers temporal factors like disclosure, exploit and countermeasures. The unique Meta Score calculates the average score of different sources to provide a normalized scoring system.
Current Exploit Price (≈)
Our analysts are monitoring exploit markets and are in contact with vulnerability brokers. The range indicates the observed or calculated exploit price to be seen on exploit markets. A good indicator to understand the monetary effort required for and the popularity of an attack.
CTI Interest Score
Our Cyber Threat Intelligence team is monitoring different web sites, mailing lists, exploit markets and social media networks. The CTI Interest Score identifies the interest of attackers and the security community for this specific vulnerability in real-time. A high score indicates an elevated risk to be targeted for this vulnerability.
6.7$0-$5k0.00

Summaryinfo

A vulnerability was found in Thomas Boutell GD Graphics Library up to 2.0.33. It has been classified as problematic. This affects the function gdImageCreateFromGifPtr. Performing a manipulation results in infinite loop. This vulnerability is identified as CVE-2006-2906. The attack can be initiated remotely. Additionally, an exploit exists. It is suggested to swap out the affected component for an alternative.

Detailsinfo

A vulnerability was found in Thomas Boutell GD Graphics Library up to 2.0.33 (Image Processing Software). It has been classified as critical. This affects the function gdImageCreateFromGifPtr. The manipulation with an unknown input leads to a infinite loop vulnerability. CWE is classifying the issue as CWE-835. The product contains an iteration or loop with an exit condition that cannot be reached, i.e., an infinite loop. This is going to have an impact on availability. The summary by CVE is:

The LZW decoding in the gdImageCreateFromGifPtr function in the Thomas Boutell graphics draw (GD) library (aka libgd) 2.0.33 allows remote attackers to cause a denial of service (CPU consumption) via malformed GIF data that causes an infinite loop.

The weakness was released 06/07/2006 by Xavier Roche as not defined posting (Bugtraq). The advisory is shared at archives.neohapsis.com. This vulnerability is uniquely identified as CVE-2006-2906 since 06/08/2006. It is possible to initiate the attack remotely. No form of authentication is needed for exploitation. Technical details and a public exploit are known. MITRE ATT&CK project uses the attack technique T1499 for this issue.

The exploit is shared for download at exploit-db.com. It is declared as proof-of-concept. The vulnerability scanner Nessus provides a plugin with the ID 22659 (Debian DSA-1117-1 : libgd2 - insufficient input sanitising), which helps to determine the existence of the flaw in a target environment. It is assigned to the family Debian Local Security Checks and running in the context l.

Applying a patch is able to eliminate this problem. The bugfix is ready for download at boutell.com. The problem might be mitigated by replacing the product with as an alternative. The best possible mitigation is suggested to be establishing an alternative product. A possible mitigation has been published 2 months after the disclosure of the vulnerability.

The vulnerability is also documented in the databases at X-Force (26976), Exploit-DB (27981), Tenable (22659), SecurityFocus (BID 18294†) and OSVDB (26260†). Entry connected to this vulnerability is available at VDB-24001. If you want to get the best quality for vulnerability data then you always have to consider VulDB.

Productinfo

Type

Vendor

Name

Version

License

CPE 2.3info

CPE 2.2info

CVSSv4info

VulDB Vector: 🔍
VulDB Reliability: 🔍

CVSSv3info

VulDB Meta Base Score: 7.5
VulDB Meta Temp Score: 6.7

VulDB Base Score: 7.5
VulDB Temp Score: 6.7
VulDB Vector: 🔍
VulDB Reliability: 🔍

CVSSv2info

AVACAuCIA
💳💳💳💳💳💳
💳💳💳💳💳💳
💳💳💳💳💳💳
VectorComplexityAuthenticationConfidentialityIntegrityAvailability
UnlockUnlockUnlockUnlockUnlockUnlock
UnlockUnlockUnlockUnlockUnlockUnlock
UnlockUnlockUnlockUnlockUnlockUnlock

VulDB Base Score: 🔍
VulDB Temp Score: 🔍
VulDB Reliability: 🔍

NVD Base Score: 🔍

Exploitinginfo

Class: Infinite loop
CWE: CWE-835 / CWE-404
CAPEC: 🔍
ATT&CK: 🔍

Physical: No
Local: No
Remote: Yes

Availability: 🔍
Access: Public
Status: Proof-of-Concept
Download: 🔍

EPSS Score: 🔍
EPSS Percentile: 🔍

Price Prediction: 🔍
Current Price Estimation: 🔍

0-DayUnlockUnlockUnlockUnlock
TodayUnlockUnlockUnlockUnlock

Nessus ID: 22659
Nessus Name: Debian DSA-1117-1 : libgd2 - insufficient input sanitising
Nessus File: 🔍
Nessus Risk: 🔍
Nessus Family: 🔍
Nessus Context: 🔍
Nessus Port: 🔍

OpenVAS ID: 57149
OpenVAS Name: Debian Security Advisory DSA 1117-1 (libgd2)
OpenVAS File: 🔍
OpenVAS Family: 🔍

Exploit-DB: 🔍

Threat Intelligenceinfo

Interest: 🔍
Active Actors: 🔍
Active APT Groups: 🔍

Countermeasuresinfo

Recommended: Alternative
Status: 🔍

Reaction Time: 🔍
0-Day Time: 🔍
Exposure Time: 🔍

Patch: boutell.com

Timelineinfo

06/06/2006 🔍
06/07/2006 +1 days 🔍
06/07/2006 +0 days 🔍
06/08/2006 +0 days 🔍
06/08/2006 +0 days 🔍
06/08/2006 +0 days 🔍
06/19/2006 +11 days 🔍
07/03/2006 +14 days 🔍
07/21/2006 +18 days 🔍
07/25/2006 +4 days 🔍
10/14/2006 +81 days 🔍
01/18/2025 +6671 days 🔍

Sourcesinfo

Advisory: archives.neohapsis.com
Researcher: Xavier Roche
Status: Confirmed
Confirmation: 🔍

CVE: CVE-2006-2906 (🔍)
GCVE (CVE): GCVE-0-2006-2906
GCVE (VulDB): GCVE-100-2301
X-Force: 26976 - GD Graphics Library gdImageCreateFromGifPtr() GIF file denial of service, Medium Risk
SecurityFocus: 18294 - GD Graphics Library Remote Denial of Service Vulnerability
Secunia: 21186 - Debian update for libgd2, Less Critical
OSVDB: 26260 - GD Graphics Library gdImageCreateFromGifPtr() Function GIF Processing DoS
Vulnerability Center: 12149 - GD Library (libgd) Denial of Service via Malformed GIF Data, Medium
Vupen: ADV-2006-2174

scip Labs: https://www.scip.ch/en/?labs.20161013
See also: 🔍

Entryinfo

Created: 06/19/2006 11:17
Updated: 01/18/2025 18:32
Changes: 06/19/2006 11:17 (87), 06/08/2017 23:45 (11), 03/13/2021 08:12 (2), 01/18/2025 18:32 (22)
Complete: 🔍
Cache ID: 216:A02:103

If you want to get the best quality for vulnerability data then you always have to consider VulDB.

Discussion

No comments yet. Languages: en.

Please log in to comment.

Want to know what is going to be exploited?

We predict KEV entries!