CVE-2021-39540
HIGHCVSS 7.8/10EPSS 1.02%
Last modified
CVE-2021-39540 is a high-severity vulnerability rated 7.8/10 on the CVSS scale. An issue was discovered in pdftools through 20200714. A stack-buffer-overflow exists in the function Analyze::AnalyzePages() located in analyze.cpp. EPSS estimates a 1.02% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Pdftools Project | Pdftools | <= 2020-07-14 |
References
- https://github.com/leonhad/pdftools/issues/2Exploit, Issue Tracking, Third Party Advisory
- https://github.com/leonhad/pdftools/issues/2Exploit, Issue Tracking, Third Party Advisory
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2021-39540?
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.
How severe is CVE-2021-39540?
CVE-2021-39540 has a CVSS score of 7.8/10 (HIGH severity). The EPSS model estimates a 1.02% probability of exploitation in the next 30 days.
How do I fix CVE-2021-39540?
Check the vendor references and advisories linked above for patched versions and mitigation guidance. You can also run a Strix scan to test if your systems are affected.
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2021
- CVE-2021-39534An issue was discovered in libslax through v0.22.1. slaxIsCo…8.8
- CVE-2021-39535An issue was discovered in libxsmm through v1.16.1-93. A NUL…6.5
- CVE-2021-39536An issue was discovered in libxsmm through v1.16.1-93. The J…8.8
- CVE-2021-39537An issue was discovered in ncurses through v6.2-1. _nc_capto…8.8
- CVE-2021-39538An issue was discovered in pdftools through 20200714. A NULL…5.5
- CVE-2021-39539An issue was discovered in pdftools through 20200714. A NULL…5.5
- CVE-2021-39541An issue was discovered in pdftools through 20200714. A NULL…5.5
- CVE-2021-39542An issue was discovered in pdftools through 20200714. A NULL…5.5
- CVE-2021-39543An issue was discovered in pdftools through 20200714. A NULL…5.5
- CVE-2021-39544An issue was discovered in sela through 20200412. file::WavF…7.8
- CVE-2021-39545An issue was discovered in sela through 20200412. A NULL poi…5.5
- CVE-2021-39546An issue was discovered in sela through 20200412. rice::Rice…7.8
Are you affected by CVE-2021-39540?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
