CVE-2026-82864

pdfme pdf-lib before 5.5.10 Denial of Service via Decompression Bomb

Published Aug 31, 2026 CVSS 4.0 · 7.1 High EPSS < 1% KEV · Not listed
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.

Analysis

AI-generated

Technical 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.

Remediation

No solution or workaround provided in the CVE record.

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 available
History
Type Values Removed Values Added
First Time appeared Pdfme
Pdfme pdf-lib
Vendors & Products Pdfme
Pdfme pdf-lib
Type Values Removed Values Added
Metrics ssvc

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

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'}

Weaknesses
  • CWE-409

    Improper Handling of Highly Compressed Data (Data Amplification)

Sources

Status
PUBLISHED
Assigner
VulnCheck
Published
Updated
Oct 8, 2026, 3:25 PM
Reserved
Aug 31, 2026, 8:37 AM
Status
Deferred
Published
Aug 31, 2026, 9:17 AM
Modified
Oct 8, 2026, 4:17 PM