CVE-2021-25786: qpdf_project qpdf Use After Free
Vulnerability summary
CVE-2021-25786 is a medium (CVSS 5.3) Use After Free vulnerability in qpdf_project qpdf. EPSS estimates a 0.54% chance of exploitation in the next 30 days, higher than 46.7% of scored vulnerabilities. 1 public exploit is recorded.
Not severe (CVSS 5.3, local access); no exploitation reported by the 5 checked sources
Source freshness unavailable
How is this decided?Advisory lineage
Upstream 0 · Downstream 1 · Related 2Timeline
- 11-08-2023PublishedVulnerability first disclosed.
- 09-10-2024Last modifiedVulnerability information updated.
Description
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.
CVSS metrics
3 scores · 3 sources · 1 version- OSV · UbuntuEcosystem advisory · calculated5.3MediumCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:L
- OSV · DebianEcosystem advisory · calculated5.3MediumCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:L
EPSS trend
Probability
0.54%
Chance of exploitation in the next 30 days
Percentile
47%
Versus all other CVEs
30-day change
No change 0.00 pp
From 0.54% on 04-11-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
1 foundQpdf
Maturity: poc
Weaknesses
CWE · root causeAffected systems
Known conditions: local access, no authentication, user interaction (CVSS vector). Other conditions: not stated in public data.
Debian1 product
- qpdf< 10.1.0-1
Qpdf_project1 product
- qpdf10.0.4
Ubuntu1 product
- qpdf< 8.0.2-3~16.04.1+esm1 | < 8.0.2-3ubuntu0.1 | < 9.1.1-1ubuntu0.1
3 vendors · 3 products