CVE-2018-8002
In PoDoFo 0.9.5, there exists an infinite loop vulnerability in PdfParserObject:...
In PoDoFo 0.9.5, there exists an infinite loop vulnerability in PdfParserObject::ParseFileComplete() in PdfParserObject.cpp which may result in stack overflow. Remote attackers could leverage this vulnerability to cause a denial-of-service or possibly unspecified other impact via a crafted pdf file.
Attack profile
How easy it is to exploit
- Attack vector
- Network
- Complexity
- Low
- Privileges needed
- None
- User interaction
- Required
What an attacker can affect
- Confidentiality
- High
- Integrity
- High
- Availability
- High
Exploit likelihood
What each source reports
NVD Score used
8.8
In PoDoFo 0.9.5, there exists an infinite loop vulnerability in PdfParserObject::ParseFileComplete() in PdfParserObject.cpp which may result in stack overflow. Remote attackers could leverage this vulnerability to cause a denial-of-service or possibly unspecified other impact via a crafted pdf file.
- Record
CVE-2018-8002- CVSS 3.0
- 8.8 High
CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H - CVSS 2.0
- 6.8 Medium
AV:N/AC:M/Au:N/C:P/I:P/A:P - Weakness
- CWE-835
- Updated
- 2026-11-02
CVE List No score
In PoDoFo 0.9.5, there exists an infinite loop vulnerability in PdfParserObject::ParseFileComplete() in PdfParserObject.cpp which may result in stack overflow. Remote attackers could leverage this vulnerability to cause a denial-of-service or possibly unspecified other impact via a crafted pdf file.
- Record
CVE-2018-8002- Updated
- 2026-11-02
EUVDEUVD-2018-19714 No score
In PoDoFo 0.9.5, there exists an infinite loop vulnerability in PdfParserObject::ParseFileComplete() in PdfParserObject.cpp which may result in stack overflow. Remote attackers could leverage this vulnerability to cause a denial-of-service or possibly unspecified other impact via a crafted pdf file.
- Record
EUVD-2018-19714- Updated
- 2026-11-03
GitHub AdvisoriesGHSA-7p4w-p3xm-vgfq
8.8
In PoDoFo 0.9.5, there exists an infinite loop vulnerability in PdfParserObject:...
In PoDoFo 0.9.5, there exists an infinite loop vulnerability in PdfParserObject::ParseFileComplete() in PdfParserObject.cpp which may result in stack overflow. Remote attackers could leverage this vulnerability to cause a denial-of-service or possibly unspecified other impact via a crafted pdf file.
- Record
GHSA-7p4w-p3xm-vgfq- CVSS 3.0
- 8.8 High
CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H - Weakness
- CWE-835
- Updated
- 2026-11-02
OSVALPINE-CVE-2018-8002
8.8
In PoDoFo 0.9.5, there exists an infinite loop vulnerability in PdfParserObject::ParseFileComplete() in PdfParserObject.cpp which may result in stack overflow. Remote attackers could leverage this vulnerability to cause a denial-of-service or possibly unspecified other impact via a crafted pdf file.
- Record
ALPINE-CVE-2018-8002- CVSS 3.0
- 8.8 High
CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H - Updated
- 2026-11-03
OSV
8.8
In PoDoFo 0.9.5, there exists an infinite loop vulnerability in PdfParserObject::ParseFileComplete() in PdfParserObject.cpp which may result in stack overflow. Remote attackers could leverage this vulnerability to cause a denial-of-service or possibly unspecified other impact via a crafted pdf file.
- Record
CVE-2018-8002- CVSS 3.0
- 8.8 High
CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
Show 4 moreShow less
OSVDEBIAN-CVE-2018-8002
8.8
In PoDoFo 0.9.5, there exists an infinite loop vulnerability in PdfParserObject::ParseFileComplete() in PdfParserObject.cpp which may result in stack overflow. Remote attackers could leverage this vulnerability to cause a denial-of-service or possibly unspecified other impact via a crafted pdf file.
- Record
DEBIAN-CVE-2018-8002- CVSS 3.0
- 8.8 High
CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
OSVUBUNTU-CVE-2018-8002
8.8
In PoDoFo 0.9.5, there exists an infinite loop vulnerability in PdfParserObject::ParseFileComplete() in PdfParserObject.cpp which may result in stack overflow. Remote attackers could leverage this vulnerability to cause a denial-of-service or possibly unspecified other impact via a crafted pdf file.
- Record
UBUNTU-CVE-2018-8002- CVSS 3.0
- 8.8 High
CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
OSVSUSE-SU-2026:4311-1 No score
Security update for podofo
This update for podofo fixes the following issues:
- CVE-2018-8002: infinite loop vulnerability in ParseFileComplete() (bsc#1084891).
- CVE-2020-18971: stack-based buffer overflow in src/base/PdfDictionary.cpp (bsc#1190178).
- CVE-2021-30470: uncontrolled recursive call of funtions in src/base/PdfTokenizer.cpp can lead to a stack overflow (bsc#1186588).
- CVE-2021-30471: uncontrolled recursive call in PdfNamesTree:AddToDictionary function in src/podofo/doc/PdfNamesTree.cpp (bsc#1184645).
- Record
SUSE-SU-2026:4311-1- Updated
- 2026-11-02
OSVUSN-7217-1 No score
libpodofo vulnerabilities
It was discovered that the PoDoFo library could dereference a NULL pointer when getting the number of pages in a PDF. If a user or application were tricked into opening a crafted PDF file, an attacker could possibly use this issue to cause a denial of service. This issue only affected Ubuntu 14.04 LTS, Ubuntu 16.04 LTS, Ubuntu 18.04 LTS and Ubuntu 20.04 LTS. (CVE-2018-11255)
It was discovered that PoDoFo library incorrectly handled memory when computing an encryption key, which could lead to a buffer overflow. If a user or application were tricked into opening a crafted PDF file, an attacker could possibly use this issue to cause a denial of service. (CVE-2018-12983)
It was discovered that the PoDoFo library incorrectly handled memory allocation. If a user or application were tricked into opening a crafted PDF file, an attacker could possibly use this issue to cause a denial of service. This issue only affected Ubuntu 18.04 LTS, Ubuntu 20.04 LTS and Ubuntu 22.04 LTS. (CVE-2018-20797)
It was discovered that the PoDoFo library did not properly validate memcpy arguments. If a user or application were tricked into opening a crafted PDF file, an attacker could possibly use this issue to cause a denial of service or execute arbitrary code. This issue only affected Ubuntu 14.04 LTS and Ubuntu 16.04 LTS. (CVE-2018-5308)
It was discovered that the PoDoFo library incorrectly handled memory in the GetNextToken function, which could lead to a buffer overflow. If a user or application were tricked into opening a crafted PDF file, an attacker could possibly use this issue to cause a denial of service. This issue only affected Ubuntu 16.04 LTS. (CVE-2017-5886)
It was discovered that the PoDoFo library could enter an infinite loop, which could lead to a stack overflow. If a user or application were tricked into opening a crafted PDF file, an attacker could possibly use this issue to cause a denial of service or execute arbitrary code. This issue only affected Ubuntu 20.04 LTS and Ubuntu 22.04 LTS. (CVE-2018-8002, CVE-2020-18971, CVE-2021-30471, CVE-2021-30470)
It was discovered that the PoDoFo library incorrectly handled memory allocation due to nInitialSize not being validated. If a user or application were tricked into opening a crafted PDF file, an attacker could possibly use this issue to cause a denial of service. This issue only affected Ubuntu 14.04 LTS, Ubuntu 16.04 LTS, Ubuntu 18.04 LTS and Ubuntu 20.04 LTS. (CVE-2019-10723)
- Record
USN-7217-1- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
podofoAlpine:v3.13 |
before 0.9.6-r0 | 0.9.6-r0 |
podofoAlpine:v3.14 |
before 0.9.6-r0 | 0.9.6-r0 |
podofoAlpine:v3.15 |
before 0.9.6-r0 | 0.9.6-r0 |
podofoAlpine:v3.16 |
before 0.9.6-r0 | 0.9.6-r0 |
podofoAlpine:v3.17 |
before 0.9.6-r0 | 0.9.6-r0 |
podofoAlpine:v3.18 |
before 0.9.6-r0 | 0.9.6-r0 |
podofoAlpine:v3.19 |
before 0.9.6-r0 | 0.9.6-r0 |
podofoAlpine:v3.20 |
before 0.9.6-r0 | 0.9.6-r0 |
podofoAlpine:v3.21 |
before 0.9.6-r0 | 0.9.6-r0 |
podofoAlpine:v3.22 |
before 0.9.6-r0 | 0.9.6-r0 |
Show 11 moreShow less
| Package | Affected | Fixed |
|---|---|---|
podofoAlpine:v3.23 |
before 0.9.6-r0 | 0.9.6-r0 |
podofoAlpine:v3.24 |
before 0.9.6-r0 | 0.9.6-r0 |
libpodofoDebian:12 |
before 0.9.8+dfsg-1 | 0.9.8+dfsg-1 |
libpodofoDebian:13 |
before 0.9.8+dfsg-1 | 0.9.8+dfsg-1 |
libpodofoDebian:14 |
before 0.9.8+dfsg-1 | 0.9.8+dfsg-1 |
podofoSUSE:Linux Enterprise Module for Package Hub 15 SP7 |
before 0.9.6-150300.3.18.1 | 0.9.6-150300.3.18.1 |
libpodofoUbuntu:Pro:16.04:LTS |
before 0.9.3-4ubuntu0.1~esm1, plus listed versions 0.9.0-1.30.9.3-30.9.3-4 |
0.9.3-4ubuntu0.1~esm1 |
libpodofoUbuntu:Pro:18.04:LTS |
before 0.9.5-9ubuntu0.1~esm1, plus listed versions 0.9.5-60.9.5-80.9.5-8build10.9.5-9 |
0.9.5-9ubuntu0.1~esm1 |
libpodofoUbuntu:Pro:20.04:LTS |
before 0.9.6+dfsg-5ubuntu0.1~esm1, plus listed versions 0.9.6+dfsg-50.9.6+dfsg-5build1 |
0.9.6+dfsg-5ubuntu0.1~esm1 |
libpodofoUbuntu:Pro:22.04:LTS |
before 0.9.7+dfsg-3ubuntu0.1~esm1, plus listed versions 0.9.7+dfsg-20.9.7+dfsg-2build10.9.7+dfsg-2build20.9.7+dfsg-3 |
0.9.7+dfsg-3ubuntu0.1~esm1 |
libpodofoUbuntu:Pro:14.04:LTS |
before 0.9.0-1.2ubuntu0.1~esm3, plus listed versions 0.9.0-1.1ubuntu10.9.0-1.20.9.0-1.2ubuntu0.1~esm1 |
0.9.0-1.2ubuntu0.1~esm3 |
Public exploits
Links only. Every CVE stores no exploit code.
| Source | Link | Date |
|---|---|---|
| Exploit-DB | PoDoFo 0.9.5 - Buffer Overflow (PoC) | 2018-06-26 |
History
| Recorded | Changed | Sources |
|---|---|---|
| affected, aliases, references | OSV | |
| aliases | EUVD | |
| first indexed | CVE List, Exploit-DB, GitHub Advisories, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2018-8002 is a high vulnerability (CVSS 8.8) in Podofo Project Podofo, published March 9, 2018. Public exploit code exists. EPSS puts the chance of exploitation in the next 30 days at 8.01%, the 94th percentile. Fixed in podofo 0.9.6-r0.
References
bugzilla.redhat.com/show_bug.cgi?id=1548930
exploit-db.com/exploits/44946
nvd.nist.gov/vuln/detail/CVE-2018-8002
github.com/advisories/GHSA-7p4w-p3xm-vgfq
security.alpinelinux.org/vuln/CVE-2018-8002
security-tracker.debian.org/tracker/CVE-2018-8002
Show 21 moreShow less
suse.com/support/update/announcement/2026/suse-su-20264311-1
bugzilla.suse.com/1084891
bugzilla.suse.com/1184645
bugzilla.suse.com/1186588
bugzilla.suse.com/1190178
suse.com/security/cve/CVE-2018-8002
suse.com/security/cve/CVE-2020-18971
suse.com/security/cve/CVE-2021-30470
suse.com/security/cve/CVE-2021-30471
ubuntu.com/security/CVE-2018-8002
cve.org/CVERecord?id=CVE-2018-8002
ubuntu.com/security/notices/USN-7217-1
ubuntu.com/security/CVE-2017-5886
ubuntu.com/security/CVE-2018-5308
ubuntu.com/security/CVE-2018-11255
ubuntu.com/security/CVE-2018-12983
ubuntu.com/security/CVE-2018-20797
ubuntu.com/security/CVE-2019-10723
ubuntu.com/security/CVE-2020-18971
ubuntu.com/security/CVE-2021-30470
ubuntu.com/security/CVE-2021-30471