{"id":"UBUNTU-CVE-2021-3508","details":"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.","modified":"2026-05-20T16:06:28.196527500Z","published":"2021-04-28T14:15:00Z","related":["USN-5282-1"],"upstream":["CVE-2021-3508"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2021-3508"},{"type":"REPORT","url":"https://github.com/enferex/pdfresurrect/issues/17"},{"type":"REPORT","url":"https://github.com/enferex/pdfresurrect/commit/7e35d1806e111fd28610ccc86bb33f54792ac370"},{"type":"ADVISORY","url":"https://ubuntu.com/security/notices/USN-5282-1"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2021-3508"}],"affected":[{"package":{"name":"pdfresurrect","ecosystem":"Ubuntu:Pro:14.04:LTS","purl":"pkg:deb/ubuntu/pdfresurrect?arch=source&distro=esm-infra-legacy%2Ftrusty"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.12-1","0.12-2","0.12-4","0.12-4ubuntu0.1~esm1"],"ecosystem_specific":{"binaries":[{"binary_version":"0.12-4ubuntu0.1~esm1","binary_name":"pdfresurrect"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-3508.json"}},{"package":{"name":"pdfresurrect","ecosystem":"Ubuntu:Pro:16.04:LTS","purl":"pkg:deb/ubuntu/pdfresurrect?arch=source&distro=esm-apps%2Fxenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.12-6ubuntu0.2+esm1"}]}],"versions":["0.12-5","0.12-6","0.12-6ubuntu0.1","0.12-6ubuntu0.2"],"ecosystem_specific":{"availability":"Available with Ubuntu Pro: https://ubuntu.com/pro","binaries":[{"binary_name":"pdfresurrect","binary_version":"0.12-6ubuntu0.2+esm1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-3508.json"}},{"package":{"name":"pdfresurrect","ecosystem":"Ubuntu:Pro:18.04:LTS","purl":"pkg:deb/ubuntu/pdfresurrect?arch=source&distro=esm-apps%2Fbionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.14-1ubuntu0.1~esm1"}]}],"versions":["0.12-6","0.14-1"],"ecosystem_specific":{"availability":"Available with Ubuntu Pro: https://ubuntu.com/pro","binaries":[{"binary_name":"pdfresurrect","binary_version":"0.14-1ubuntu0.1~esm1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-3508.json"}},{"package":{"name":"pdfresurrect","ecosystem":"Ubuntu:Pro:20.04:LTS","purl":"pkg:deb/ubuntu/pdfresurrect?arch=source&distro=esm-apps%2Ffocal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.19-1ubuntu0.1~esm1"}]}],"versions":["0.18-2","0.19-1"],"ecosystem_specific":{"availability":"Available with Ubuntu Pro: https://ubuntu.com/pro","binaries":[{"binary_version":"0.19-1ubuntu0.1~esm1","binary_name":"pdfresurrect"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-3508.json"}},{"package":{"name":"pdfresurrect","ecosystem":"Ubuntu:Pro:22.04:LTS","purl":"pkg:deb/ubuntu/pdfresurrect?arch=source&distro=esm-apps%2Fjammy"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.22-2ubuntu0.1~esm1"}]}],"versions":["0.22-1","0.22-2"],"ecosystem_specific":{"availability":"Available with Ubuntu Pro: https://ubuntu.com/pro","binaries":[{"binary_name":"pdfresurrect","binary_version":"0.22-2ubuntu0.1~esm1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-3508.json"}},{"package":{"name":"pdfresurrect","ecosystem":"Ubuntu:24.04:LTS","purl":"pkg:deb/ubuntu/pdfresurrect?arch=source&distro=noble"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.23-2"],"ecosystem_specific":{"binaries":[{"binary_name":"pdfresurrect","binary_version":"0.23-2"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-3508.json"}},{"package":{"name":"pdfresurrect","ecosystem":"Ubuntu:25.10","purl":"pkg:deb/ubuntu/pdfresurrect?arch=source&distro=questing"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.23-2"],"ecosystem_specific":{"binaries":[{"binary_version":"0.23-2","binary_name":"pdfresurrect"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-3508.json"}},{"package":{"name":"pdfresurrect","ecosystem":"Ubuntu:26.04:LTS","purl":"pkg:deb/ubuntu/pdfresurrect?arch=source&distro=resolute"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.23-2","0.23-2build1"],"ecosystem_specific":{"binaries":[{"binary_name":"pdfresurrect","binary_version":"0.23-2build1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-3508.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H"},{"type":"Ubuntu","score":"medium"}]}