CVE-2021-3508 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.
MediumCVSS 5.5
EPSS 0.69%
- Published
- Updated
- Exploit status
- No public exploit known
- Technology
- UbuntuDebian
Description
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.
Upgrade path
14 packages: 8 fixed, 5 with no fix yet.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| ubuntu/pdfresurrect(Ubuntu 24.04) | = 0.23-2; All versions | No fix listed | No fix yet |
| ubuntu/pdfresurrect(Ubuntu 25.10) | = 0.23-2; All versions | No fix listed | No fix yet |
| ubuntu/pdfresurrect(Ubuntu 26.04) | = 0.23-2; = 0.23-2build1; All versions | No fix listed | No fix yet |
| ubuntu/pdfresurrect(Ubuntu 26.10) | = 0.23-2build1; All versions | No fix listed | No fix yet |
| ubuntu/pdfresurrect(Ubuntu Pro 14.04) | = 0.12-1; = 0.12-2; = 0.12-4; = 0.12-4ubuntu0.1~esm1 +2 more | No fix listed | No fix yet |
| debian/pdfresurrect(Debian 12) | < 0.22-3 | 0.22-3 | Fixed |
| debian/pdfresurrect(Debian 13) | < 0.22-3 | 0.22-3 | Fixed |
| debian/pdfresurrect(Debian 14) | < 0.22-3 | 0.22-3 | Fixed |
| ubuntu/pdfresurrect(Ubuntu 22.04) | < 0.22-2ubuntu0.1~esm1 | 0.22-2ubuntu0.1~esm1 | Fixed |
| ubuntu/pdfresurrect(Ubuntu Pro 16.04) | < 0.12-6ubuntu0.2+esm1; = 0.12-5; = 0.12-6; = 0.12-6ubuntu0.1 +1 more | 0.12-6ubuntu0.2+esm1 | Fixed |
| ubuntu/pdfresurrect(Ubuntu Pro 18.04) | < 0.14-1ubuntu0.1~esm1; = 0.12-6; = 0.14-1 | 0.14-1ubuntu0.1~esm1 | Fixed |
| ubuntu/pdfresurrect(Ubuntu Pro 20.04) | < 0.19-1ubuntu0.1~esm1; = 0.18-2; = 0.19-1 | 0.19-1ubuntu0.1~esm1 | Fixed |
| ubuntu/pdfresurrect(Ubuntu Pro 22.04) | < 0.22-2ubuntu0.1~esm1; = 0.22-1; = 0.22-2 | 0.22-2ubuntu0.1~esm1 | Fixed |
| pdfresurrect project pdfresurrect | = 0.22b | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| ubuntu/pdfresurrect(Ubuntu:22.04) | < 0.22-2ubuntu0.1~esm1 | 0.22-2ubuntu0.1~esm1 |
| debian/pdfresurrect(Debian:12) | < 0.22-3 | 0.22-3 |
| debian/pdfresurrect(Debian:13) | < 0.22-3 | 0.22-3 |
| debian/pdfresurrect(Debian:14) | < 0.22-3 | 0.22-3 |
| pdfresurrect project pdfresurrect | = 0.22b | No fix listed |
| ubuntu/pdfresurrect(Ubuntu:24.04) | All versions | No fix listed |
| ubuntu/pdfresurrect(Ubuntu:26.04) | All versions | No fix listed |
| ubuntu/pdfresurrect(Ubuntu:26.10) | All versions | No fix listed |
| ubuntu/pdfresurrect(Ubuntu:Pro:14.04) | All versions | No fix listed |
| ubuntu/pdfresurrect(Ubuntu:Pro:14.04) | = 0.12-1 | No fix listed |
| ubuntu/pdfresurrect(Ubuntu:Pro:14.04) | = 0.12-2 | No fix listed |
| ubuntu/pdfresurrect(Ubuntu:Pro:14.04) | = 0.12-4 | No fix listed |
| ubuntu/pdfresurrect(Ubuntu:Pro:14.04) | = 0.12-4ubuntu0.1~esm1 | No fix listed |
| ubuntu/pdfresurrect(Ubuntu:Pro:14.04) | = 0.12-4ubuntu0.1~esm2 | No fix listed |
| ubuntu/pdfresurrect(Ubuntu:Pro:16.04) | < 0.12-6ubuntu0.2+esm1 | 0.12-6ubuntu0.2+esm1 |
| ubuntu/pdfresurrect(Ubuntu:Pro:16.04) | = 0.12-5 | No fix listed |
| ubuntu/pdfresurrect(Ubuntu:Pro:16.04) | = 0.12-6 | No fix listed |
| ubuntu/pdfresurrect(Ubuntu:Pro:16.04) | = 0.12-6ubuntu0.1 | No fix listed |
| ubuntu/pdfresurrect(Ubuntu:Pro:16.04) | = 0.12-6ubuntu0.2 | No fix listed |
| ubuntu/pdfresurrect(Ubuntu:Pro:18.04) | < 0.14-1ubuntu0.1~esm1 | 0.14-1ubuntu0.1~esm1 |
| ubuntu/pdfresurrect(Ubuntu:Pro:18.04) | = 0.12-6 | No fix listed |
| ubuntu/pdfresurrect(Ubuntu:Pro:18.04) | = 0.14-1 | No fix listed |
| ubuntu/pdfresurrect(Ubuntu:Pro:20.04) | < 0.19-1ubuntu0.1~esm1 | 0.19-1ubuntu0.1~esm1 |
| ubuntu/pdfresurrect(Ubuntu:Pro:20.04) | = 0.18-2 | No fix listed |
| ubuntu/pdfresurrect(Ubuntu:Pro:20.04) | = 0.19-1 | No fix listed |
Show 9 more
| Product | Affected versions | Fixed in |
|---|---|---|
| ubuntu/pdfresurrect(Ubuntu:Pro:22.04) | < 0.22-2ubuntu0.1~esm1 | 0.22-2ubuntu0.1~esm1 |
| ubuntu/pdfresurrect(Ubuntu:Pro:22.04) | = 0.22-1 | No fix listed |
| ubuntu/pdfresurrect(Ubuntu:Pro:22.04) | = 0.22-2 | No fix listed |
| ubuntu/pdfresurrect(Ubuntu:24.04) | = 0.23-2 | No fix listed |
| ubuntu/pdfresurrect(Ubuntu:25.10) | All versions | No fix listed |
| ubuntu/pdfresurrect(Ubuntu:25.10) | = 0.23-2 | No fix listed |
| ubuntu/pdfresurrect(Ubuntu:26.10) | = 0.23-2build1 | No fix listed |
| ubuntu/pdfresurrect(Ubuntu:26.04) | = 0.23-2 | No fix listed |
| ubuntu/pdfresurrect(Ubuntu:26.04) | = 0.23-2build1 | No fix listed |
References
- Ubuntu CVE tracker issue-tracking vendor-advisory
- USN-5282-1 vendor-advisory
- www.cve.org issue-tracking
- Debian Security Tracker CVE-2021-3508 vendor-advisory
- bugzilla.redhat.com issue-tracking patch third-party-advisory
- github.com exploit issue-tracking patch third-party-advisory
- github.com issue-tracking