---
id: CVE-2026-82864
title: >-
  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 contain…
summary: >-
  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 contain…
severity: medium
cvss: 6.5
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H'
cwe:
  - CWE-409
published: '2026-08-31'
updated: '2026-09-10'
sourceUpdated: '2026-09-10T15:53:23.707'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-82864'
references:
  - url: 'https://github.com/pdfme/pdfme/security/advisories/GHSA-vrqm-gvq7-rrwh'
    label: disclosure@vulncheck.com
  - url: >-
      https://www.vulncheck.com/advisories/pdfme-pdf-lib-before-5.5.10-denial-of-service-via-decompression-bomb
    label: disclosure@vulncheck.com
tags:
  - nvd
epss: 0.00436
epssPercentile: 0.35131
ingestedAt: '2026-09-10T16:57:28.695Z'
---

## Overview

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.

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
