{"id":"UBUNTU-CVE-2019-9959","details":"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.","modified":"2026-01-30T01:29:00.896485Z","published":"2019-07-22T15:15:00Z","related":["USN-4646-1"],"upstream":["CVE-2019-9959"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2019-9959"},{"type":"REPORT","url":"https://gitlab.freedesktop.org/poppler/poppler/blob/master/NEWS"},{"type":"ADVISORY","url":"https://ubuntu.com/security/notices/USN-4646-1"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2019-9959"}],"affected":[{"package":{"name":"poppler","ecosystem":"Ubuntu:16.04:LTS","purl":"pkg:deb/ubuntu/poppler@0.41.0-0ubuntu1.15?arch=source&distro=xenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.41.0-0ubuntu1.15"}]}],"versions":["0.33.0-0ubuntu3","0.37.0-0ubuntu1","0.38.0-0ubuntu1","0.41.0-0ubuntu1","0.41.0-0ubuntu1.1","0.41.0-0ubuntu1.2","0.41.0-0ubuntu1.3","0.41.0-0ubuntu1.4","0.41.0-0ubuntu1.5","0.41.0-0ubuntu1.6","0.41.0-0ubuntu1.7","0.41.0-0ubuntu1.8","0.41.0-0ubuntu1.9","0.41.0-0ubuntu1.10","0.41.0-0ubuntu1.11","0.41.0-0ubuntu1.12","0.41.0-0ubuntu1.13","0.41.0-0ubuntu1.14"],"ecosystem_specific":{"availability":"No subscription required","binaries":[{"binary_version":"0.41.0-0ubuntu1.15","binary_name":"gir1.2-poppler-0.18"},{"binary_version":"0.41.0-0ubuntu1.15","binary_name":"libpoppler-cpp-dev"},{"binary_version":"0.41.0-0ubuntu1.15","binary_name":"libpoppler-cpp0"},{"binary_version":"0.41.0-0ubuntu1.15","binary_name":"libpoppler-dev"},{"binary_version":"0.41.0-0ubuntu1.15","binary_name":"libpoppler-glib-dev"},{"binary_version":"0.41.0-0ubuntu1.15","binary_name":"libpoppler-glib8"},{"binary_version":"0.41.0-0ubuntu1.15","binary_name":"libpoppler-private-dev"},{"binary_version":"0.41.0-0ubuntu1.15","binary_name":"libpoppler-qt4-4"},{"binary_version":"0.41.0-0ubuntu1.15","binary_name":"libpoppler-qt4-dev"},{"binary_version":"0.41.0-0ubuntu1.15","binary_name":"libpoppler-qt5-1"},{"binary_version":"0.41.0-0ubuntu1.15","binary_name":"libpoppler-qt5-dev"},{"binary_version":"0.41.0-0ubuntu1.15","binary_name":"libpoppler58"},{"binary_version":"0.41.0-0ubuntu1.15","binary_name":"poppler-utils"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2019/UBUNTU-CVE-2019-9959.json"}},{"package":{"name":"emscripten","ecosystem":"Ubuntu:16.04:LTS","purl":"pkg:deb/ubuntu/emscripten@1.22.1-1build1?arch=source&distro=xenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.22.1-1build1"],"ecosystem_specific":{"binaries":[{"binary_version":"1.22.1-1build1","binary_name":"emscripten"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2019/UBUNTU-CVE-2019-9959.json"}},{"package":{"name":"poppler","ecosystem":"Ubuntu:18.04:LTS","purl":"pkg:deb/ubuntu/poppler@0.62.0-2ubuntu2.11?arch=source&distro=bionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.62.0-2ubuntu2.11"}]}],"versions":["0.57.0-2ubuntu4","0.57.0-2ubuntu5","0.62.0-1ubuntu1","0.62.0-2ubuntu1","0.62.0-2ubuntu2","0.62.0-2ubuntu2.1","0.62.0-2ubuntu2.2","0.62.0-2ubuntu2.4","0.62.0-2ubuntu2.5","0.62.0-2ubuntu2.6","0.62.0-2ubuntu2.7","0.62.0-2ubuntu2.8","0.62.0-2ubuntu2.9","0.62.0-2ubuntu2.10"],"ecosystem_specific":{"availability":"No subscription required","binaries":[{"binary_version":"0.62.0-2ubuntu2.11","binary_name":"gir1.2-poppler-0.18"},{"binary_version":"0.62.0-2ubuntu2.11","binary_name":"libpoppler-cpp-dev"},{"binary_version":"0.62.0-2ubuntu2.11","binary_name":"libpoppler-cpp0v5"},{"binary_version":"0.62.0-2ubuntu2.11","binary_name":"libpoppler-dev"},{"binary_version":"0.62.0-2ubuntu2.11","binary_name":"libpoppler-glib-dev"},{"binary_version":"0.62.0-2ubuntu2.11","binary_name":"libpoppler-glib8"},{"binary_version":"0.62.0-2ubuntu2.11","binary_name":"libpoppler-private-dev"},{"binary_version":"0.62.0-2ubuntu2.11","binary_name":"libpoppler-qt5-1"},{"binary_version":"0.62.0-2ubuntu2.11","binary_name":"libpoppler-qt5-dev"},{"binary_version":"0.62.0-2ubuntu2.11","binary_name":"libpoppler73"},{"binary_version":"0.62.0-2ubuntu2.11","binary_name":"poppler-utils"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2019/UBUNTU-CVE-2019-9959.json"}},{"package":{"name":"emscripten","ecosystem":"Ubuntu:18.04:LTS","purl":"pkg:deb/ubuntu/emscripten@1.22.1-1build1?arch=source&distro=bionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.22.1-1build1"],"ecosystem_specific":{"binaries":[{"binary_version":"1.22.1-1build1","binary_name":"emscripten"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2019/UBUNTU-CVE-2019-9959.json"}},{"package":{"name":"emscripten","ecosystem":"Ubuntu:22.04:LTS","purl":"pkg:deb/ubuntu/emscripten@3.1.5~dfsg-3ubuntu1?arch=source&distro=jammy"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.0.13~dfsg-1","3.1.1~dfsg+~1.39.6-5ubuntu4","3.1.2~dfsg+~1.39.6-6ubuntu1","3.1.3~dfsg-4ubuntu1","3.1.3~dfsg-5ubuntu1","3.1.4~dfsg-7ubuntu1","3.1.5~dfsg-3ubuntu1"],"ecosystem_specific":{"binaries":[{"binary_version":"3.1.5~dfsg-3ubuntu1","binary_name":"emscripten"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2019/UBUNTU-CVE-2019-9959.json"}},{"package":{"name":"emscripten","ecosystem":"Ubuntu:24.04:LTS","purl":"pkg:deb/ubuntu/emscripten@3.1.6~dfsg-7?arch=source&distro=noble"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["3.1.6~dfsg-5","3.1.6~dfsg-6","3.1.6~dfsg-7"],"ecosystem_specific":{"binaries":[{"binary_version":"3.1.6~dfsg-7","binary_name":"emscripten"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2019/UBUNTU-CVE-2019-9959.json"}}],"schema_version":"1.7.3","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H"},{"type":"CVSS_V3","score":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H"},{"type":"Ubuntu","score":"low"}]}