CVE-2022-24191: Buffer Overflow

Published Apr 4, 2022
·
Updated

In HTMLDOC 1.9.14, an infinite loop in the gifreadlzw function can lead to a pointer arbitrarily pointing to heap memory and resulting in a buffer overflow.

Affected Software

3 affected componentsFixes available
debian/htmldoc
1.9.11-4+deb11u31.9.16-11.9.20-1
Htmldoc Project Htmldoc<1.9.15
Fedoraproject Fedora=34

Event History

Apr 4, 2022
CVE Published
via MITRE·10:33 AM
Data Sourced
via MITRE·10:33 AM
Description
Jan 23, 2025
Data Sourced
via Launchpad·11:42 PM
Description
Feb 1, 2025
Data Sourced
via Ubuntu·11:01 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-2022-24191?

CVE-2022-24191 is a vulnerability in HTMLDOC 1.9.14 that allows an attacker to cause a buffer overflow by exploiting an infinite loop in the gif_read_lzw function, potentially leading to remote code execution.

2

How severe is CVE-2022-24191?

CVE-2022-24191 has a severity rating of medium, with a CVSS score of 5.5.

3

What software versions are affected by CVE-2022-24191?

HTMLDOC versions up to but excluding 1.9.15 and Fedora 34 are affected by CVE-2022-24191.

4

How can CVE-2022-24191 be exploited?

CVE-2022-24191 can be exploited by an attacker creating a specially crafted GIF file and causing an infinite loop in the gif_read_lzw function, leading to a buffer overflow.

5

Are there any references for CVE-2022-24191?

Yes, you can find more information about CVE-2022-24191 at the following references: [Link 1](https://github.com/michaelrsweet/htmldoc/issues/470) [Link 2](https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/6RPDZLHOMPSA2LBXXFTZ5UADZWGYYWH7/)

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