CVE-2007-1667

NameCVE-2007-1667
DescriptionMultiple integer overflows in (1) the XGetPixel function in ImUtil.c in X.Org libx11 before 1.0.3, and (2) XInitImage function in xwd.c for ImageMagick, allow user-assisted remote attackers to cause a denial of service (crash) or obtain sensitive information via crafted images with large or negative values that trigger a buffer overflow.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)
ReferencesDSA-1294-1, DSA-1858-1, DSA-1903-1
Debian Bugs414045, 414046, 417862

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
graphicsmagick (PTS)jessie, jessie (lts)1.3.20-3+deb8u14fixed
stretch (security)1.3.30+hg15796-1~deb9u5fixed
stretch (lts), stretch1.3.30+hg15796-1~deb9u7fixed
buster (security), buster, buster (lts)1.4+really1.3.35-1~deb10u3fixed
bullseye (security), bullseye1.4+really1.3.36+hg16481-2+deb11u1fixed
bookworm1.4+really1.3.40-4fixed
sid, trixie1.4+really1.3.45-1fixed
imagemagick (PTS)jessie, jessie (lts)8:6.8.9.9-5+deb8u27fixed
stretch (security)8:6.9.7.4+dfsg-11+deb9u14fixed
stretch (lts), stretch8:6.9.7.4+dfsg-11+deb9u20fixed
buster, buster (lts)8:6.9.10.23+dfsg-2.1+deb10u9fixed
buster (security)8:6.9.10.23+dfsg-2.1+deb10u7fixed
bullseye8:6.9.11.60+dfsg-1.3+deb11u4fixed
bullseye (security)8:6.9.11.60+dfsg-1.3+deb11u3fixed
bookworm8:6.9.11.60+dfsg-1.6+deb12u2fixed
bookworm (security)8:6.9.11.60+dfsg-1.6+deb12u1fixed
sid, trixie8:7.1.1.39+dfsg1-3fixed
libx11 (PTS)jessie, jessie (lts)2:1.6.2-3+deb8u7fixed
stretch (security)2:1.6.4-3+deb9u4fixed
stretch (lts), stretch2:1.6.4-3+deb9u6fixed
buster (security), buster, buster (lts)2:1.6.7-1+deb10u4fixed
bullseye (security), bullseye2:1.7.2-1+deb11u2fixed
bookworm (security), bookworm2:1.8.4-2+deb12u2fixed
sid, trixie2:1.8.10-2fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
graphicsmagicksourceetch1.1.7-13+etch1DSA-1903-1
graphicsmagicksourcelenny1.1.11-3.2+lenny1DSA-1903-1
graphicsmagicksource(unstable)1.1.7-14medium417862
imagemagicksourceetch7:6.2.4.5.dfsg1-0.15+etch1DSA-1858-1
imagemagicksourcelenny7:6.3.7.9.dfsg2-1~lenny3DSA-1858-1
imagemagicksource(unstable)7:6.2.4.5.dfsg1-1medium
libx11source(unstable)2:1.0.3-7medium414045
xfree86sourcesarge4.3.0.dfsg.1-14sarge4DSA-1294-1
xfree86source(unstable)(unfixed)medium414046

Notes

Discovered through CVE-2007-0770.
With certain mail user agents, this issue is likely exploitable
without much user interaction.

Search for package or bug name: Reporting problems