Every CVE Search/ Get API key

CVE-2017-18186

An issue was discovered in QPDF before 7.0.0. There is an infinite loop due to looping xref...

5.5 MediumFix available

An issue was discovered in QPDF before 7.0.0. There is an infinite loop due to looping xref tables in QPDF.cc.

Attack profile

How easy it is to exploit

Attack vector
Local
Complexity
Low
Privileges needed
None
User interaction
Required

What an attacker can affect

Confidentiality
None
Integrity
None
Availability
High

Exploit likelihood

1.12%Up 0.3 points since Apr 14, 2021
90%50%10%1%

What each source reports

NVD Score used 5.5

An issue was discovered in QPDF before 7.0.0. There is an infinite loop due to looping xref tables in QPDF.cc.

Record
CVE-2017-18186
CVSS 3.0
5.5 MediumCVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
CVSS 2.0
4.3 MediumAV:N/AC:M/Au:N/C:N/I:N/A:P
Weakness
CWE-835
Updated
2026-11-02
CVE List No score

An issue was discovered in QPDF before 7.0.0. There is an infinite loop due to looping xref tables in QPDF.cc.

Record
CVE-2017-18186
Updated
2026-11-02
EUVDEUVD-2017-9321 No score

An issue was discovered in QPDF before 7.0.0. There is an infinite loop due to looping xref tables in QPDF.cc.

Record
EUVD-2017-9321
Updated
2026-11-03
GitHub AdvisoriesGHSA-v5gm-hmrc-rgfq 5.5

An issue was discovered in QPDF before 7.0.0. There is an infinite loop due to looping xref...

An issue was discovered in QPDF before 7.0.0. There is an infinite loop due to looping xref tables in QPDF.cc.

Record
GHSA-v5gm-hmrc-rgfq
CVSS 3.0
5.5 MediumCVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
Weakness
CWE-835
Updated
2026-11-02
OSV 5.5

An issue was discovered in QPDF before 7.0.0. There is an infinite loop due to looping xref tables in QPDF.cc.

Record
CVE-2017-18186
CVSS 3.0
5.5 MediumCVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
Updated
2026-11-02
OSVDEBIAN-CVE-2017-18186 5.5

An issue was discovered in QPDF before 7.0.0. There is an infinite loop due to looping xref tables in QPDF.cc.

Record
DEBIAN-CVE-2017-18186
CVSS 3.0
5.5 MediumCVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
Updated
2026-11-02
OSVUBUNTU-CVE-2017-18186 5.5

An issue was discovered in QPDF before 7.0.0. There is an infinite loop due to looping xref tables in QPDF.cc.

Record
UBUNTU-CVE-2017-18186
CVSS 3.0
5.5 MediumCVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
Updated
2026-11-02
OSVUSN-3638-1 No score

qpdf vulnerabilities

It was discovered that QPDF incorrectly handled certain malformed files. A remote attacker could use this issue to cause QPDF to crash, resulting in a denial of service, or possibly execute arbitrary code.

Record
USN-3638-1
Updated
2026-11-02

Affected products

Affected packages

Affected packages
PackageAffectedFixed
qpdf
Debian:12
before 7.0.0-1
7.0.0-1
qpdf
Debian:13
before 7.0.0-1
7.0.0-1
qpdf
Debian:14
before 7.0.0-1
7.0.0-1
qpdf
Ubuntu:14.04:LTS
before 8.0.2-3~14.04.1, plus listed versions
4.2.0-25.0.1-15.0.1-1ubuntu15.1.0-15.1.1-1
8.0.2-3~14.04.1
qpdf
Ubuntu:16.04:LTS
before 8.0.2-3~16.04.1, plus listed versions
5.1.3-25.1.3-35.2.0-15.2.0-26.0.0-2
8.0.2-3~16.04.1

History

History
RecordedChangedSources
aliasesEUVD
first indexedCVE List, GitHub Advisories, NVD, OSV

Dates are when Every CVE recorded each change. Upstream dates may differ.

In short

CVE-2017-18186 is a medium vulnerability (CVSS 5.5) in Qpdf Project Qpdf, published February 13, 2018. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 1.12%, the 66th percentile. Fixed in qpdf 7.0.0-1.

References

Show 16 moreShow less
MoveEnter Open