What’s Vulnerable › Vulnerabilities

CVE-2026-33438: Stirling-PDF vulnerable to DoS via add-watermark

Description

Stirling-PDF is a locally hosted web application that allows you to perform various operations on PDF files. Versions starting in 2.1.5 and prior to 2.5.2 have Denial of Service (DoS) vulnerability in the Stirling-PDF watermark functionality (`/api/v1/security/add-watermark` endpoint). The vulnerability allows authenticated users to cause resource exhaustion and server crashes by providing extreme values for the `fontSize` and `widthSpacer` parameters. Version 2.5.2 patches the issue.

Affected products

How to fix

Upgrade to a fixed version: Stirling Pdf 2.5.2. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2026-33438 or the next vulnerability affects your stack