CVE-2021-39540
7.8 HIGHAn issue was discovered in pdftools through 20200714
Published: 2021-09-20 · Last updated: 2026-06-17
Severity and scoring
- CVSS
- 7.8 HIGH
- Vector
- CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
- CWE
- CWE-787
Affected products
| Vendor | Product |
|---|---|
| pdftools_project | pdftools |
Description
An issue was discovered in pdftools through 20200714. A stack-buffer-overflow exists in the function Analyze::AnalyzePages() located in analyze.cpp. It allows an attacker to cause code Execution.
Source: NVD
References
- [NVD]https://nvd.nist.gov/vuln/detail/CVE-2021-39540
- [Exploit reference]https://github.com/leonhad/pdftools/issues/2
- [Exploit reference]https://github.com/leonhad/pdftools/issues/2
Related CVEs
Same vendor
- CVE-2021-39543 — An issue was discovered in pdftools through 20200714 (5.5 MEDIUM)
- CVE-2021-39542 — An issue was discovered in pdftools through 20200714 (5.5 MEDIUM)
- CVE-2021-39541 — An issue was discovered in pdftools through 20200714 (5.5 MEDIUM)
- CVE-2021-39539 — An issue was discovered in pdftools through 20200714 (5.5 MEDIUM)
- CVE-2021-39538 — An issue was discovered in pdftools through 20200714 (5.5 MEDIUM)
Same CWE
- CVE-2026-47750 — stable-diffusion.cpp is a pure C/C++ library for running diffusion model (Stable Diffusion, Flux, Wan, Qwen Image, Z-Image, and more) inf... (7.8 HIGH)
- CVE-2026-47747 — stable-diffusion.cpp is a pure C/C++ library for running diffusion model (Stable Diffusion, Flux, Wan, Qwen Image, Z-Image, and more) inf... (7.8 HIGH)
- CVE-2026-47749 — stable-diffusion.cpp is a pure C/C++ library for running diffusion model (Stable Diffusion, Flux, Wan, Qwen Image, Z-Image, and more) inf... (7.8 HIGH)
- CVE-2026-12314 — Memory safety bug fixed in Thunderbird 152 (7.5 HIGH)
- CVE-2026-12310 — Memory safety bug fixed in Thunderbird 152 (7.5 HIGH)