CVE-2021-23158
9.8critical
A flaw was found in htmldoc in v1.9.12.
- Severity
- 9.8critical CVSS:3.1 by NVD
- Exploit likelihood
- 2.44% (higher than 84% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- redhat
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| htmldoc | Affects v1.9.12 and before. | CVE List |
| htmldoc_project htmldoc | 1.9.12 | NVD |
All scores
| NVD | 9.8critical CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | 7.5high CVSS:2.0 | AV:N/AC:L/Au:N/C:P/I:P/A:P |
Classification
What each source says
CVE List
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.
NVD (es)
Se ha encontrado un fallo en htmldoc en versión 1.9.12. Una doble liberación en la función pspdf_export(), en el archivo ps-pdf.cxx puede resultar en una condición de escritura en cualquier lugar, permitiendo a un atacante ejecutar código arbitrario y denegación de servicio
References
| https://github.com/michaelrsweet/htmldoc/issues/414 | exploit, issue-tracking, third-party-advisory | |
| 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 | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2021-23158 changed 2024-08-03 | CVE Terms of Use |
| NVD | CVE-2021-23158 changed 2026-06-17 | Public domain |