David Justamante created PDFBOX-6042:
----------------------------------------
Summary: NoClassDefFoundError
Key: PDFBOX-6042
URL: https://issues.apache.org/jira/browse/PDFBOX-6042
Project: PDFBox
Issue Type: Bug
Affects Versions: 4.0.0
Reporter: David Justamante
Attachments: example.pdf
This issue is being manually filed by the competition organizers. We recognize
there is a number of AI generated submissions as of late. We have gone through
the manual process of bug/patch validation to prevent unnecessary "noise",
respecting maintainers' time.
This submission is being sent as part of DARPA's AIxCC competition.
(https://aicyberchallenge.com) This issue was discovered by an autonomous Cyber
Reasoning System (CRS) and validated by competition engineers.
We are grateful for your recent updates to the documentation around this
behavior, and we expect this JIRA issue to be closed as "fixed." Nevertheless,
we wanted to report this publicly and share a triggering file.
When using PDFBox alone (without the BouncyCastle dependencies on the
classpath) simply trying to load a PDF that requires a PublicKeySecurityHandler
causes a NoClassDefFoundError because of a missing BouncyCastle class
definition: {{org/bouncycastle/cms/CMSException}}
Repro code:
{{PDDocument pdDocument = Loader.load(new File("example.pdf"));}}
{{}}
(AIxCC Internal: CHA-1732){{{}{}}}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]