Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessSubmit crafted .docx template to Carbone endpoint
-
DeliveryLibrary unzips archive via yazl
-
ExploitNo decompressed-size validation applied
-
ExecutionDecompressed data exhausts Node.js heap memory
-
ImpactApplication server process crashes (OOM)
Vulnerability Assessment
| Weakness |
CWE
ASVS 5.0
V2 - Validation and Business Logic Compression ratio limits
|
| Exploitation Conditions | The attacker must be able to deliver a .docx file as a template input to a Carbone rendering operation - this typically means access to an HTTP endpoint, file upload interface, or API that accepts user-supplied .docx templates and passes them to Carbone for processing. Deployments that only process templates from trusted internal sources or pre-validated storage are not remotely exploitable. The CVSS UI:A (Active) metric confirms that a user or automated process must actively trigger the rendering of the malicious file; the vulnerability cannot be triggered passively against an idle server. Exploitation is version-gated: only Carbone versions prior to 3.8.2 (v3 branch), 4.26.3 (v4 branch), or 5.4.4 (v5 branch) are vulnerable. No authentication is required by the library itself, but application-level authentication on the endpoint would limit the pool of potential attackers. |
| Impact | The CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:N/UI:A/VA:H/SA:L) scores 6.9, reflecting low attack complexity and no authentication requirement, tempered by the need for active user interaction (UI:A) - a user or automated process must submit the malicious file for rendering. The high availability impact (VA:H) models a full server crash, with a low secondary availability impact (SA:L) suggesting cascading effects on dependent services. No EPSS score was provided in the input data, so exploitation probability cannot be quantified. There is no CISA KEV listing, confirming no known active exploitation at time of analysis, and no public proof-of-concept exploit was identified. Real-world risk is heavily deployment-dependent: applications that accept user-supplied .docx templates from untrusted parties are directly exploitable, while deployments that only process internally managed templates are not remotely triggerable. The missing EPSS data is a gap - risk prioritization should be based on whether the deployment accepts external template input. |
| Exploit ScenarioDerived | An attacker submits a specially crafted .docx file - a compressed ZIP archive engineered to expand to gigabytes of data - to any Carbone-powered document generation endpoint that accepts user-supplied templates. When Carbone unzips the archive entries via yazl with no size validation, the Node.js heap grows uncontrollably until the process exhausts available memory and crashes, denying service to all users of the application. No proof-of-concept exploit has been publicly released, but zip bomb generation is a well-understood and low-skill technique with freely available tooling. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Aug 18, 2026
Denial of service in Carbone, a Node.js document generation library, allows remote attackers to crash application servers by supplying a maliciously crafted zip bomb embedded in a .docx template file. The library processed .docx archives (which are ZIP containers) using yazl without enforcing any limit on decompressed entry sizes, enabling an attacker-controlled file to trigger runaway memory allocation that terminates the Node.js process. Fixed in versions 3.8.2, 4.26.3, and 5.4.4 across all distribution types; no public exploit or CISA KEV listing identified at time of analysis.
RemediationAI
Upgrade Carbone to version 3.8.2, 4.26.3, or 5.4.4 according to the major version branch in active use; the patch is available across all distribution types and was confirmed via commit eb9b4cff992cc1cb1a319d7fc0cbd09160dc214e at https://github.com/carboneio/carbone/commit/eb9b4cff992cc1cb1a319d7fc0cbd09160dc214e. If an immediate upgrade is not feasible, restrict which users or roles may submit .docx template files to Carbone rendering endpoints - eliminating untrusted template input removes the attack surface entirely and is the most effective compensating control. As a secondary mitigation, applying Node.js process memory limits (--max-old-space-size) or container-level memory caps can constrain blast radius, but will not prevent the decompression attempt from being triggered and may cause broader service disruption. File-size limits at the HTTP or load-balancer layer provide partial protection but are insufficient alone, as zip bombs are by definition small in compressed form. Consult the CERT-PL advisory at https://cert.pl/en/posts/2026/08/CVE-2026-18929 for further guidance.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
Carbone is a Node.js library for generating documents from Office Open XML templates, including .docx files. The .docx format is itself a ZIP archive, and Carbone relied on the yazl library for decompression without enforcing bounds on the uncompressed size of ZIP entries. CWE-409 (Improper Handling of Highly Compressed Data / Data Amplification) describes this class of flaw precisely: the DEFLATE compression algorithm can achieve extreme ratios, and a ZIP bomb exploits this by nesting or referencing highly compressed payloads that expand to gigabytes when decompressed. The fix commit (eb9b4cff992cc1cb1a319d7fc0cbd09160dc214e) and its CHANGELOG entry explicitly confirm the corrective action: 'Add limits for unzipped templates to improve resistance to zip bomb denial-of-service attacks.' The affected CPE is cpe:2.3:a:carbone:carbone:*:*:*:*:*:*:*:* covering all versions prior to the patched releases across the v3, v4, and v5 branches.
Know when Carbone gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
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
File delivered over network with no authentication; active template submission required (UI:R); availability-only impact confined to the vulnerable process with no scope change.
Primary rating from Vendor (CERT-PL).
CVSS VectorVendor: CERT-PL
DescriptionCVE.org
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.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.
EUVD-2026-60574
GHSA-g3fg-g325-xmh2
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB