# CVE-2018-5308: libpodofo0.9.6: PoDoFo 0.9.5 does not properly validate memcpy arguments in the PdfMemoryOutputStream::Write function (base/PdfOutput...

CVE-2018-5308 is fixed in 3 products on 1 platform, first by libpodofo-utils 0.9.6+dfsg-5ubuntu0.1~esm1, released August 25, 2021. It is not reported as exploited. Patch Radar priority: Routine.

- Web page: https://patchblox.com/security/cve/CVE-2018-5308
- Priority: Routine
- CVSS: n/a (Medium)
- EPSS: 0.0130
- CISA KEV: not listed
- Exploited (vendor report): no
- Publicly disclosed: no
- Published: Jan 8, 2018

## Description

PoDoFo 0.9.5 does not properly validate memcpy arguments in the PdfMemoryOutputStream::Write function (base/PdfOutputStream.cpp). Remote attackers could leverage this vulnerability to cause a denial-of-service or possibly unspecified other impact via a crafted pdf file.

## Where it's fixed

| Platform | Product | Fixed in | Fix | Released |
|---|---|---|---|---|
| Linux | libpodofo-utils Ubuntu 20.04 LTS (focal) | 0.9.6+dfsg-5ubuntu0.1~esm1 | [libpodofo-utils 0.9.6+dfsg-5ubuntu0.1~esm1](https://patchblox.com/security/data/fix/linux/ubuntu-focal-libpodofo-utils-0.9.6-dfsg-5ubuntu0.1-esm1.md) | Aug 25, 2021 |
| Linux | libpodofo-utils Ubuntu 22.04.1 LTS (jammy) | 0.9.7+dfsg-3ubuntu0.1~esm1 | [libpodofo-utils 0.9.7+dfsg-3ubuntu0.1~esm1](https://patchblox.com/security/data/fix/linux/ubuntu-jammy-libpodofo-utils-0.9.7-dfsg-3ubuntu0.1-esm1.md) | Aug 25, 2021 |
| Linux | libpodofo0.9.6 Ubuntu 20.04 LTS (focal) | 0.9.6+dfsg-5ubuntu0.1~esm1 | [libpodofo0.9.6 0.9.6+dfsg-5ubuntu0.1~esm1](https://patchblox.com/security/data/fix/linux/ubuntu-focal-libpodofo0.9.6-0.9.6-dfsg-5ubuntu0.1-esm1.md) | Aug 25, 2021 |
| Linux | libpodofo0.9.7 Ubuntu 22.04.1 LTS (jammy) | 0.9.7+dfsg-3ubuntu0.1~esm1 | [libpodofo0.9.7 0.9.7+dfsg-3ubuntu0.1~esm1](https://patchblox.com/security/data/fix/linux/ubuntu-jammy-libpodofo0.9.7-0.9.7-dfsg-3ubuntu0.1-esm1.md) | Aug 25, 2021 |

---

Data as of 2026-11-07T12:40:37Z UTC. Source: Patchblox Patch Radar (https://patchblox.com/security/patch-radar). Patchblox finds out-of-date software on Windows, macOS and Linux and updates it through release rings: https://patchblox.com/demo
