Mandrake Linux Security Advisory : XFree86 (MDKSA-2004:099)
High Nessus Plugin ID 14755
SynopsisThe remote Mandrake Linux host is missing one or more security updates.
DescriptionChris Evans found several stack and integer overflows in the libXpm code of X.Org/XFree86 :
Stack overflows (CVE-2004-0687) :
Careless use of strcat() in both the XPMv1 and XPMv2/3 xpmParseColors code leads to a stack based overflow (parse.c).
Stack overflow reading pixel values in ParseAndPutPixels (create.c) as well as ParsePixels (parse.c).
Integer Overflows (CVE-2004-0688) :
Integer overflow allocating colorTable in xpmParseColors (parse.c) - probably a crashable but not exploitable offence.
The updated packages have patches from Chris Evans and Matthieu Herrb to address these vulnerabilities.
SolutionUpdate the affected packages.