Description
Carbone is vulnerable to Denial of Service due to lack of protection against zip bombs when processing .docx files. The library uses yazl for zip decompression without validating entry sizes, allowing an attacker to supply a malicious .docx file containing a zip bomb that decompresses to a significantly larger size, causing excessive memory consumption and crashing the application server.




The issue was fixed in versions: 3.8.2, 4.26.3 and 5.4.4.  The fix is available across all distribution types.
Published: 2026-08-18
Score: 6.9 Medium
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

The vulnerability allows an attacker to supply a malicious .docx file that contains a zip bomb. When Carbone processes the file with the yazl decompression library, it does not validate the size of each entry, so the uncompressed data can be orders of magnitude larger than the original. This excessive memory consumption can cause the application server to become unresponsive or crash, resulting in a denial of service. The weakness is an improper restriction of operations within bounds (CWE‑409).

Affected Systems

Carbone, the open‑source document generation library. Versions older than 3.8.2, 4.26.3, or 5.4.4 are affected. The fix is included in those releases and later, and is available across all distribution types.

Risk and Exploitability

The CVSS score of 6.9 indicates moderate severity. The EPSS score is not available and the vulnerability is not listed in CISA KEV, so the current public exploit evidence is unknown. The likely attack vector is through any infrastructure component that accepts untrusted .docx uploads or API calls. An attacker could trigger the denial of service by sending a specially crafted zip bomb file, exhausting server memory and disrupting service availability. Due to the absence of input size checks, the attack does not require privileged access and can be remotely executed.

Generated by OpenCVE AI on August 18, 2026 at 10:20 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade Carbone to version 3.8.2, 4.26.3, 5.4.4 or later to apply the patch that validates zip entry sizes.
  • Implement a pre-processing check that validates the overall file size and decompressed entry sizes before invoking yazl, or replace the zip library with one that enforces size limits.
  • Restrict exposure of any endpoints that accept .docx files to trusted users only and monitor incoming files for unusually large sizes to detect attempted zip bomb attacks.

Generated by OpenCVE AI on August 18, 2026 at 10:20 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Fri, 21 Aug 2026 21:45:00 +0000

Type Values Removed Values Added
First Time appeared Carboneio
Carboneio carbone
Vendors & Products Carboneio
Carboneio carbone

Tue, 18 Aug 2026 14:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Tue, 18 Aug 2026 09:30:00 +0000

Type Values Removed Values Added
Description Carbone is vulnerable to Denial of Service due to lack of protection against zip bombs when processing .docx files. The library uses yazl for zip decompression without validating entry sizes, allowing an attacker to supply a malicious .docx file containing a zip bomb that decompresses to a significantly larger size, causing excessive memory consumption and crashing the application server. The issue was fixed in versions: 3.8.2, 4.26.3 and 5.4.4.  The fix is available across all distribution types.
Title Resource Exhaustion in Carbone
Weaknesses CWE-409
References
Metrics cvssV4_0

{'score': 6.9, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:N/VI:N/VA:H/SC:N/SI:N/SA:L'}


Subscriptions

Carboneio Carbone
cve-icon MITRE

Status: PUBLISHED

Assigner: CERT-PL

Published:

Updated: 2026-08-18T14:08:58.089Z

Reserved: 2026-08-05T10:48:31.029Z

Link: CVE-2026-18929

cve-icon Vulnrichment

Updated: 2026-08-18T14:08:16.460Z

cve-icon NVD

Status : Deferred

Published: 2026-08-18T10:16:46.023

Modified: 2026-08-28T15:26:19.533

Link: CVE-2026-18929

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-21T21:19:12Z

Weaknesses
  • CWE-409

    Improper Handling of Highly Compressed Data (Data Amplification)