o.a.p.POIXMLException: java.io.IOException: Zip bomb detected! The file would exceed the max. ratio of compressed file size to the size of the expanded data. This may indicate that the file is used to inflate memory usage and thus could pose a security risk. You can adjust this limit via ZipSecureFile.setMinInflateRatio() if you need to work with files which exceed this limit. Counter: 356352, cis.counter: 3534, ratio: 0.009917160560344827Limits: MIN_INFLATE_RATIO: 0.01

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • POI regression testing report
    via by Unknown author,
    • o.a.p.POIXMLException: java.io.IOException: Zip bomb detected! The file would exceed the max. ratio of compressed file size to the size of the expanded data. This may indicate that the file is used to inflate memory usage and thus could pose a security risk. You can adjust this limit via ZipSecureFile.setMinInflateRatio() if you need to work with files which exceed this limit. Counter: 356352, cis.counter: 3534, ratio: 0.009917160560344827Limits: MIN_INFLATE_RATIO: 0.01 at o.a.p.xwpf.usermodel.XWPFPictureData.getChecksum(XWPFPictureData.java:157) at o.a.p.xwpf.usermodel.XWPFDocument.registerPackagePictureData(XWPFDocument.java:1316) at o.a.p.xwpf.usermodel.XWPFDocument.onDocumentRead(XWPFDocument.java:213) at o.a.p.POIXMLDocument.load(POIXMLDocument.java:190)
    No Bugmate found.