CVE-2009-4035: The FoFiType1::parse function in fofi/FoFiType1.cc in Xpdf 3.0.0, gpdf 2.8.2, kpdf in kdegraphics 3.3.1, and p
55
This month
HIGH 9.3DOWNGRADEDOWNGRADEDOWNGRADE
CVE-2009-4035 is a high-severity flaw (CVSS 9.3) affecting gpdf, kdegraphics, kpdf. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
The FoFiType1::parse function in fofi/FoFiType1.cc in Xpdf 3.0.0, gpdf 2.8.2, kpdf in kdegraphics 3.3.1, and possibly other libraries and versions, does not check the return value of the getNextLine function, which allows context-dependent attackers to execute arbitrary code via a PDF file with a crafted Type 1 font that can produce a negative value, leading to a signed-to-unsigned integer conversion error and a buffer overflow.
Why this priority
Critical severity
No fix is published yet: follow the downgrade or mitigation steps.
Downgrading can break dependent software and may reopen older bugs. Read the distro advisory first and test on a non-production host.
After downgrade
Restart the service, and keep the package held until a fixed release ships.
Verify at the official sourceNVD · CVE Program · Report a problem with this page Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2009-4035?
gpdf: downgrade or apply the listed mitigation; kdegraphics: downgrade or apply the listed mitigation; kpdf: downgrade or apply the listed mitigation. Exact commands for each OS are on this page.
Is CVE-2009-4035 being exploited?
CVE-2009-4035 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2009-4035 affect?
CVE-2009-4035 affects gpdf, kdegraphics, kpdf. Severity is high (CVSS 9.3). The FoFiType1::parse function in fofi/FoFiType1.cc in Xpdf 3.0.0, gpdf 2.8.2, kpdf in kdegraphics 3.3.1, and possibly other libraries and versions, does not check the return value of the getNextLine function, which allows context-dependent
How urgent is CVE-2009-4035?
Priority 55/100. Critical severity
Related CVEs
CVE-2007-3387MEDIUM 6.8UPGRADEUPGRADE Integer overflow in the StreamPredictor::StreamPredictor function in xpdf 3.02, as used in (1) poppler before
CVE-2006-1244HIGH 7.6DOWNGRADEDOWNGRADE Unspecified vulnerability in certain versions of xpdf after 3.00, as used in various products including (a) pd
CVE-2005-0206HIGH 7.5DOWNGRADEDOWNGRADE The patch for integer overflow vulnerabilities in Xpdf 2.0 and 3.0 (CVE-2004-0888) is incomplete for 64-bit ar
CVE-2004-0889HIGH 10.0DOWNGRADEDOWNGRADE Multiple integer overflows in xpdf 3.0, and other packages that use xpdf code such as CUPS, allow remote attac
CVE-2004-0888HIGH 10.0DOWNGRADEDOWNGRADE Multiple integer overflows in xpdf 2.0 and 3.0, and other packages that use xpdf code such as CUPS, gpdf, and