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.
{
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/33xxx/CVE-2026-33438.json",
"cna_assigner": "GitHub_M",
"cwe_ids": [
"CWE-770"
]
}"2026-04-12T20:14:10Z"
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-33438.json"
[
{
"digest": {
"threshold": 0.9,
"line_hashes": [
"204950583018872886892143125084184862389",
"62540230431282765624811505592326250692",
"302033695544518156920303292527690209877",
"141103952741586010867327455456373619714"
]
},
"target": {
"file": "app/core/src/main/java/stirling/software/SPDF/controller/api/security/WatermarkController.java"
},
"signature_type": "Line",
"signature_version": "v1",
"deprecated": false,
"id": "CVE-2026-33438-a79b885c",
"source": "https://github.com/stirling-tools/stirling-pdf/commit/7631b222bde7f04e8b591c3566017c5315df896d"
}
]