We can consider making a debian patch for pdfminer for now - upstream has not moved yet, but the fix is quite straightforward:
https://github.com/pdfminer/pdfminer.six/pull/1271/changes I will maybe come up with the merge request in salsa with these changes if that's helpful.

