Integer overflow in Poppler - CVE-2022-38784

 

Integer overflow in Poppler - CVE-2022-38784

Published: September 7, 2022


Vulnerability identifier: #VU67055
CSH Severity: High
CVSS v4: 9.3 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2022-38784
CWE-ID: CWE-190
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote attacker to execute arbitrary code on the target system.

The vulnerability exists due to integer overflow within the JBIG2 decoder in the JBIG2Stream::readTextRegionSeg() function in JBIGStream.cc. A remote attacker can pass a specially crafted PDF file or JBIG2 image to the application, trigger an integer overflow and execute arbitrary code on the target system.

Successful exploitation of this vulnerability may result in complete compromise of vulnerable system.


Affected software

Poppler
Debian Linux
Amazon Linux AMI
Oracle Linux
Gentoo Linux
SUSE Linux Enterprise High Performance Computing 15
SUSE Linux Enterprise Server 15
SUSE Linux Enterprise Server for SAP Applications 15
SUSE Linux Enterprise Server 12
SUSE Linux Enterprise High Performance Computing 12
SUSE Linux Enterprise Real Time 15
SUSE Linux Enterprise High Performance Computing LTSS 15
SUSE Linux Enterprise High Performance Computing ESPOS 15
SUSE Linux Enterprise Server for SAP Applications 12
SUSE Linux Enterprise Desktop 15
SUSE Linux Enterprise Software Development Kit 12
SUSE CaaS Platform
SUSE Manager Retail Branch Server
SUSE Manager Proxy
SUSE Manager Server
SUSE Linux Enterprise Micro
SUSE Enterprise Storage
Anolis OS
Red Hat CodeReady Linux Builder for IBM z Systems
Red Hat CodeReady Linux Builder for x86_64
Red Hat CodeReady Linux Builder for ARM 64
Red Hat Enterprise Linux for x86_64
Red Hat CodeReady Linux Builder for Power, little endian
Red Hat Enterprise Linux for IBM z Systems
Red Hat Enterprise Linux for Power, little endian
Red Hat Enterprise Linux for ARM 64
SUSE OpenStack Cloud Crowbar
SUSE OpenStack Cloud
Oracle Solaris
SUSE Linux Enterprise Server 12 SP2 BCL
SUSE Linux Enterprise Server 12 SP4 LTSS
SUSE Linux Enterprise Server 12 SP4 ESPOS
SUSE Linux Enterprise High Performance Computing 15 SP1 LTSS
SUSE Linux Enterprise Server 15 SP1 LTSS
SUSE Linux Enterprise High Performance Computing 15 SP2 LTSS
SUSE Linux Enterprise Server 15 SP2 LTSS
SUSE Linux Enterprise Server 15 SP3 LTSS
Basesystem Module
SUSE Package Hub 15
openSUSE Leap
Ubuntu
openEuler
Fedora
libpoppler58 (Ubuntu package)
libpoppler-qt4-devel
libpoppler60
libpoppler60-debuginfo
poppler-tools-debuginfo
libpoppler-qt4-4-debuginfo
poppler-debugsource
libpoppler-qt4-4
libpoppler-glib8
libpoppler-glib8-debuginfo
poppler-tools
libpoppler-devel
libpoppler-glib-devel
libpoppler-cpp0
typelib-1_0-Poppler-0_18
libpoppler-cpp0-debuginfo
poppler-utils (Ubuntu package)
libpoppler73 (Ubuntu package)
libpoppler73-32bit
libpoppler73-32bit-debuginfo
libpoppler73
libpoppler73-debuginfo
poppler
poppler-cpp-devel
poppler-debuginfo
poppler-qt5
poppler-qt-devel
poppler-qt5-devel
poppler-glib
poppler-qt
poppler-glib-devel
poppler-devel
poppler-cpp
poppler-glib-doc
poppler-help
libpoppler89-debuginfo
libpoppler89-32bit
libpoppler89
libpoppler89-32bit-debuginfo
libpoppler97 (Ubuntu package)
poppler (Debian package)
poppler (Red Hat package)
poppler-doc
poppler-utils
mingw-poppler
libpoppler117
libpoppler-qt6-devel
libpoppler-qt6-3-debuginfo
libpoppler-qt5-1-debuginfo
libpoppler-cpp0-32bit-debuginfo
libpoppler117-debuginfo
poppler-qt5-debugsource
libpoppler-qt5-devel
poppler-qt6-debugsource
libpoppler-glib8-32bit
libpoppler-cpp0-32bit
libpoppler-qt5-1-32bit-debuginfo
libpoppler-qt5-1-32bit
libpoppler-glib8-32bit-debuginfo
libpoppler117-32bit-debuginfo
libpoppler117-32bit
libpoppler-qt5-1
libpoppler-qt6-3
libpoppler118 (Ubuntu package)
app-text/poppler

How to mitigate CVE-2022-38784

Install updates from vendor's website.

Poppler - update to 22.08.0
libpoppler58 (Ubuntu package) - update to 0.41.0-0ubuntu1.16
libpoppler-qt4-devel - update to 0.43.0-16.22.1
libpoppler60 - update to 0.43.0-16.22.1
libpoppler60-debuginfo - update to 0.43.0-16.22.1
poppler-tools-debuginfo - addressed in versions 0.43.0-16.22.1, 0.62.0-150000.4.9.1, 0.79.0-150200.3.8.1, 22.01.0-150400.3.3.1
libpoppler-qt4-4-debuginfo - update to 0.43.0-16.22.1
poppler-debugsource - addressed in versions 0.43.0-16.22.1, 0.62.0-150000.4.9.1, 0.79.0-150200.3.8.1, 22.01.0-150400.3.3.1
libpoppler-qt4-4 - update to 0.43.0-16.22.1
libpoppler-glib8 - addressed in versions 0.43.0-16.22.1, 0.62.0-150000.4.9.1, 0.79.0-150200.3.8.1, 22.01.0-150400.3.3.1
libpoppler-glib8-debuginfo - addressed in versions 0.43.0-16.22.1, 0.62.0-150000.4.9.1, 0.79.0-150200.3.8.1, 22.01.0-150400.3.3.1
poppler-tools - addressed in versions 0.43.0-16.22.1, 0.62.0-150000.4.9.1, 0.79.0-150200.3.8.1, 22.01.0-150400.3.3.1
libpoppler-devel - addressed in versions 0.43.0-16.22.1, 0.62.0-150000.4.9.1, 0.79.0-150200.3.8.1, 22.01.0-150400.3.3.1
libpoppler-glib-devel - addressed in versions 0.43.0-16.22.1, 0.62.0-150000.4.9.1, 0.79.0-150200.3.8.1, 22.01.0-150400.3.3.1
libpoppler-cpp0 - addressed in versions 0.43.0-16.22.1, 0.62.0-150000.4.9.1, 0.79.0-150200.3.8.1, 22.01.0-150400.3.3.1
typelib-1_0-Poppler-0_18 - addressed in versions 0.43.0-16.22.1, 0.62.0-150000.4.9.1, 0.79.0-150200.3.8.1, 22.01.0-150400.3.3.1
libpoppler-cpp0-debuginfo - addressed in versions 0.43.0-16.22.1, 0.62.0-150000.4.9.1, 0.79.0-150200.3.8.1, 22.01.0-150400.3.3.1
poppler-utils (Ubuntu package) - addressed in versions 0.62.0-2ubuntu2.13, 0.86.1-0ubuntu1.1, 22.02.0-2ubuntu0.1
libpoppler73 (Ubuntu package) - update to 0.62.0-2ubuntu2.13
libpoppler73-32bit - update to 0.62.0-150000.4.9.1
libpoppler73-32bit-debuginfo - update to 0.62.0-150000.4.9.1
libpoppler73 - update to 0.62.0-150000.4.9.1
libpoppler73-debuginfo - update to 0.62.0-150000.4.9.1
poppler - update to 0.67.0-8
poppler-cpp-devel - update to 0.67.0-8
poppler-debuginfo - update to 0.67.0-8
poppler-qt5 - update to 0.67.0-8
poppler-qt-devel - update to 0.67.0-8
poppler-qt5-devel - update to 0.67.0-8
poppler-debugsource - update to 0.67.0-8
poppler-glib - update to 0.67.0-8
poppler-qt - update to 0.67.0-8
poppler-glib-devel - update to 0.67.0-8
poppler-devel - update to 0.67.0-8
poppler-cpp - update to 0.67.0-8
poppler-glib-doc - update to 0.67.0-8
poppler-help - update to 0.67.0-8
libpoppler89-debuginfo - update to 0.79.0-150200.3.8.1
libpoppler89-32bit - update to 0.79.0-150200.3.8.1
libpoppler89 - update to 0.79.0-150200.3.8.1
libpoppler89-32bit-debuginfo - update to 0.79.0-150200.3.8.1
libpoppler97 (Ubuntu package) - update to 0.86.1-0ubuntu1.1
poppler (Debian package) - update to 20.09.0-3.1+deb11u1
poppler (Red Hat package) - addressed in versions 20.11.0-6.el8, 21.01.0-14.el9
poppler-glib-doc - update to 20.11.0-6.0.1
poppler-doc - update to 20.11.0-6.0.1
poppler-utils - update to 20.11.0-6.0.1
poppler-qt5-devel - update to 20.11.0-6.0.1
poppler-qt5 - update to 20.11.0-6.0.1
poppler-glib-devel - update to 20.11.0-6.0.1
poppler-glib - update to 20.11.0-6.0.1
poppler-devel - update to 20.11.0-6.0.1
poppler-cpp-devel - update to 20.11.0-6.0.1
poppler-cpp - update to 20.11.0-6.0.1
poppler - update to 20.11.0-6.0.1
mingw-poppler - addressed in versions 21.08.0-2.fc35, 22.01.0-7.fc36
poppler - addressed in versions 21.08.0-3.fc35, 22.01.0-6.fc36, 22.08.0-2.fc37
libpoppler117 - update to 22.01.0-150400.3.3.1
libpoppler-qt6-devel - update to 22.01.0-150400.3.3.1
libpoppler-qt6-3-debuginfo - update to 22.01.0-150400.3.3.1
libpoppler-qt5-1-debuginfo - update to 22.01.0-150400.3.3.1
libpoppler-cpp0-32bit-debuginfo - update to 22.01.0-150400.3.3.1
libpoppler117-debuginfo - update to 22.01.0-150400.3.3.1
poppler-qt5-debugsource - update to 22.01.0-150400.3.3.1
libpoppler-qt5-devel - update to 22.01.0-150400.3.3.1
poppler-qt6-debugsource - update to 22.01.0-150400.3.3.1
libpoppler-glib8-32bit - update to 22.01.0-150400.3.3.1
libpoppler-cpp0-32bit - update to 22.01.0-150400.3.3.1
libpoppler-qt5-1-32bit-debuginfo - update to 22.01.0-150400.3.3.1
libpoppler-qt5-1-32bit - update to 22.01.0-150400.3.3.1
libpoppler-glib8-32bit-debuginfo - update to 22.01.0-150400.3.3.1
libpoppler117-32bit-debuginfo - update to 22.01.0-150400.3.3.1
libpoppler117-32bit - update to 22.01.0-150400.3.3.1
libpoppler-qt5-1 - update to 22.01.0-150400.3.3.1
libpoppler-qt6-3 - update to 22.01.0-150400.3.3.1
libpoppler118 (Ubuntu package) - update to 22.02.0-2ubuntu0.1
poppler - update to 22.08.0-3
app-text/poppler - update to 22.09.0

External References

Related Security Bulletins