CVE Vulnerabilities

CVE-2018-18020

Uncontrolled Recursion

Published: Oct 06, 2018 | Modified: Nov 21, 2024
CVSS 3.x
3.3
LOW
Source:
NVD
CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L
CVSS 2.x
4.3 MEDIUM
AV:N/AC:M/Au:N/C:N/I:N/A:P
RedHat/V2
RedHat/V3
3.3 LOW
CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L
Ubuntu
LOW
root.io logo minimus.io logo echo.ai logo

In QPDF 8.2.1, in libqpdf/QPDFWriter.cc, QPDFWriter::unparseObject and QPDFWriter::unparseChild have recursive calls for a long time, which allows remote attackers to cause a denial of service via a crafted PDF file.

Weakness

The product does not properly control the amount of recursion that takes place, consuming excessive resources, such as allocated memory or the program stack.

Affected Software

NameVendorStart VersionEnd Version
QpdfQpdf_project8.2.1 (including)8.2.1 (including)
QpdfUbuntubionic*
QpdfUbuntucosmic*
QpdfUbuntudisco*
QpdfUbuntueoan*
QpdfUbuntuesm-infra/bionic*
QpdfUbuntuesm-infra/xenial*
QpdfUbuntugroovy*
QpdfUbuntutrusty*
QpdfUbuntuupstream*
QpdfUbuntuxenial*

Potential Mitigations

References