Every CVE Search/ Get API key

CVE-2021-3508

A flaw was found in PDFResurrect in version 0.22b. There is an infinite loop in...

5.5 MediumFix available

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.

Attack profile

How easy it is to exploit

Attack vector
Local
Complexity
Low
Privileges needed
None
User interaction
Required

What an attacker can affect

Confidentiality
None
Integrity
None
Availability
High

Exploit likelihood

0.69%Up 0.1 points since Apr 29, 2021
90%50%10%1%

What each source reports

NVD Score used 5.5

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.

Record
CVE-2021-3508
CVSS 3.1
5.5 MediumCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
CVSS 2.0
4.3 MediumAV:N/AC:M/Au:N/C:N/I:N/A:P
Weakness
CWE-835
Updated
2026-11-02
CVE List No score

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.

Record
CVE-2021-3508
Weakness
CWE-835
Updated
2026-11-02
EUVDEUVD-2021-26827 No score

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.

Record
EUVD-2021-26827
Updated
2026-11-03
GitHub AdvisoriesGHSA-wx33-xp59-j4ch 5.5

A flaw was found in PDFResurrect in version 0.22b. There is an infinite loop in...

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.

Record
GHSA-wx33-xp59-j4ch
CVSS 3.1
5.5 MediumCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
Weakness
CWE-835
Updated
2026-11-02
OSV 5.5

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.

Record
CVE-2021-3508
CVSS 3.1
5.5 MediumCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
Updated
2026-11-02
OSVDEBIAN-CVE-2021-3508 5.5

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.

Record
DEBIAN-CVE-2021-3508
CVSS 3.1
5.5 MediumCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
Updated
2026-11-02
OSVUBUNTU-CVE-2021-3508 5.5

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.

Record
UBUNTU-CVE-2021-3508
CVSS 3.1
5.5 MediumCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
Updated
2026-11-02
OSVUSN-5282-1 No score

pdfresurrect vulnerabilities

It was discovered that PDFResurrect was incorrectly handling corrupted PDF files. An attacker could possibly use this issue to cause a buffer overflow, resulting in a denial of service, or arbitrary code execution. This issue only affected Ubuntu 16.04 ESM and Ubuntu 18.04 ESM. (CVE-2019-14267)

It was discovered that PDFResurrect incorrectly handled memory when loading PDF pages. An attacker could possibly use this issue to cause a heap buffer overflow, resulting in a denial of service, or arbitrary code execution. This issue only affected Ubuntu 16.04 ESM and Ubuntu 18.04 ESM. (CVE-2019-14934)

It was discovered that PDFResurrect was incorrectly validating header data in input PDF files. An attacker could possibly use this issue to cause a heap buffer overflow, resulting in a denial of service, or arbitrary code execution. This issue only affected Ubuntu 16.04 ESM, Ubuntu 18.04 ESM and Ubuntu 20.04 ESM. (CVE-2020-20740)

Carter Yagemann discovered that PDFResurrect incorrectly handled certain memory operations during PDF summary generation. An attacker could use this to cause out-of-bounds writes, resulting in a denial of service (system crash) or arbitrary code execution. This issue only affected Ubuntu 18.04 ESM and Ubuntu 20.04 ESM. (CVE-2020-9549)

It was discovered that PDFResurrect was incorrectly processing data when performing trailer search operations. An attacker could possibly use this issue to cause an infinite loop, resulting in a denial of service. (CVE-2021-3508)

Record
USN-5282-1
Updated
2026-11-02

Affected products

Affected packages

Affected packages
PackageAffectedFixed
pdfresurrect
Debian:12
before 0.22-3
0.22-3
pdfresurrect
Debian:13
before 0.22-3
0.22-3
pdfresurrect
Debian:14
before 0.22-3
0.22-3
pdfresurrect
Ubuntu:Pro:14.04:LTS
All versions, plus listed versions
0.12-10.12-20.12-40.12-4ubuntu0.1~esm1
None known
pdfresurrect
Ubuntu:Pro:16.04:LTS
before 0.12-6ubuntu0.2+esm1, plus listed versions
0.12-50.12-60.12-6ubuntu0.10.12-6ubuntu0.2
0.12-6ubuntu0.2+esm1
pdfresurrect
Ubuntu:Pro:18.04:LTS
before 0.14-1ubuntu0.1~esm1, plus listed versions
0.12-60.14-1
0.14-1ubuntu0.1~esm1
pdfresurrect
Ubuntu:Pro:20.04:LTS
before 0.19-1ubuntu0.1~esm1, plus listed versions
0.18-20.19-1
0.19-1ubuntu0.1~esm1
pdfresurrect
Ubuntu:Pro:22.04:LTS
before 0.22-2ubuntu0.1~esm1, plus listed versions
0.22-10.22-2
0.22-2ubuntu0.1~esm1
pdfresurrect
Ubuntu:24.04:LTS
All versions, plus listed versions
0.23-2
None known
pdfresurrect
Ubuntu:25.10
All versions, plus listed versions
0.23-2
None known
Show 6 moreShow less
Affected packages
PackageAffectedFixed
pdfresurrect
Ubuntu:26.10
All versions, plus listed versions
0.23-2build1
None known
pdfresurrect
Ubuntu:26.04:LTS
All versions, plus listed versions
0.23-20.23-2build1
None known
pdfresurrect
Ubuntu:Pro:16.04:LTS
From an advisory covering 5 CVEs
before 0.12-6ubuntu0.2+esm1, plus listed versions
0.12-50.12-60.12-6ubuntu0.10.12-6ubuntu0.2
0.12-6ubuntu0.2+esm1
pdfresurrect
Ubuntu:Pro:18.04:LTS
From an advisory covering 5 CVEs
before 0.14-1ubuntu0.1~esm1, plus listed versions
0.12-60.14-1
0.14-1ubuntu0.1~esm1
pdfresurrect
Ubuntu:Pro:20.04:LTS
From an advisory covering 5 CVEs
before 0.19-1ubuntu0.1~esm1, plus listed versions
0.18-20.19-1
0.19-1ubuntu0.1~esm1
pdfresurrect
Ubuntu:Pro:22.04:LTS
From an advisory covering 5 CVEs
before 0.22-2ubuntu0.1~esm1, plus listed versions
0.22-10.22-2
0.22-2ubuntu0.1~esm1

History

History
RecordedChangedSources
affected, facts
aliasesEUVD
first indexedCVE List, GitHub Advisories, NVD, OSV

Dates are when Every CVE recorded each change. Upstream dates may differ.

In short

CVE-2021-3508 is a medium vulnerability (CVSS 5.5) in Pdfresurrect Project Pdfresurrect, published April 28, 2021. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 0.69%, the 53rd percentile. Fixed in pdfresurrect 0.22-3.

References

Show 7 moreShow less
MoveEnter Open