Vulnerability Details : CVE-2021-23158
Potential exploit
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.
Vulnerability category: Memory CorruptionExecute codeDenial of service
Products affected by CVE-2021-23158
- cpe:2.3:a:htmldoc_project:htmldoc:1.9.12:*:*:*:*:*:*:*
Exploit prediction scoring system (EPSS) score for CVE-2021-23158
0.77%
Probability of exploitation activity in the next 30 days
EPSS Score History
~ 72 %
Percentile, the proportion of vulnerabilities that are scored at or less
CVSS scores for CVE-2021-23158
Base Score | Base Severity | CVSS Vector | Exploitability Score | Impact Score | Score Source | First Seen |
---|---|---|---|---|---|---|
7.5
|
HIGH | AV:N/AC:L/Au:N/C:P/I:P/A:P |
10.0
|
6.4
|
NIST | |
9.8
|
CRITICAL | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
3.9
|
5.9
|
NIST |
CWE ids for CVE-2021-23158
-
The product calls free() twice on the same memory address.Assigned by:
- nvd@nist.gov (Primary)
- secalert@redhat.com (Secondary)
References for CVE-2021-23158
-
https://bugzilla.redhat.com/show_bug.cgi?id=1967018
1967018 – (CVE-2021-23158) CVE-2021-23158 htmldoc: double-free in function pspdf_export()Issue Tracking;Third Party Advisory
-
https://github.com/michaelrsweet/htmldoc/issues/414
AddressSanitizer: double-free in function pspdf_export ps-pdf.cxx:945:7 · Issue #414 · michaelrsweet/htmldoc · GitHubExploit;Issue Tracking;Third Party Advisory
-
https://github.com/michaelrsweet/htmldoc/commit/369b2ea1fd0d0537ba707f20a2f047b6afd2fbdc
Fix JPEG error handling (Issue #415) · michaelrsweet/htmldoc@369b2ea · GitHubPatch;Third Party Advisory
Jump to