{"answers":{"affected":"8 open source packages ship an affected version, including adawolfa/isdoc.","exploited":"There is no known exploitation of GHSA-xg43-5579-qw6v in the wild and no public exploit code.","fix":"Upgrade adawolfa/isdoc to a fixed version for your release line: 1.4.3, 1.5.1 or 1.6.1.","what":"GHSA-xg43-5579-qw6v is a denial of service vulnerability in adawolfa/isdoc, published on 15 Jul 2026. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link."},"fix_prompt":"Check this codebase for GHSA-xg43-5579-qw6v and fix it if it is affected.\n\nWhat it is: GHSA-xg43-5579-qw6v is a denial of service vulnerability in adawolfa/isdoc, published on 15 Jul 2026. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.\nExploitation: There is no known exploitation of GHSA-xg43-5579-qw6v in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- adawolfa/isdoc (Packagist): affected all versions; no fix listed\n- adawolfa/isdoc (Packagist): affected all versions; no fix listed\n- adawolfa/isdoc (Packagist): affected from 1.4.0; fixed in 1.4.3\n- adawolfa/isdoc (Packagist): affected from 1.4.0; fixed in 1.4.3\n- adawolfa/isdoc (Packagist): affected from 1.5.0; fixed in 1.5.1\n- adawolfa/isdoc (Packagist): affected from 1.5.0; fixed in 1.5.1\n- adawolfa/isdoc (Packagist): affected from 1.6.0; fixed in 1.6.1\n- adawolfa/isdoc (Packagist): affected from 1.6.0; fixed in 1.6.1\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/GHSA-xg43-5579-qw6v/ (Markdown: https://insights.sbomify.com/GHSA-xg43-5579-qw6v/index.md)","id":"GHSA-xg43-5579-qw6v","markdown":"https://insights.sbomify.com/GHSA-xg43-5579-qw6v/index.md","name":"GHSA-xg43-5579-qw6v","record":{"aliases":[],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["denial_of_service"],"network_reachable":"yes","non_default_config":false,"product_category":"PHP ISDOC library","requires_auth":"none","summary":"Attackers can cause denial of service via decompression bombs in ISDOCX or PDF files, exhausting memory or disk resources.","user_interaction":"required","vuln_class":"denial_of_service"},"analysis_generated_by":"qwen3.8-flash-next","assigner":null,"cpe":[],"cvss":{"score":null,"severity":null,"source":null,"vector":null,"version":null},"cwes":[],"description":"### Impact\n\n`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:\n\n- **ISDOCX decompression bomb** — `getFromName()` inflates the ISDOC document and binary supplements with no size cap.\n- **`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.\n- **PDF embedded files** — an embedded file whose declared `Length` is enormous is read and digested with no upper bound.\n\nExploitation 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.\n\n### Patches\n\nFixed in **1.4.3**, **1.5.1**, **1.6.1** and **2.0.0**. The readers now:\n\n- read the uncompressed size from the ZIP central directory (`statName()`) and reject entries over a cap **before inflating** — 256 KB (`DocumentSizeLimit`) for the ISDOC document, 32 MB (`SizeLimit`) for supplements;\n- enforce a running byte budget in `saveTo()` and unlink the partial file on overflow;\n- reject PDF-embedded files whose declared `Length` exceeds 256 MB before reading or digesting them.\n\nNew exceptions `ReaderException::zipEntryTooLarge()`, `SupplementException::supplementTooLarge()` and `ReaderException::pdfSupplementTooLarge()` surface the rejection.\n\n### Unsupported versions\n\nVersions **before 1.4.0** (the 1.0–1.3 lines) are also affected and will **not** receive a fix, because they target end-of-life PHP. Users on those lines should upgrade to a maintained release — 1.4.3, 1.5.1, 1.6.1, or 2.0.0.\n\n### Workarounds\n\nNo code-level workaround exists in affected versions; upgrading is the fix. As mitigation, restrict parsing to trusted input, or enforce an external size / decompression limit (validate ZIP entry sizes, cap process memory) before handing files to the library.\n\n### Resources\n\n- Decompression-bomb fix: commit [`935fb2a`](https://github.com/adawolfa/isdoc/commit/935fb2aa41ceddfcf43174a61a36ec620611a105) (backported, released as 1.4.3 / 1.5.1 / 1.6.1) and [`02a1012`](https://github.com/adawolfa/isdoc/commit/02a10123a3d5fd92950b8e4952959317c0a18952) (master, released as 2.0.0).\n- CWE-409 (Improper Handling of Highly Compressed Data), CWE-400 (Uncontrolled Resource Consumption).","ecosystems":["Packagist"],"exploits":{"exploitdb":null,"first_seen":null,"github_poc":null,"max_poc_stars":null,"metasploit":null,"nuclei":null,"refs":[],"tier":null},"has_fix":true,"headline":"adawolfa/isdoc: Uncontrolled resource consumption (decompression bomb) when reading untrusted ISDOCX or PDF files","id":"GHSA-xg43-5579-qw6v","indexable":true,"kev":null,"kind":"advisory","links":{"ecosystem":"Packagist","product":null,"products":[],"type":"denial_of_service","year":"2026"},"n_packages":8,"n_references":null,"packages":[{"ecosystem":"Packagist","fixed":[],"introduced":["0"],"last_affected":[],"package":"adawolfa/isdoc","purl":null,"source":"GHSA-xg43-5579-qw6v"},{"ecosystem":"Packagist","fixed":[],"introduced":["0"],"last_affected":[],"package":"adawolfa/isdoc","purl":"pkg:composer/adawolfa/isdoc","source":"GHSA-xg43-5579-qw6v"},{"ecosystem":"Packagist","fixed":["1.4.3"],"introduced":["1.4.0"],"last_affected":[],"package":"adawolfa/isdoc","purl":null,"source":"GHSA-xg43-5579-qw6v"},{"ecosystem":"Packagist","fixed":["1.4.3"],"introduced":["1.4.0"],"last_affected":[],"package":"adawolfa/isdoc","purl":"pkg:composer/adawolfa/isdoc","source":"GHSA-xg43-5579-qw6v"},{"ecosystem":"Packagist","fixed":["1.5.1"],"introduced":["1.5.0"],"last_affected":[],"package":"adawolfa/isdoc","purl":null,"source":"GHSA-xg43-5579-qw6v"},{"ecosystem":"Packagist","fixed":["1.5.1"],"introduced":["1.5.0"],"last_affected":[],"package":"adawolfa/isdoc","purl":"pkg:composer/adawolfa/isdoc","source":"GHSA-xg43-5579-qw6v"},{"ecosystem":"Packagist","fixed":["1.6.1"],"introduced":["1.6.0"],"last_affected":[],"package":"adawolfa/isdoc","purl":null,"source":"GHSA-xg43-5579-qw6v"},{"ecosystem":"Packagist","fixed":["1.6.1"],"introduced":["1.6.0"],"last_affected":[],"package":"adawolfa/isdoc","purl":"pkg:composer/adawolfa/isdoc","source":"GHSA-xg43-5579-qw6v"}],"products":null,"published":"2026-07-15","related":[],"sources":[{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"}],"ssvc":{"automatable":null,"exploitation":null,"technical_impact":null},"state":null,"updated":null,"vendors":null},"summary":"Attackers can cause denial of service via decompression bombs in ISDOCX or PDF files, exhausting memory or disk resources.","url":"https://insights.sbomify.com/GHSA-xg43-5579-qw6v/"}