Advisory Database
  • Advisories
  • Dependency Scanning
  1. composer
  2. ›
  3. adawolfa/isdoc
  4. ›
  5. GHSA-xg43-5579-qw6v

GHSA-xg43-5579-qw6v: adawolfa/isdoc: Uncontrolled resource consumption (decompression bomb) when reading untrusted ISDOCX or PDF files

July 15, 2026

adawolfa/isdoc reads ISDOC invoices from ISDOCX (ZIP) archives and from PDF files with embedded ISDOC documents and supplements. Affected versions inflate ZIP entries and read embedded files without validating their uncompressed size, so a small crafted file can amplify into gigabytes:

  • ISDOCX decompression bomb — getFromName() inflates the ISDOC document and binary supplements with no size cap.
  • saveTo() disk-fill — the supplement copy loop writes inflated bytes to disk with no running byte budget, so a bomb can exhaust disk even if the central-directory size is under-reported.
  • PDF embedded files — an embedded file whose declared Length is enormous is read and digested with no upper bound.

Exploitation requires the application to parse an attacker-supplied .isdocx or .pdf (the typical use is generating files or parsing files from trusted vendors, so a user must be induced to process a malicious file). When that happens the process can be driven to exhaust memory or disk, causing denial of service. There is no confidentiality or integrity impact — availability only.

References

  • github.com/adawolfa/isdoc/commit/02a10123a3d5fd92950b8e4952959317c0a18952
  • github.com/adawolfa/isdoc/commit/935fb2aa41ceddfcf43174a61a36ec620611a105
  • github.com/adawolfa/isdoc/security/advisories/GHSA-xg43-5579-qw6v
  • github.com/advisories/GHSA-xg43-5579-qw6v

Code Behaviors & Features

Detect and mitigate GHSA-xg43-5579-qw6v with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 1.4.3, all versions starting from 1.5.0 before 1.5.1, all versions starting from 1.6.0 before 1.6.1

Fixed versions

  • 1.4.3
  • 1.5.1
  • 1.6.1

Solution

Upgrade to versions 1.4.3, 1.5.1, 1.6.1 or above.

Impact 6.5 MEDIUM

CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H

Learn more about CVSS

Weakness

  • CWE-400: Uncontrolled Resource Consumption
  • CWE-409: Improper Handling of Highly Compressed Data (Data Amplification)

Source file

packagist/adawolfa/isdoc/GHSA-xg43-5579-qw6v.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sat, 08 Aug 2026 00:17:33 +0000.