Name | CVE-2009-4035 |
Description | 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. |
Source | CVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
The table below lists information on source packages.
Source Package | Release | Version | Status |
---|---|---|---|
poppler (PTS) | bullseye (security), bullseye | 20.09.0-3.1+deb11u1 | fixed |
bookworm | 22.12.0-2 | fixed | |
sid, trixie | 24.08.0-3 | fixed | |
xpdf (PTS) | bullseye | 3.04+git20210103-3 | fixed |
bookworm | 3.04+git20220601-1 | fixed | |
sid, trixie | 3.04+git20240613-1 | fixed |
The information below is based on the following data on fixed versions.
Package | Type | Release | Fixed Version | Urgency | Origin | Debian Bugs |
---|---|---|---|---|---|---|
kdegraphics | source | (unstable) | 4:4.0.0-1 | |||
poppler | source | (unstable) | 0.5.1-1 | |||
swftools | source | (unstable) | 0.9.2+ds1-2 | |||
xpdf | source | (unstable) | 3.01-1 |
was silently fixed by upstream xpdf, fix propagated to poppler in 4b4fc5c017b/2005-09-14
but at least version 0.4.5 does *not* contain the ship.
Was fixed somewhere between 0.4.5 and 0.5.1