CVE-2021-23158
CRITICALCVSS 9.8/10EPSS 2.28%
Last modified
CVE-2021-23158 is a critical-severity vulnerability rated 9.8/10 on the CVSS scale. 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.. EPSS estimates a 2.28% chance of exploitation in the next 30 days.
Description
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.
Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Htmldoc Project | Htmldoc | 1.9.12 |
References
- https://bugzilla.redhat.com/show_bug.cgi?id=1967018Issue Tracking, Third Party Advisory
- https://github.com/michaelrsweet/htmldoc/commit/369b2ea1fd0d0537ba707f20a2f047b6afd2fbdcPatch, Third Party Advisory
- https://github.com/michaelrsweet/htmldoc/issues/414Exploit, Issue Tracking, Third Party Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=1967018Issue Tracking, Third Party Advisory
- https://github.com/michaelrsweet/htmldoc/commit/369b2ea1fd0d0537ba707f20a2f047b6afd2fbdcPatch, Third Party Advisory
- https://github.com/michaelrsweet/htmldoc/issues/414Exploit, Issue Tracking, Third Party Advisory
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2021-23158?
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.
How severe is CVE-2021-23158?
CVE-2021-23158 has a CVSS score of 9.8/10 (CRITICAL severity). The EPSS model estimates a 2.28% probability of exploitation in the next 30 days.
How do I fix CVE-2021-23158?
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-23151Rejected reason: DO NOT USE THIS CANDIDATE NUMBER. ConsultID…
- CVE-2021-23152Improper access control in the Intel(R) Advisor software bef…7.8
- CVE-2021-23154In Lens prior to 5.3.4, custom helm chart configuration crea…7.8
- CVE-2021-23155Improper validation of the cloud certificate chain in Mobile…6.8
- CVE-2021-23156Rejected reason: DO NOT USE THIS CANDIDATE NUMBER. ConsultID…
- CVE-2021-23157WECON LeviStudioU Versions 2019-09-21 and prior are vulnerab…7.8
- CVE-2021-23159A vulnerability was found in SoX, where a heap-buffer-overfl…5.5
- CVE-2021-2316Vulnerability in the Oracle HRMS (France) product of Oracle …8.1
- CVE-2021-23161Rejected reason: DO NOT USE THIS CANDIDATE NUMBER. ConsultID…
- CVE-2021-23162Improper validation of the cloud certificate chain in Mobile…8.1
- CVE-2021-23163JFrog Artifactory prior to version 7.33.6 and 6.23.38, is vu…8.8
- CVE-2021-23165A flaw was found in htmldoc before v1.9.12. Heap buffer over…9.8
Are you affected by CVE-2021-23158?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
