| Name | CVE-2019-9959 |
| Description | The JPXStream::init function in Poppler 0.78.0 and earlier doesn't check for negative values of stream length, leading to an Integer Overflow, thereby making it possible to allocate a large memory chunk on the heap, with a size controlled by an attacker, as demonstrated by pdftocairo. |
| Source | CVE (at NVD; CERT, ENISA, LWN, oss-sec, fulldisc, Debian ELTS, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
| References | DLA-1963-1, DLA-2440-1, DLA-3120-1 |
| Debian Bugs | 941776 |
The table below lists information on source packages.
| Source Package | Release | Version | Status |
|---|---|---|---|
| poppler (PTS) | bullseye | 20.09.0-3.1+deb11u1 | fixed |
| bullseye (security) | 20.09.0-3.1+deb11u2 | fixed | |
| bookworm | 22.12.0-2+deb12u1 | fixed | |
| trixie | 25.03.0-5 | fixed | |
| forky, sid | 25.03.0-11.1 | fixed |
The information below is based on the following data on fixed versions.
| Package | Type | Release | Fixed Version | Urgency | Origin | Debian Bugs |
|---|---|---|---|---|---|---|
| poppler | source | experimental | 0.81.0-1 | |||
| poppler | source | jessie | 0.26.5-2+deb8u12 | DLA-1963-1 | ||
| poppler | source | stretch | 0.48.0-2+deb9u4 | DLA-2440-1 | ||
| poppler | source | buster | 0.71.0-5+deb10u1 | DLA-3120-1 | ||
| poppler | source | (unstable) | 0.85.0-2 | low | 941776 |
https://gitlab.freedesktop.org/poppler/poppler/issues/805
Patch: https://gitlab.freedesktop.org/poppler/poppler/commit/68ef84e5968a4249c2162b839ca6d7975048a557 (poppler-0.79.0)
Reproducer: https://gitlab.freedesktop.org/poppler/poppler/uploads/3f22837ebd503f87e730b51221b89742/raiter_issue5465.pdf