Uploaded image for project: 'PDFBox'
  1. PDFBox
  2. PDFBOX-5582

Avoid OOME when parsing an malformed pdf with a corrupted object stream

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.0.27
    • 2.0.28
    • Parsing
    • None

    Description

      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.

      Attachments

        1. ome-1.pdf
          236 kB
          Andreas Lehmkühler

        Issue Links

          Activity

            People

              lehmi Andreas Lehmkühler
              lehmi Andreas Lehmkühler
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: