You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pdfbox.apache.org by "Andreas Lehmkühler (Jira)" <ji...@apache.org> on 2025/10/05 11:56:00 UTC
[jira] [Closed] (PDFBOX-5578) Limit maximum number of nesting levels for COSArrays/COSDictionaries
[ https://issues.apache.org/jira/browse/PDFBOX-5578?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Andreas Lehmkühler closed PDFBOX-5578.
--------------------------------------
Resolution: Duplicate
> Limit maximum number of nesting levels for COSArrays/COSDictionaries
> --------------------------------------------------------------------
>
> Key: PDFBOX-5578
> URL: https://issues.apache.org/jira/browse/PDFBOX-5578
> Project: PDFBox
> Issue Type: Bug
> Components: Parsing
> Affects Versions: 2.0.27, 3.0.0 PDFBox
> Reporter: Andreas Lehmkühler
> Assignee: Andreas Lehmkühler
> Priority: Major
> Attachments: 2023_StackOverFlowtest.pdf
>
>
> The PDFBox user Jay filed an issue with the attached pdf using security@apache.org
> It is a handcrafted pdf containing a COSArray with a lot of nesting levels which leads to a StackOverflowException.
> Theoretically there is no maximum nesting level for COSArrays or COSDictionaries but in the wild just a few number of levels may occur. Saying that, it makes sense to introduce a maximum number of nesting levels to avoid such exceptions
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@pdfbox.apache.org
For additional commands, e-mail: dev-help@pdfbox.apache.org