# CVE-2021-25786

- Priority: **Routine**
- Reason: Not severe (CVSS 5.3, local access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2023-08-11 · Modified: 2024-10-09
- Aliases: UBUNTU-CVE-2021-25786, DEBIAN-CVE-2021-25786
- Record: https://cvemate.com/vulnerability/CVE-2021-25786 · JSON: https://cvemate.com/vulnerability/CVE-2021-25786/json

## Description

```text
An issue was discovered in QPDF version 10.0.4, allows remote attackers to execute arbitrary code via crafted .pdf file to Pl_ASCII85Decoder::write parameter in libqpdf.
```

## Signals

- CVSS: 5.3 medium (v3.1, NVD) CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:L
- EPSS: 0.537%, percentile 46.752%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 1 (github)

## Affected

- debian qpdf (Debian): \< 10.1.0-1
- ubuntu qpdf (Ubuntu): \< 8.0.2-3~16.04.1+esm1 \| \< 8.0.2-3ubuntu0.1 \| \< 9.1.1-1ubuntu0.1
- qpdf\_project qpdf: 10.0.4

## References

- <https://github.com/qpdf/qpdf/issues/492>
- <https://lists.debian.org/debian-lts-announce/2023/08/msg00037.html>
- <https://ubuntu.com/security/CVE-2021-25786>
- <https://ubuntu.com/security/notices/USN-5026-1>
- <https://ubuntu.com/security/notices/USN-5026-2>
- <https://www.cve.org/CVERecord?id=CVE-2021-25786>
- <https://security-tracker.debian.org/tracker/CVE-2021-25786>

---

Data as of 2026-12-05T07:51:01.575Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
