CVE-2021-23191: Null Pointer Dereference

Published Jun 2, 2021
·
Updated

A flaw was found in htmldoc in versions prior to 1.9.12. NULL pointer dereference in function imageloadjpeg(),in image.cxx may result in code execution and denial of service.

Reference: https://github.com/michaelrsweet/htmldoc/issues/415

Upstream patch: https://github.com/michaelrsweet/htmldoc/commit/369b2ea1fd0d0537ba707f20a2f047b6afd2fbdc

Other sources

A security issue was found in htmldoc v1.9.12 and before. A NULL pointer dereference in the function imageloadjpeg() in image.cxx may result in denial of service.

Launchpad

Affected Software

3 affected componentsFixes available
redhat/htmldoc<1.9.12
1.9.12
debian/htmldoc
1.9.11-4+deb11u31.9.16-11.9.20-1
Htmldoc Project Htmldoc<=1.9.12

Event History

Mar 2, 2022
CVE Published
via MITRE·10:28 PM
Data Sourced
via MITRE·10:28 PM
DescriptionWeakness
Jan 11, 2024
Data Sourced
via Launchpad·11:54 PM
Description
Jan 12, 2025
Data Sourced
via Ubuntu·04:22 AM
RemedyDescriptionSeverityAffected Software
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is CVE-2021-23191?

CVE-2021-23191 is a security vulnerability found in htmldoc v1.9.12 and before that can result in denial of service due to a NULL pointer dereference in the image_load_jpeg() function.

2

What is the severity of CVE-2021-23191?

CVE-2021-23191 has a severity level of 7.8 (High).

3

How does CVE-2021-23191 affect the affected software?

CVE-2021-23191 affects htmldoc v1.9.12 and earlier versions, potentially leading to denial of service.

4

How can I fix CVE-2021-23191?

To fix CVE-2021-23191, it is recommended to update htmldoc to a version that includes the necessary security patches or apply the provided fixes from the vendor.

5

Where can I find more information about CVE-2021-23191?

More information about CVE-2021-23191 can be found at the following references: [CVE Details](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-23191), [GitHub Issue](https://github.com/michaelrsweet/htmldoc/issues/415), [GitHub Commit](https://github.com/michaelrsweet/htmldoc/commit/369b2ea1fd0d0537ba707f20a2f047b6afd2fbdc).

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203