CVE-2021-3508: Medium severity Pdfresurrect Project Pdfresurrect vulnerability

Published Apr 19, 2021
·
Updated

A flaw was found in PDFResurrect in version 0.22b. There is a infinite loop in getxreflinearskipped() in pdf.c via a crafted PDF file.

Reference: https://github.com/enferex/pdfresurrect/issues/17

Upstream patch: https://github.com/enferex/pdfresurrect/commit/7e35d1806e111fd28610ccc86bb33f54792ac370

Other sources

A flaw was found in PDFResurrect in version 0.22b. There is an infinite loop in getxreflinearskipped() in pdf.c via a crafted PDF file.

— MITRE

Affected Software

2 affected componentsFixes available
redhat/PDFResurrect<0.23
0.23
Pdfresurrect Project Pdfresurrect=0.22b

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade redhat/PDFResurrect to a version that resolves this vulnerability.

    Fixed in 0.23
  2. Upgrade

    Upgrade PDFResurrect to a version that resolves this vulnerability.

    Fixed in 0.22bPatch 7e35d1806e111fd28610ccc86bb33f54792ac370

Event History

Apr 28, 2021
CVE Published
via MITRE·01:44 PM
Data Sourced
via MITRE·01:44 PM
DescriptionWeakness
Data Sourced
via NVD·02:15 PM
RemedyDescriptionSeverityWeaknessAffected Software

Frequently Asked Questions

1

What is the severity of CVE-2021-3508?

CVE-2021-3508 is classified with a moderate severity due to the potential for an infinite loop condition in PDFResurrect.

2

How do I fix CVE-2021-3508?

To fix CVE-2021-3508, upgrade PDFResurrect to version 0.23 or later.

3

What is the affected version of PDFResurrect for CVE-2021-3508?

CVE-2021-3508 affects version 0.22b of PDFResurrect.

4

What type of flaw is identified in CVE-2021-3508?

CVE-2021-3508 identifies an infinite loop flaw in the get_xref_linear_skipped() function.

5

How is CVE-2021-3508 triggered?

CVE-2021-3508 can be triggered by processing a specially crafted PDF file.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203