CVE-2021-3508 json
A flaw was found in PDFResurrect in version 0.22b.
published 2021-04-28 5 y ago modified 2026-06-17 4 mo ago also EUVD-2021-26827
- cvss
- 5.5
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.7%
- EPSS 0.7% chance of exploitation in 30 days, percentile 53%
- public exploits
- 0
- none known
Summary
A flaw was found in PDFResurrect in version 0.22b. There is an infinite loop in get_xref_linear_skipped() in pdf.c via a crafted PDF file.
Patch / fix
- pdfresurrect Debian 14, Debian 13, Debian 12 0.22-3
debian advisories DEBIAN-CVE-2021-3508
- pdfresurrect Ubuntu Pro 16.04 LTS 0.12-6ubuntu0.2+esm1
- pdfresurrect Ubuntu Pro 18.04 LTS 0.14-1ubuntu0.1~esm1
- pdfresurrect Ubuntu Pro 20.04 LTS 0.19-1ubuntu0.1~esm1
- pdfresurrect Ubuntu Pro 22.04 LTS 0.22-2ubuntu0.1~esm1
ubuntu advisories UBUNTU-CVE-2021-3508
Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2021-3508 updated cvss 5.5
pdfresurrect: infinite loop in get_xref_linear_skipped() in pdf.c
-
Red Hat All currently supported Red Hat productsnot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Exploit prediction
0.69% chance of exploitation in the next 30 days, higher than 53% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- github.com https://github.com/enferex/pdfresurrect/issues/17 referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.1 | 5.5 | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H |
| NVD | 2.0 | 4.3 | AV:N/AC:M/Au:N/C:N/I:N/A:P |
Affected products
- n/a PDFResurrect
Classification
- Weakness
-
- CWE-835 Loop with Unreachable Exit Condition
References
-
bugzilla.redhat.com
/show_bug.cgi?id=1951198
issue-tracking, patch, third-party-advisory
-
github.com
/enferex/pdfresurrect/issues/17
exploit, patch, third-party-advisory
Sources
- CVE List CVE-2021-3508
- NVD CVE-2021-3508
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.