{"id":"UBUNTU-CVE-2022-38784","details":"Poppler prior to and including 22.08.0 contains an integer overflow in the JBIG2 decoder (JBIG2Stream::readTextRegionSeg() in JBIGStream.cc). Processing a specially crafted PDF file or JBIG2 image could lead to a crash or the execution of arbitrary code. This is similar to the vulnerability described by CVE-2022-38171 in Xpdf.","modified":"2026-05-20T16:08:13.159712789Z","published":"2022-08-30T03:15:00Z","related":["USN-5606-1","USN-5606-2"],"upstream":["CVE-2022-38784"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2022-38784"},{"type":"REPORT","url":"https://poppler.freedesktop.org/releases.html"},{"type":"REPORT","url":"https://github.com/jeffssh/CVE-2021-30860"},{"type":"REPORT","url":"https://gist.github.com/zmanion/b2ed0d1a0cec163ecd07d5e3d9740dc6"},{"type":"REPORT","url":"https://gitlab.freedesktop.org/poppler/poppler/-/merge_requests/1261/diffs?commit_id=27354e9d9696ee2bc063910a6c9a6b27c5184a52"},{"type":"REPORT","url":"https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-38171"},{"type":"ADVISORY","url":"https://ubuntu.com/security/notices/USN-5606-1"},{"type":"ADVISORY","url":"https://ubuntu.com/security/notices/USN-5606-2"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2022-38784"}],"affected":[{"package":{"name":"poppler","ecosystem":"Ubuntu:Pro:16.04:LTS","purl":"pkg:deb/ubuntu/poppler?arch=source&distro=esm-infra%2Fxenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.41.0-0ubuntu1.16+esm2"}]}],"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","0.41.0-0ubuntu1.15","0.41.0-0ubuntu1.16","0.41.0-0ubuntu1.16+esm1"],"ecosystem_specific":{"availability":"Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro","binaries":[{"binary_name":"gir1.2-poppler-0.18","binary_version":"0.41.0-0ubuntu1.16+esm2"},{"binary_name":"libpoppler-cpp0","binary_version":"0.41.0-0ubuntu1.16+esm2"},{"binary_name":"libpoppler-glib8","binary_version":"0.41.0-0ubuntu1.16+esm2"},{"binary_version":"0.41.0-0ubuntu1.16+esm2","binary_name":"libpoppler-qt4-4"},{"binary_name":"libpoppler-qt5-1","binary_version":"0.41.0-0ubuntu1.16+esm2"},{"binary_name":"libpoppler58","binary_version":"0.41.0-0ubuntu1.16+esm2"},{"binary_name":"poppler-utils","binary_version":"0.41.0-0ubuntu1.16+esm2"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-38784.json"}},{"package":{"name":"emscripten","ecosystem":"Ubuntu:16.04:LTS","purl":"pkg:deb/ubuntu/emscripten?arch=source&distro=xenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.22.1-1build1"],"ecosystem_specific":{"binaries":[{"binary_name":"emscripten","binary_version":"1.22.1-1build1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-38784.json"}},{"package":{"name":"poppler","ecosystem":"Ubuntu:18.04:LTS","purl":"pkg:deb/ubuntu/poppler?arch=source&distro=bionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.62.0-2ubuntu2.14"}]}],"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","0.62.0-2ubuntu2.11","0.62.0-2ubuntu2.12","0.62.0-2ubuntu2.13"],"ecosystem_specific":{"availability":"No subscription required","binaries":[{"binary_name":"gir1.2-poppler-0.18","binary_version":"0.62.0-2ubuntu2.14"},{"binary_name":"libpoppler-cpp0v5","binary_version":"0.62.0-2ubuntu2.14"},{"binary_name":"libpoppler-glib8","binary_version":"0.62.0-2ubuntu2.14"},{"binary_name":"libpoppler-qt5-1","binary_version":"0.62.0-2ubuntu2.14"},{"binary_name":"libpoppler73","binary_version":"0.62.0-2ubuntu2.14"},{"binary_name":"poppler-utils","binary_version":"0.62.0-2ubuntu2.14"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-38784.json"}},{"package":{"name":"emscripten","ecosystem":"Ubuntu:18.04:LTS","purl":"pkg:deb/ubuntu/emscripten?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/2022/UBUNTU-CVE-2022-38784.json"}},{"package":{"name":"poppler","ecosystem":"Ubuntu:20.04:LTS","purl":"pkg:deb/ubuntu/poppler?arch=source&distro=focal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.86.1-0ubuntu1.1"}]}],"versions":["0.80.0-0ubuntu1","0.80.0-0ubuntu3","0.80.0-0ubuntu4","0.80.0-0ubuntu5","0.85.0-1ubuntu1","0.85.0-1ubuntu3","0.86.1-0ubuntu1"],"ecosystem_specific":{"availability":"No subscription required","binaries":[{"binary_name":"gir1.2-poppler-0.18","binary_version":"0.86.1-0ubuntu1.1"},{"binary_name":"libpoppler-cpp0v5","binary_version":"0.86.1-0ubuntu1.1"},{"binary_version":"0.86.1-0ubuntu1.1","binary_name":"libpoppler-glib8"},{"binary_name":"libpoppler-qt5-1","binary_version":"0.86.1-0ubuntu1.1"},{"binary_name":"libpoppler97","binary_version":"0.86.1-0ubuntu1.1"},{"binary_name":"poppler-utils","binary_version":"0.86.1-0ubuntu1.1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-38784.json"}},{"package":{"name":"emscripten","ecosystem":"Ubuntu:22.04:LTS","purl":"pkg:deb/ubuntu/emscripten?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/2022/UBUNTU-CVE-2022-38784.json"}},{"package":{"name":"poppler","ecosystem":"Ubuntu:22.04:LTS","purl":"pkg:deb/ubuntu/poppler?arch=source&distro=jammy"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"22.02.0-2ubuntu0.1"}]}],"versions":["21.06.1-1","21.11.0-1~ubuntu2","22.02.0-2"],"ecosystem_specific":{"availability":"No subscription required","binaries":[{"binary_name":"gir1.2-poppler-0.18","binary_version":"22.02.0-2ubuntu0.1"},{"binary_name":"libpoppler-cpp0v5","binary_version":"22.02.0-2ubuntu0.1"},{"binary_version":"22.02.0-2ubuntu0.1","binary_name":"libpoppler-glib8"},{"binary_version":"22.02.0-2ubuntu0.1","binary_name":"libpoppler-qt5-1"},{"binary_name":"libpoppler118","binary_version":"22.02.0-2ubuntu0.1"},{"binary_version":"22.02.0-2ubuntu0.1","binary_name":"poppler-utils"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-38784.json"}},{"package":{"name":"emscripten","ecosystem":"Ubuntu:24.04:LTS","purl":"pkg:deb/ubuntu/emscripten?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_name":"emscripten","binary_version":"3.1.6~dfsg-7"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-38784.json"}},{"package":{"name":"emscripten","ecosystem":"Ubuntu:25.10","purl":"pkg:deb/ubuntu/emscripten?arch=source&distro=questing"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["3.1.69+dfsg-1","3.1.69+dfsg-3"],"ecosystem_specific":{"binaries":[{"binary_name":"emscripten","binary_version":"3.1.69+dfsg-3"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-38784.json"}},{"package":{"name":"emscripten","ecosystem":"Ubuntu:26.04:LTS","purl":"pkg:deb/ubuntu/emscripten?arch=source&distro=resolute"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["3.1.69+dfsg-3","3.1.69+dfsg-4"],"ecosystem_specific":{"binaries":[{"binary_name":"emscripten","binary_version":"3.1.69+dfsg-4"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-38784.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H"},{"type":"Ubuntu","score":"medium"}]}