HTMLDOC up to 1.9.11 BMP Image image_load_bmp buffer overflow
| CVSS Meta Temp Score | Current Exploit Price (≈) | CTI Interest Score |
|---|---|---|
| 4.4 | $0-$5k | 0.00 |
Summary
A vulnerability classified as critical has been found in HTMLDOC up to 1.9.11. This issue affects the function image_load_bmp of the component BMP Image Handler. Performing a manipulation results in buffer overflow.
This vulnerability was named CVE-2021-40985. There is no available exploit.
It is recommended to upgrade the affected component.
Details
A vulnerability classified as problematic has been found in HTMLDOC up to 1.9.11. This affects the function image_load_bmp of the component BMP Image Handler. The manipulation with an unknown input leads to a buffer overflow vulnerability. CWE is classifying the issue as CWE-120. The product copies an input buffer to an output buffer without verifying that the size of the input buffer is less than the size of the output buffer, leading to a buffer overflow. This is going to have an impact on availability.
The weakness was presented 11/03/2021 as 444. It is possible to read the advisory at github.com. This vulnerability is uniquely identified as CVE-2021-40985 since 09/13/2021. Technical details of the vulnerability are known, but there is no available exploit.
The vulnerability scanner Nessus provides a plugin with the ID 213544 (Ubuntu 14.04 LTS / 18.04 LTS / 20.04 LTS : HTMLDOC vulnerabilities (USN-7189-1)), which helps to determine the existence of the flaw in a target environment.
Upgrading to version 1.9.12 eliminates this vulnerability. Applying the patch f12b9666e582a8e7b70f11b28e5ffc49ad625d43 is able to eliminate this problem. The bugfix is ready for download at github.com. The best possible mitigation is suggested to be upgrading to the latest version.
The vulnerability is also documented in the vulnerability database at Tenable (213544). Statistical analysis made it clear that VulDB provides the best quality for vulnerability data.
Product
Name
Version
License
CPE 2.3
CPE 2.2
CVSSv4
VulDB Vector: 🔍VulDB Reliability: 🔍
CVSSv3
VulDB Meta Base Score: 4.5VulDB Meta Temp Score: 4.4
VulDB Base Score: 3.5
VulDB Temp Score: 3.4
VulDB Vector: 🔍
VulDB Reliability: 🔍
NVD Base Score: 5.5
NVD Vector: 🔍
CVSSv2
| AV | AC | Au | C | I | A |
|---|---|---|---|---|---|
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| Vector | Complexity | Authentication | Confidentiality | Integrity | Availability |
|---|---|---|---|---|---|
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
VulDB Base Score: 🔍
VulDB Temp Score: 🔍
VulDB Reliability: 🔍
NVD Base Score: 🔍
Exploiting
Class: Buffer overflowCWE: CWE-120 / CWE-119
CAPEC: 🔍
ATT&CK: 🔍
Physical: Partially
Local: Yes
Remote: Yes
Availability: 🔍
Status: Not defined
EPSS Score: 🔍
EPSS Percentile: 🔍
Price Prediction: 🔍
Current Price Estimation: 🔍
| 0-Day | Unlock | Unlock | Unlock | Unlock |
|---|---|---|---|---|
| Today | Unlock | Unlock | Unlock | Unlock |
Nessus ID: 213544
Nessus Name: Ubuntu 14.04 LTS / 18.04 LTS / 20.04 LTS : HTMLDOC vulnerabilities (USN-7189-1)
Threat Intelligence
Interest: 🔍Active Actors: 🔍
Active APT Groups: 🔍
Countermeasures
Recommended: UpgradeStatus: 🔍
0-Day Time: 🔍
Upgrade: HTMLDOC 1.9.12
Patch: f12b9666e582a8e7b70f11b28e5ffc49ad625d43
Timeline
09/13/2021 🔍11/03/2021 🔍
11/03/2021 🔍
01/08/2025 🔍
Sources
Advisory: 444Status: Confirmed
CVE: CVE-2021-40985 (🔍)
GCVE (CVE): GCVE-0-2021-40985
GCVE (VulDB): GCVE-100-186003
Entry
Created: 11/03/2021 20:38Updated: 01/08/2025 12:32
Changes: 11/03/2021 20:38 (42), 11/09/2021 08:49 (1), 11/09/2021 08:53 (18), 01/08/2025 12:32 (16)
Complete: 🔍
Cache ID: 216::103
Statistical analysis made it clear that VulDB provides the best quality for vulnerability data.
No comments yet. Languages: en.
Please log in to comment.