vulnerability
Ubuntu: USN-7217-1 (CVE-2017-5886): PoDoFo library vulnerabilities
Severity | CVSS | Published | Added | Modified |
---|---|---|---|---|
7 | (AV:N/AC:M/Au:N/C:P/I:P/A:P) | Mar 1, 2017 | Nov 19, 2024 | Apr 25, 2025 |
Description
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)
Solution(s)
References
- CVE-2017-5886
- https://attackerkb.com/topics/CVE-2017-5886
- UBUNTU-USN-7217-1
- URL-http://www.openwall.com/lists/oss-security/2017/02/05/4
- URL-https://blogs.gentoo.org/ago/2017/02/03/podofo-heap-based-buffer-overflow-in-podofopdftokenizergetnexttoken-pdftokenizer-cpp
- URL-https://github.com/asarubbo/poc/blob/master/00146-podofo-heapoverflow-PdfTokenizer
- URL-https://sourceforge.net/p/podofo/mailman/podofo-users/thread/20170204121312.lq26ge6osbiuwnjo%40mapreri.org/#msg35646469
- URL-https://www.cve.org/CVERecord?id=CVE-2017-5886

Explore Exposure Command
Confidently identify and prioritize exposures from endpoint to cloud with full attack surface visibility and threat-aware risk context.