A flaw was found in htmldoc in v1.9.12. Double-free in function pspdf_export(),in ps-pdf.cxx may result in a write-what-where condition, allowing an attacker to execute arbitrary code and denial of service.
Conclusion & alert: CVE-2021-23158 is rated High Exploit Risk (84.4/100): CVSS Critical severity, with medium exploitation likelihood (EPSS 2.28%). Core evidence: 1 public exploit reference(s) are indexed (Exploit-DB). EPSS rose +1.95% over the last day, indicating growing attacker interest. Mandatory action: Public exploits are available—assess exposure, apply mitigations, and prioritize patching.
Risk is dynamic; we continuously reassess and refresh what is shown on this page as upstream context changes.
| EDB-ID | Source | Kind | Published | Link |
|---|---|---|---|---|
| — | nvd_ref | exploit_tag | Exploit-DB ↗ |
EPSS lead: Daily EPSS estimates relative likelihood of exploitation; percentile ranks this CVE among scored vulnerabilities (higher = more severe relative rank).
| # | Date | Old EPSS score | New EPSS score | Delta (New - Old) |
|---|---|---|---|---|
| 1 | 2026-06-15 | 0.33% | 2.28% | +1.95% |
| 2 | 2026-02-16 | 0.46% | 0.33% | -0.13% |
| 3 | 2025-11-21 | — | 0.46% | — |
Full EPSS history (23 records total)
CVSS metrics for this CVE.
| Base score | Version | Severity | Vector | Exploitability | Impact | Score source |
|---|---|---|---|---|---|---|
| 9.8 | 3.1 | CRITICAL |
|
3.9 | 5.9 | [email protected] |
| 7.5 | 2.0 | HIGH |
|
10.0 | 6.4 | [email protected] |
| vendor | priority | summary | link |
|---|---|---|---|
debian
|
unimportant | CVE-2021-23158 unimportant priority: Debian including 1 source packages (htmldoc), 5 status rows across 5 suites (bookworm, bullseye, forky, sid, trixie): resolved 5. | https://security-tracker.debian.org/tracker/CVE-2021-23158 |
gentoo
|
normal | CVE-2021-23158: 1 GLSA(s) (202405-07), 1 atom(s) (app-text/htmldoc); latest impact normal. | https://bugs.gentoo.org/buglist.cgi?quicksearch=CVE-2021-23158 |
suse
|
critical | — | https://www.suse.com/security/cve/CVE-2021-23158/ |
ubuntu
|
medium | CVE-2021-23158 medium priority: Ubuntu including 1 source packages (htmldoc), 15 status rows across 15 suites (bionic, focal, groovy, hirsute, impish, jammy, kinetic, lunar, mantic, noble, oracular, plucky, trusty, upstream, xenial): ignored 6, released 5, not-affected 4. | https://ubuntu.com/security/CVE-2021-23158 |
| Vendor | Product | Version | Raw CPE |
|---|---|---|---|
| htmldoc_project | htmldoc | 1.9.12 | cpe:2.3:a:htmldoc_project:htmldoc:1.9.12:*:*:*:*:*:*:* |
| URL | Tags |
|---|---|
| https://bugzilla.redhat.com/show_bug.cgi?id=1967018 | Issue Tracking Third Party Advisory |
| https://github.com/michaelrsweet/htmldoc/commit/369b2ea1fd0d0537ba707f20a2f047b6afd2fbdc | Patch Third Party Advisory |
| https://github.com/michaelrsweet/htmldoc/issues/414 | Exploit Issue Tracking Third Party Advisory |