VDB

CVE-2021-23158

CVE-2021-23158 PUBLISHED

Reported by redhat · Published March 16, 2022

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.

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
htmldocArch Linux1.9.12-1
htmldocUbuntu:Pro:14.04:LTS1.8.27-8ubuntu1+esm3
htmldocUbuntu:Pro:18.04:LTS1.9.2-1ubuntu0.2+esm1
htmldocUbuntu:Pro:20.04:LTS1.9.7-1ubuntu0.3+esm1
htmldocUbuntu:Pro:16.04:LTS1.8.27-8ubuntu1.1+esm2

Affected products

VendorProductVersions
n/ahtmldocAffects v1.9.12 and before.
archhtmldoc0
n/ahtmldoc1.9.12

Timeline

  • Mar 16, 2022 CVE Published
  • Mar 17, 2022 EPSS Score (30 in total, the first dated here)
  • Aug 3, 2024 CVE Updated
  • Mar 7, 2026 Distribution Patch
  • Mar 7, 2026 Security Advisory (2 in total, the first dated here)
  • Aug 25, 2026 Coalition ESS Score

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2021-23158
vulnetix vdb fixes CVE-2021-23158

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2021-23158/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

References

  • x_refsource_MISC
  • x_refsource_MISC
  • x_refsource_MISC
Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›