CVE-2021-25786: An issue was discovered in QPDF version 10.0.4, allows remote attackers to execute arbitrary code via crafted
CVE-2021-25786 is a medium-severity flaw (CVSS 5.3) affecting qpdf. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
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.
Why this priority
- Public exploit reference
No fix is published yet: follow the downgrade or mitigation steps.
Risk facts
| CVSS score | 5.3 (Medium) |
| Attack vector | Local |
| Attack complexity | Low |
| Privileges needed | None |
| User interaction | Required |
| EPSS exploit chance | 0.5% (top 55%) |
| CISA exploited list | No |
| Weakness | CWE-416 |
| Published | 2023-08-11 |
| Last modified | 2026-06-17 |
Last updated 2026-06-17 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Updated Record last modified
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2021-25786?
qpdf: downgrade or apply the listed mitigation. Exact commands for each OS are on this page.
Is CVE-2021-25786 being exploited?
CVE-2021-25786 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2021-25786 affect?
CVE-2021-25786 affects qpdf. Severity is medium (CVSS 5.3). 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.
How urgent is CVE-2021-25786?
Priority 35/100. Public exploit reference
Related CVEs
- CVE-2024-24246 MEDIUM 5.5 DOWNGRADE MITIGATE Heap Buffer Overflow vulnerability in qpdf 11.9.0 allows attackers to crash the application via the std::__sha