Imager Perl extension BMP file buffer overflow
|imager-bmpfile-bo (34010)||High Risk|
The Imager extension for Perl is vulnerable to a buffer overflow, caused by improper bounds checking by the read_4bit_bmp() and read_8bit_bmp() functions. By creating a malicious BMP image file and persuading a victim to open the file, a remote attacker could overflow a buffer and execute arbitrary code on the system or cause the application to crash.
Upgrade to the latest version of Imager (0.57 or later), available from the Imager Web page. See References.
- CPAN Bug #26811: BMP reader security issue.
- Imager Web page: Imager - News.
- BID-23711: Imager 8 Bit BMP Heap Based Buffer Overflow Vulnerability
- CVE-2007-2413: ** REJECT ** DO NOT USE THIS CANDIDATE NUMBER. ConsultIDs: CVE-2007-2459. Reason: This candidate is a duplicate of CVE-2007-2459. Notes: All CVE users should reference CVE-2007-2459 instead of this candidate. All references and descriptions in this candidate have been removed to prevent accidental usage.
- CVE-2007-2459: Heap-based buffer overflow in the BMP reader (bmp.c) in Imager perl module (libimager-perl) 0.45 through 0.56 allows remote attackers to cause a denial of service (application crash) and possibly execute arbitrary code via crafted 8-bit/pixel compressed BMP files.
- DSA-1498: libimager-perl -- buffer overflow
- OSVDB ID: 35470: Imager 8Bit BMP File Parsing Overflow
- OSVDB ID: 39846: Imager bmp.c read_4bit_bmp Function 4-bit/pixel BMP File Parsing Overflow
- SA25038: Imager 8Bit BMP File Parsing Buffer Overflow Vulnerability
- Debian Debian Linux 4.0
- Perl Imager (Perl extension) 0.56
Apr 30, 2007
The information within this database may change without notice. Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. In no event shall the author/distributor (IBM Internet Security Systems X-Force) be held liable for any damages whatsoever arising out of or in connection with the use or spread of this information.
For corrections or additions please email ignore thisxforceignore this@ignore thisus.ignore thisibm.comignore this
* According to the Forum of Incident Response and Security Teams (FIRST), the Common Vulnerability Scoring System (CVSS) is an "industry open standard designed to convey vulnerability severity and help to determine urgency and priority of response." IBM PROVIDES THE CVSS SCORES "AS IS" WITHOUT WARRANTY OF ANY KIND, INCLUDING THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. CUSTOMERS ARE RESPONSIBLE FOR ASSESSING THE IMPACT OF ANY ACTUAL OR POTENTIAL SECURITY VULNERABILITY.
The information within this database may change without notice. Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. In no event shall IBM be held liable for any damages whatsoever arising out of or in connection with the use or spread of this information.