Medium
Security advisory
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.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2021-25786
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 31 Oct 2026, 11:41 UTC · Revision 1
Source evidence
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.
osv:CVE-2021-25786
Complete source record
{
"id": "070538f8a845bac80d7c09b24cc5cc6446357803f11bd4ad6ff532527240b867",
"url": "https://osv.dev/vulnerability/CVE-2021-25786",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "CVE-2021-25786",
"summary": "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.",
"evidence": "osv:CVE-2021-25786",
"products": [],
"severity": "medium",
"structured": {
"id": "CVE-2021-25786",
"aliases": [
"CVE-2021-25786"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:L"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/qpdf/qpdf",
"type": "GIT",
"events": [
{
"introduced": "78b9d6bfd4cbd3e947b1c5ffe73eb97b040e312a"
},
{
"last_affected": "78b9d6bfd4cbd3e947b1c5ffe73eb97b040e312a"
}
],
"database_specific": {
"extracted_events": [
{
"cpe": "cpe:2.3:a:qpdf_project:qpdf:10.0.4:*:*:*:*:*:*:*",
"range": [
{
"introduced": "10.0.4"
},
{
"last_affected": "10.0.4"
}
],
"source": "CPE_STRING"
}
]
}
}
],
"versions": [
"10.0.4",
"release-qpdf-10.0.4"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-25786.json"
}
}
],
"modified": "2026-10-20T10:54:33.559809170Z",
"provider": "osv",
"references": [
"https://lists.debian.org/debian-lts-announce/2023/08/msg00037.html",
"https://github.com/qpdf/qpdf/issues/492"
],
"provider_metadata": {}
},
"related_cves": [
{
"value": "CVE-2021-25786",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 385571,
"published_at": "2023-08-11T14:15:11.987+00:00"
}