An issue was discovered in PDFResurrect before 0.18. pdf_load_pages_kids in pdf.c doesn't validate a certain size value, which leads to a malloc failure and out-of-bounds write.
https://lists.debian.org/debian-lts-announce/2020/12/msg00002.html
https://github.com/enferex/pdfresurrect/compare/v0.17...v0.18
https://github.com/enferex/pdfresurrect/commit/0c4120fffa3dffe97b95c486a120eded82afe8a6