You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pdfbox.apache.org by "Aleksandr Beliakov (Jira)" <ji...@apache.org> on 2026/04/27 06:49:00 UTC
[jira] [Updated] (PDFBOX-6200) Recursive processing of COSUpdateState#setOriginDocumentState leads to StackOverflow exception
[ https://issues.apache.org/jira/browse/PDFBOX-6200?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Aleksandr Beliakov updated PDFBOX-6200:
---------------------------------------
Description:
Hello,
One of our users experience an issue on signing complex PDF documents, containing many internal objects, with a use of an incremental update. The document in question is created in AutoCAD and cannot be shared due to privacy reasons. The document structure and stacktrace are attached to this ticket.
For testing purposes, a patch from PDFBOX-6039 was applied, eventually fixing the issue successfully. However, we understand that the proposed fixes may be not the best approach due to added depth limitations.
The original ticket with user comments can be found at our Jira (see [DSS-3857|https://ec.europa.eu/digital-building-blocks/tracker/browse/DSS-3857]).
Please review the issue as it limits usage of PdfBox on signing of large PDF documents.
was:
Hello,
One of our users experience an issue on signing complex PDF documents, containing many internal objects, with a use of an incremental update. The document in question is created in AutoCAD and cannot be shared due to privacy reasons. The document structure and stacktrace are attached to this ticket.
For testing purposes, a patch from PDFBOX-6039 was applied, eventually fixing the issue successfully. However, we understand that the proposed fixes may be not the best approach due to added depth limitations.
The original ticket with user comments can be found in at our Jira (see [DSS-3857|https://ec.europa.eu/digital-building-blocks/tracker/browse/DSS-3857]).
Please review the issue as it limits usage of PdfBox on signing of large PDF documents.
Summary: Recursive processing of COSUpdateState#setOriginDocumentState leads to StackOverflow exception (was: Recursive processing of COSUpdateState#setOriginDocumentState lead to StackOverflow exception)
> Recursive processing of COSUpdateState#setOriginDocumentState leads to StackOverflow exception
> ----------------------------------------------------------------------------------------------
>
> Key: PDFBOX-6200
> URL: https://issues.apache.org/jira/browse/PDFBOX-6200
> Project: PDFBox
> Issue Type: Bug
> Affects Versions: 3.0.6 PDFBox
> Reporter: Aleksandr Beliakov
> Priority: Major
> Attachments: pdfStructure1.png, pdfStructure2.png, pdfStructure3.png, stackTrace.png
>
>
> Hello,
>
> One of our users experience an issue on signing complex PDF documents, containing many internal objects, with a use of an incremental update. The document in question is created in AutoCAD and cannot be shared due to privacy reasons. The document structure and stacktrace are attached to this ticket.
>
> For testing purposes, a patch from PDFBOX-6039 was applied, eventually fixing the issue successfully. However, we understand that the proposed fixes may be not the best approach due to added depth limitations.
>
> The original ticket with user comments can be found at our Jira (see [DSS-3857|https://ec.europa.eu/digital-building-blocks/tracker/browse/DSS-3857]).
>
> Please review the issue as it limits usage of PdfBox on signing of large PDF documents.
--
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