From: http://secunia.com/secunia_research/2010-102/ Secunia Research has discovered three vulnerabilities in libgdiplus for Mono, which can be exploited by malicious people to compromise an application using the library. 1) An integer overflow error within the "gdip_load_tiff_image()" function in src/tiffcodec.c can be exploited to cause a heap-based buffer overflow by e.g. processing specially crafted TIFF images in an application using the library. 2) An integer overflow error within the "gdip_load_jpeg_image_internal()" function in src/jpegcodec.c can be exploited to cause a heap-based buffer overflow by e.g. processing specially crafted JPEG images in an application using the library. 3) An integer overflow error within the "gdip_read_bmp_image()" function in src/bmpcodec.c can be exploited to cause a heap-based buffer overflow by e.g. processing specially crafted BMP images in an application using the library.
CVE-2010-1526 (http://nvd.nist.gov/nvd.cfm?cvename=CVE-2010-1526): Multiple integer overflows in libgdiplus 2.6.7, as used in Mono, allow attackers to execute arbitrary code via (1) a crafted TIFF file, related to the gdip_load_tiff_image function in tiffcodec.c; (2) a crafted JPEG file, related to the gdip_load_jpeg_image_internal function in jpegcodec.c; or (3) a crafted BMP file, related to the gdip_read_bmp_image function in bmpcodec.c, leading to heap-based buffer overflows.
+*libgdiplus-2.6.7-r1 (07 Sep 2010) + + 07 Sep 2010; Pacho Ramos <pacho@gentoo.org> +libgdiplus-2.6.7-r1.ebuild, + +files/libgdiplus-2.6.7-fix-overflows.patch: + Fix Multiple Integer Overflow Vulnerabilities (CVE-2010-1526) (bug + #334101) applying upstream patch also used in Fedora. Maybe it should be installed with the rest of mono-2.6.7 :-/
Arches, please test and mark stable: =dev-dotnet/libgdiplus-2.6.7-r1 Target keywords : "amd64 ppc x86"
x86 stable
amd64 done
Marked ppc stable.
GLSA request filed.
This issue was resolved and addressed in GLSA 201401-01 at http://security.gentoo.org/glsa/glsa-201401-01.xml by GLSA coordinator Chris Reffett (creffett).