when reporting an issue with an extension like PDF, please always mention the extension version
you may find the following tip useful
https://luceeserver.atlassian.net/browse/LDEV-2599?focusedCommentId=50326
the latest PDF RC is 1.2.0.10-RC
secondly, 5.3.6 is subject to a CVE, it’s time to upgrade