{"id":"CVE-2021-39540","aliases":["EUVD-2021-25897","GHSA-r9wv-hpvc-6wj6"],"status":"published","title":"An issue was discovered in pdftools through 20200714. A stack-buffer-overflow exists in the...","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.","severity":{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","level":"high","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-12","score":0.01052,"percentile":0.64791,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":false},"cwes":["CWE-787"],"published":"2021-09-20T15:26:56Z","modified":"2026-06-17T04:03:47Z","products":[{"vendor":"pdftools_project","product":"pdftools"}],"references":[{"url":"https://github.com/leonhad/pdftools/issues/2","tags":["x_refsource_MISC","x_transferred","Exploit","Issue Tracking","Third Party Advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-39540"},{"url":"https://github.com/advisories/GHSA-r9wv-hpvc-6wj6"}],"sources":{"cve":[{"id":"CVE-2021-39540","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.","status":"published","published":"2021-09-20T15:26:56Z","modified":"2024-08-04T02:06:42.565Z","updated_at":"2026-11-02T14:33:09.864034Z"}],"euvd":[{"id":"EUVD-2021-25897","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.","status":"published","published":"2021-09-20T15:26:56Z","modified":"2024-08-04T02:06:42Z","updated_at":"2026-11-03T03:24:23.166742Z"}],"ghsa":[{"id":"GHSA-r9wv-hpvc-6wj6","title":"An issue was discovered in pdftools through 20200714. A stack-buffer-overflow exists in the...","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.","status":"published","published":"2022-05-24T19:15:09Z","modified":"2023-01-30T05:02:17Z","cwes":["CWE-787"],"updated_at":"2026-11-02T14:46:36.123786Z"}],"nvd":[{"id":"CVE-2021-39540","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.","status":"published","published":"2021-09-20T16:15:12.61Z","modified":"2026-06-17T04:03:47.09Z","cvss":[{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","level":"high","assessor":"primary"},{"version":"2.0","score":6.8,"vector":"AV:N/AC:M/Au:N/C:P/I:P/A:P","level":"medium","assessor":"primary"}],"cwes":["CWE-787"],"updated_at":"2026-11-02T14:06:58.933037Z"}]}}
