Description
pdfme pdf-lib versions before 5.5.10 contain an unbounded buffer growth vulnerability in the DecodeStream.ensureBuffer() method that allows attackers to cause denial of service by supplying a crafted PDF with a FlateDecode stream containing a decompression bomb. Attackers can upload a small compressed PDF that decompresses to hundreds of megabytes, exhausting memory and crashing the Node.js process or freezing browser tabs during PDF parsing.
Published: 2026-08-31
Score: 7.1 High
EPSS: < 1% Very Low
KEV: No
Impact: Denial of Service
Action: Patch Now
AI Analysis

Impact

The vulnerability is an unbounded buffer growth in the DecodeStream.ensureBuffer() method, leading to denial of service when parsing FlateDecode streams with decompression bombs. Attackers can supply a small compressed PDF that expands to hundreds of megabytes, exhausting memory and crashing the Node.js process or freezing browser tabs during PDF parsing. The weakness is CWE-409.

Affected Systems

The affected product is pdfme’s pdf-lib library. All released versions prior to 5.5.10 are vulnerable; no other version information is available. Deployments that rely on pdf-lib for PDF rendering or processing are potentially impacted.

Risk and Exploitability

The CVSS score of 7.1 classifies the issue as high, indicating that memory exhaustion can lead to significant availability disruption. While the EPSS score is not available, the technique of a decompression bomb is a well‑known denial‑of‑service exploitation method. An attacker can trigger the failure simply by transmitting a crafted PDF to an application that uses pdf-lib for parsing, whether on a Node.js server or within a browser. The vulnerability is not currently listed in CISA’s KEV catalog, but the high impact mandates prompt mitigation.

Generated by OpenCVE AI on August 31, 2026 at 10:25 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade pdf-lib to version 5.5.10 or later.
  • If upgrading immediately is not feasible, configure the application to reject or defer processing of PDF files that exceed a safe memory threshold before decompression.
  • Limit the memory allocation and set strict resource limits for the Node.js process that handles PDF parsing.
  • Disable or sandbox FlateDecode stream processing from untrusted PDF sources whenever possible.

Generated by OpenCVE AI on August 31, 2026 at 10:25 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Mon, 31 Aug 2026 21:45:00 +0000

Type Values Removed Values Added
First Time appeared Pdfme
Pdfme pdf-lib
Vendors & Products Pdfme
Pdfme pdf-lib

Mon, 31 Aug 2026 19:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

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


Mon, 31 Aug 2026 09:00:00 +0000

Type Values Removed Values Added
Description pdfme pdf-lib versions before 5.5.10 contain an unbounded buffer growth vulnerability in the DecodeStream.ensureBuffer() method that allows attackers to cause denial of service by supplying a crafted PDF with a FlateDecode stream containing a decompression bomb. Attackers can upload a small compressed PDF that decompresses to hundreds of megabytes, exhausting memory and crashing the Node.js process or freezing browser tabs during PDF parsing.
Title pdfme pdf-lib before 5.5.10 Denial of Service via Decompression Bomb
First Time appeared Pdflib
Pdflib pdflib
Weaknesses CWE-409
CPEs cpe:2.3:a:pdflib:pdflib:*:*:*:*:*:*:*:*
Vendors & Products Pdflib
Pdflib pdflib
References
Metrics cvssV3_1

{'score': 6.5, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H'}

cvssV4_0

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


cve-icon MITRE

Status: PUBLISHED

Assigner: VulnCheck

Published:

Updated: 2026-08-31T18:51:47.171Z

Reserved: 2026-08-31T08:37:53.169Z

Link: CVE-2026-82864

cve-icon Vulnrichment

Updated: 2026-08-31T16:23:11.410Z

cve-icon NVD

Status : Deferred

Published: 2026-08-31T09:17:06.957

Modified: 2026-09-10T15:53:23.707

Link: CVE-2026-82864

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-31T21:21:51Z

Weaknesses
  • CWE-409

    Improper Handling of Highly Compressed Data (Data Amplification)