CWE
119
Advisory Published

USN-7217-1: PoDoFo library vulnerabilities

First published: Mon Jan 20 2025(Updated: )

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)

Affected SoftwareAffected VersionHow to fix
All of
ubuntu/libpodofo-utils<0.9.7+dfsg-3ubuntu0.1~esm1
0.9.7+dfsg-3ubuntu0.1~esm1
Ubuntu Ubuntu=22.04
All of
ubuntu/libpodofo0.9.7<0.9.7+dfsg-3ubuntu0.1~esm1
0.9.7+dfsg-3ubuntu0.1~esm1
Ubuntu Ubuntu=22.04
All of
ubuntu/libpodofo-utils<0.9.6+dfsg-5ubuntu0.1~esm1
0.9.6+dfsg-5ubuntu0.1~esm1
Ubuntu Ubuntu=20.04
All of
ubuntu/libpodofo0.9.6<0.9.6+dfsg-5ubuntu0.1~esm1
0.9.6+dfsg-5ubuntu0.1~esm1
Ubuntu Ubuntu=20.04
All of
ubuntu/libpodofo-utils<0.9.5-9ubuntu0.1~esm1
0.9.5-9ubuntu0.1~esm1
Ubuntu Ubuntu=18.04
All of
ubuntu/libpodofo0.9.5<0.9.5-9ubuntu0.1~esm1
0.9.5-9ubuntu0.1~esm1
Ubuntu Ubuntu=18.04
All of
ubuntu/libpodofo-utils<0.9.3-4ubuntu0.1~esm1
0.9.3-4ubuntu0.1~esm1
Ubuntu Ubuntu=16.04
All of
ubuntu/libpodofo0.9.3<0.9.3-4ubuntu0.1~esm1
0.9.3-4ubuntu0.1~esm1
Ubuntu Ubuntu=16.04
All of
ubuntu/libpodofo0.9.0<0.9.0-1.2ubuntu0.1~esm3
0.9.0-1.2ubuntu0.1~esm3
Ubuntu Ubuntu=14.04

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2025 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203