CVE-2008-3640: Buffer Overflow
An integer overflow issue exists within the WriteProlog() function in the texttops CUPS image filter. When calculating the page size for storing PostScript data, values are derived from user content and are used in multiplication. If the operation overflows, a small destination buffer may be allocated, resulting in a heap-based buffer overflow.
Acknowledgements:
Red Hat would like to thank "regenrecht" for reporting this issue.
Other sources
Integer overflow in the WriteProlog function in texttops in CUPS before 1.3.9 allows remote attackers to execute arbitrary code via a crafted PostScript file that triggers a heap-based buffer overflow.
— Red Hat
Affected Software
Remediation
Patch Available
Event History
Frequently Asked Questions
What is the severity of CVE-2008-3640?
CVE-2008-3640 is considered a high severity vulnerability due to its potential to allow remote attackers to execute arbitrary code.
How do I fix CVE-2008-3640?
To fix CVE-2008-3640, upgrade your CUPS installation to version 1.3.9 or later.
What type of vulnerability is CVE-2008-3640?
CVE-2008-3640 is an integer overflow vulnerability that can lead to a heap-based buffer overflow.
Which versions of CUPS are affected by CVE-2008-3640?
CVE-2008-3640 affects all versions of CUPS prior to 1.3.9.
Can CVE-2008-3640 be exploited remotely?
Yes, CVE-2008-3640 can be exploited remotely via a crafted PostScript file.