You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pdfbox.apache.org by "ASF subversion and git services (Jira)" <ji...@apache.org> on 2023/03/28 06:39:00 UTC
[jira] [Commented] (PDFBOX-5582) Avoid OOME when parsing an malformed pdf with a corrupted object stream
[ https://issues.apache.org/jira/browse/PDFBOX-5582?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17705835#comment-17705835 ]
ASF subversion and git services commented on PDFBOX-5582:
---------------------------------------------------------
Commit 1908760 from lehmi@apache.org in branch 'pdfbox/branches/2.0'
[ https://svn.apache.org/r1908760 ]
PDFBOX-5582: don't use the given number of objects to initialize the list to avoid an OOME
> Avoid OOME when parsing an malformed pdf with a corrupted object stream
> -----------------------------------------------------------------------
>
> Key: PDFBOX-5582
> URL: https://issues.apache.org/jira/browse/PDFBOX-5582
> Project: PDFBox
> Issue Type: Bug
> Components: Parsing
> Affects Versions: 2.0.27
> Reporter: Andreas Lehmkühler
> Assignee: Andreas Lehmkühler
> Priority: Major
> Fix For: 2.0.28
>
> Attachments: ome-1.pdf
>
>
> The PDFBox user Nikolay Kasapov filed an issue with the attached pdf using security@apache.org
> The attached pdf leads to an out of memory exception when opening it.
> The pdf is malformed and uses a very high value for the number of objects of a compressed object stream. The issue is related to PDFBOX-5177 and occurs if the pdf is malformed and the brute force parser is triggered.
--
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