Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2026-25535

published high CVSS 4.0 · 8.7

jsPDF Affected by Client-Side/Server-Side Denial of Service via Malicious GIF Dimensions

Published
19 Feb 2026, 14:34:05 UTC
Updated
07 Sep 2026, 12:04:56 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
parallax — jsPDF< 4.2.0 Affected Not stated GitHub_M
Red Hat — advanced-cluster-security/rhacs-main-rhel8Red Hat Advanced Cluster Security 4.8 · 1775594119 and later · Other versions: affected Unaffected Not stated redhat-SADP
Red Hat — advanced-cluster-security/rhacs-main-rhel8Red Hat Advanced Cluster Security 4.9 · 1775594284 and later · Other versions: affected Unaffected Not stated redhat-SADP

Description

jsPDF is a library to generate PDFs in JavaScript. Prior to 4.2.0, user control of the first argument of the `addImage` method results in denial of service. If given the possibility to pass unsanitized image data or URLs to the `addImage` method, a user can provide a harmful GIF file that results in out of memory errors and denial of service. Harmful GIF files have large width and/or height entries in their headers, which lead to excessive memory allocation. Other affected methods are: `html`. The vulnerability has been fixed in jsPDF 4.2.0. As a workaround, sanitize image data or URLs before passing it to the addImage method or one of the other affected methods.

en · GitHub_M · cna

en · redhat-SADP · adp

A flaw was found in jsPDF. The addImage and html methods accept user input in their first argument without proper sanitization. An attacker can supply a specially crafted GIF file, specifically with invalid width and height header values, forcing the application to allocate an excessive amount of memory, leading to an out-of-memory condition, causing an application crash and denial of service.

Vendor advisories explicitly linked to this CVE.

0

No linked advisories were found for this CVE.

Assessment

CVSS risk assessment and additional context for this vulnerability.

CVSS version
4.0
Base score
8.7 / 10
Severity
high
Provider
GitHub_M · cna
Vector string
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N

Additional Assessments

Additional normalized CVSS assessments
VersionScoreSeverityProviderVectorScenarios
3.1 7.5 high redhat-SADP · adp CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H —

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
parallax jsPDF < 4.2.0 (affected) GitHub_M · cna
Red Hat Red Hat Advanced Cluster Security 4.8 1775594119 and later (unaffected · rpm)Default: affected redhat-SADP · adp
Red Hat Red Hat Advanced Cluster Security 4.9 1775594284 and later (unaffected · rpm)Default: affected redhat-SADP · adp

Weaknesses

3
  • CWE-400 CWE-400: Uncontrolled Resource Consumption (GitHub_M · cna)
  • CWE-770 CWE-770: Allocation of Resources Without Limits or Throttling (GitHub_M · cna)
  • CWE-770 Allocation of Resources Without Limits or Throttling (redhat-SADP · adp)

References

9

Provider assertions

3

GitHub_M · cna

jsPDF Affected by Client-Side/Server-Side Denial of Service via Malicious GIF Dimensions

redhat-SADP · adp

jsPDF: denial of service via malicious GIF dimensions

CISA-ADP · adp

CISA ADP Vulnrichment

Provenance

Schema
5.2
Searchable
yes
Content hash
fd04b18a4395fe4763668c7017abb1997e53a91ce5942bb655158e526261f313
Ingested
23 Sep 2026, 09:06:52 UTC
Source record
Official CVE record

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected