Memory leak in Poppler - CVE-2018-18897

 

Memory leak in Poppler - CVE-2018-18897

Published: November 3, 2018 / Updated: February 1, 2023


Vulnerability identifier: #VU15711
CSH Severity: Low
CVSS v4: 6.7 [CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:A/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2018-18897
CWE-ID: CWE-401
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote attacker to perform a denial of service (DoS) attack.

The vulnerability exists due to memory leak within GfxColorSpace::setDisplayProfile in GfxState.cc, as demonstrated by pdftocairo. A remote attacker can execute the pdftocairo command with a PDF file that submits malicious input, trigger memory leak and cause the service to crash.


Affected software

Poppler
Amazon Linux AMI
SUSE Linux Enterprise Software Development Kit 12
SUSE Linux Enterprise Server for SAP Applications 12
SUSE Linux Enterprise High Performance Computing 12
SUSE Linux Enterprise Server 12
SUSE CaaS Platform
SUSE Enterprise Storage
Red Hat Enterprise Linux Workstation
Red Hat Enterprise Linux Server
Red Hat Enterprise Linux for Scientific Computing
Red Hat Enterprise Linux for IBM z Systems
Red Hat Enterprise Linux Desktop
Red Hat Enterprise Linux for x86_64
Debian Linux
SUSE Linux Enterprise Server
SUSE Linux Enterprise High Performance Computing
SUSE Linux Enterprise Server for SAP
SUSE Linux Enterprise Workstation Extension
Ubuntu
Fedora
poppler-utils (Ubuntu package)
libpoppler58 (Ubuntu package)
libpoppler73 (Ubuntu package)
libpoppler79 (Ubuntu package)
poppler (Debian package)
libpoppler85 (Ubuntu package)
libpoppler44
libpoppler44-debuginfo
typelib-1_0-Poppler-0_18
libpoppler-qt4-devel
libpoppler-qt4-4-debuginfo
libpoppler60-debuginfo
libpoppler-qt4-4
poppler-tools-debuginfo
libpoppler60
libpoppler-glib8-debuginfo
libpoppler-glib8
poppler-tools
libpoppler-cpp0-debuginfo
libpoppler-cpp0
poppler-debugsource
libpoppler-devel
libpoppler-glib-devel
mingw-poppler
libpoppler73-debuginfo
libpoppler73
poppler

How to mitigate CVE-2018-18897

Install update from vendor's website.

poppler-utils (Ubuntu package) - addressed in versions 0.41.0-0ubuntu1.14, 0.62.0-2ubuntu2.9, 0.68.0-0ubuntu1.7, 0.74.0-0ubuntu1.2
libpoppler58 (Ubuntu package) - update to 0.41.0-0ubuntu1.14
libpoppler73 (Ubuntu package) - update to 0.62.0-2ubuntu2.9
libpoppler79 (Ubuntu package) - update to 0.68.0-0ubuntu1.7
poppler (Debian package) - update to 0.71.0-5+deb10u1
libpoppler85 (Ubuntu package) - update to 0.74.0-0ubuntu1.2
libpoppler44 - update to 0.24.4-14.26.1
libpoppler44-debuginfo - update to 0.24.4-14.26.1
typelib-1_0-Poppler-0_18 - addressed in versions 0.43.0-16.25.1, 0.62.0-4.6.1
libpoppler-qt4-devel - update to 0.43.0-16.25.1
libpoppler-qt4-4-debuginfo - update to 0.43.0-16.25.1
libpoppler60-debuginfo - update to 0.43.0-16.25.1
libpoppler-qt4-4 - update to 0.43.0-16.25.1
poppler-tools-debuginfo - addressed in versions 0.43.0-16.25.1, 0.62.0-4.6.1
libpoppler60 - update to 0.43.0-16.25.1
libpoppler-glib8-debuginfo - addressed in versions 0.43.0-16.25.1, 0.62.0-4.6.1
libpoppler-glib8 - addressed in versions 0.43.0-16.25.1, 0.62.0-4.6.1
poppler-tools - addressed in versions 0.43.0-16.25.1, 0.62.0-4.6.1
libpoppler-cpp0-debuginfo - addressed in versions 0.43.0-16.25.1, 0.62.0-4.6.1
libpoppler-cpp0 - addressed in versions 0.43.0-16.25.1, 0.62.0-4.6.1
poppler-debugsource - addressed in versions 0.43.0-16.25.1, 0.62.0-4.6.1
libpoppler-devel - addressed in versions 0.43.0-16.25.1, 0.62.0-4.6.1
libpoppler-glib-devel - addressed in versions 0.43.0-16.25.1, 0.62.0-4.6.1
mingw-poppler - addressed in versions 0.62.0-2.fc28, 0.67.0-2.fc29
libpoppler73-debuginfo - update to 0.62.0-4.6.1
libpoppler73 - update to 0.62.0-4.6.1
poppler - addressed in versions 0.62.0-14.fc28, 0.67.0-10.fc29

External References

Related Security Bulletins