CVE-2018-20797 json
An issue was discovered in PoDoFo 0.9.6.
published 2019-02-27 7 y ago modified 2026-06-17 4 mo ago also EUVD-2018-13340
- cvss
- 6.5
- version 3.0, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 1.4%
- EPSS 1.4% chance of exploitation in 30 days, percentile 71%
- public exploits
- 0
- none known
Summary
An issue was discovered in PoDoFo 0.9.6. There is an attempted excessive memory allocation in PoDoFo::podofo_calloc in base/PdfMemoryManagement.cpp when called from PoDoFo::PdfPredictorDecoder::PdfPredictorDecoder in base/PdfFiltersPrivate.cpp.
Patch / fix
- libpodofo Ubuntu Pro 16.04 LTS 0.9.3-4ubuntu0.1~esm1
- libpodofo Ubuntu Pro 18.04 LTS 0.9.5-9ubuntu0.1~esm1
- libpodofo Ubuntu Pro 20.04 LTS 0.9.6+dfsg-5ubuntu0.1~esm1
- libpodofo Ubuntu Pro 22.04 LTS 0.9.7+dfsg-3ubuntu0.1~esm1
ubuntu advisories UBUNTU-CVE-2018-20797
Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- podofo SLE Module for Package Hub 15 SP6, SLE Module for Package Hub 15 SP5, openSUSE Leap 15.6 +1 more 0.9.6-150300.3.9.1
suse advisories SUSE-SU-2024:2137-1
- podofo-0_10 openSUSE Tumbleweed 0.10.5-1.1
- podofo openSUSE Tumbleweed 0.9.8-1.1
opensuse advisories openSUSE-SU-2025:15521-1openSUSE-SU-2024:12049-1
- podofo Alpine 3.24, Alpine 3.23, Alpine 3.22 +9 more 0.9.7-r0
alpine advisories ALPINE-CVE-2018-20797
Alpine secdb © Alpine Linux, from https://secdb.alpinelinux.org via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2018-20797 updated cvss 3.3
podofo: excessive memory allocation in PoDoFo::podofo_calloc in base/PdfMemoryManagement.cpp
-
Red Hat All currently supported Red Hat productsnot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Exploit prediction
1.35% chance of exploitation in the next 30 days, higher than 71% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- sourceforge.net https://sourceforge.net/p/podofo/tickets/34/ referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.0 | 6.5 | CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H |
| NVD | 2.0 | 4.3 | AV:N/AC:M/Au:N/C:N/I:N/A:P |
Classification
- Weakness
-
- CWE-119 Improper Restriction of Operations within the Bounds of a Memory Buffer
References
-
sourceforge.net
/p/podofo/tickets/34/
exploit, third-party-advisory
Sources
- CVE List CVE-2018-20797
- NVD CVE-2018-20797
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.