Buffer overflow in the LWZReadByte_ function in ext/gd/libgd/gd_gif_in.c in the GD extension in PHP before 5.1.5 allows remote attackers to have an unknown impact via a GIF file with input_code_size greater than MAX_LWZ_BITS, which triggers an overflow when initializing the table array.
Severity
Not rated by the source.
Dates
Published
2006-08-31 21:04 UTC
Modified
2026-10-22 23:47 UTC
Affected packages and fixes
libgd2
Debian packages (deb) · Debian 12
Affected
introduced 0, fixed 2.0.33-5.1 (ecosystem)
Fixed versions
2.0.33-5.1
Fix
Fixed version 2.0.33-5.1
sudo apt-get update && sudo apt-get upgrade
This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.
libgd2
Debian packages (deb) · Debian 13
Affected
introduced 0, fixed 2.0.33-5.1 (ecosystem)
Fixed versions
2.0.33-5.1
Fix
Fixed version 2.0.33-5.1
sudo apt-get update && sudo apt-get upgrade
This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.
libgd2
Debian packages (deb) · Debian 14
Affected
introduced 0, fixed 2.0.33-5.1 (ecosystem)
Fixed versions
2.0.33-5.1
Fix
Fixed version 2.0.33-5.1
sudo apt-get update && sudo apt-get upgrade
This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.
xloadimage
Debian packages (deb) · Debian 12
Affected
introduced 0 (ecosystem)
Fixed versions
None listed
Fix
No fixed version is listed.
xloadimage
Debian packages (deb) · Debian 13
Affected
introduced 0 (ecosystem)
Fixed versions
None listed
Fix
No fixed version is listed.
xloadimage
Debian packages (deb) · Debian 14
Affected
introduced 0 (ecosystem)
Fixed versions
None listed
Fix
No fixed version is listed.
Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.