npm package report

Is @pdfme/pdf-lib safe?

1 known vulnerability, worst severity MODERATE.

cvss
5.0

how bad it is if exploited, out of 10

epss
not scored

chance of exploitation in the next 30 days

xyz score
not scored

CyberXYZ composite, out of 10

fig. 01 — GHSA-vrqm-gvq7-rrwh, the advisory selected below

// advisories

GHSA-vrqm-gvq7-rrwh

MODERATE

The DecodeStream.ensureBuffer() method in @pdfme/pdf-lib doubles its internal buffer without any upper bound on the decompressed size. A crafted PDF containing a FlateDecode stream with a high compression ratio (decompression bomb) causes unbounded memory allocation during stream decoding, leading to memory exhaustion and denial of service in both server-side (generator) and client-side (UI) conte

Affected
>=0, <5.5.10, <= 5.5.9
Fixed in
5.5.10
Weakness
CWE-409
Published
2026-03-20
Source
osv

OSV


// ai model usage

Tracked for PyPI packages. HuggingFace models declare Python dependencies, so npm packages are not covered.


Checked 2026-09-22 at 03:44 UTC. The most recent advisory here was published 2026-03-20. Updated continuously from NVD, GHSA, OSV and CNA feeds.

Think a verdict here is wrong? Tell us — we respond within 2 business days.
Is @pdfme/pdf-lib safe? npm package security report | CyberXYZ