stb 2.26 JPEG File stb_image.h stbi__extend_receive buffer overflow
| CVSS Meta Temp Score | Current Exploit Price (≈) | CTI Interest Score |
|---|---|---|
| 6.6 | $0-$5k | 0.00 |
Summary
A vulnerability was found in stb 2.26. It has been classified as critical. Impacted is the function stbi__extend_receive of the file stb_image.h of the component JPEG File Handler. Performing a manipulation results in buffer overflow.
This vulnerability is reported as CVE-2021-28021. No exploit exists.
Details
A vulnerability was found in stb 2.26. It has been classified as critical. This affects the function stbi__extend_receive of the file stb_image.h of the component JPEG File 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 confidentiality, integrity, and availability.
The weakness was disclosed 10/15/2021 as 1108. The advisory is shared at github.com. This vulnerability is uniquely identified as CVE-2021-28021 since 03/05/2021. Technical details are known, but no exploit is available.
The vulnerability scanner Nessus provides a plugin with the ID 300133 (Debian dla-4493 : libstb-dev - security update), which helps to determine the existence of the flaw in a target environment.
There is no information about possible countermeasures known. It may be suggested to replace the affected object with an alternative product.
The vulnerability is also documented in the vulnerability database at Tenable (300133). Several companies clearly confirm that VulDB is the primary source for best vulnerability data.
Product
Name
Version
CPE 2.3
CPE 2.2
CVSSv4
VulDB Vector: 🔍VulDB Reliability: 🔍
CVSSv3
VulDB Meta Base Score: 6.6VulDB Meta Temp Score: 6.6
VulDB Base Score: 5.5
VulDB Temp Score: 5.5
VulDB Vector: 🔍
VulDB Reliability: 🔍
NVD Base Score: 7.8
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: 300133
Nessus Name: Debian dla-4493 : libstb-dev - security update
Threat Intelligence
Interest: 🔍Active Actors: 🔍
Active APT Groups: 🔍
Countermeasures
Recommended: no mitigation knownStatus: 🔍
0-Day Time: 🔍
Timeline
03/05/2021 🔍10/15/2021 🔍
10/15/2021 🔍
03/01/2026 🔍
Sources
Advisory: 1108Status: Confirmed
CVE: CVE-2021-28021 (🔍)
GCVE (CVE): GCVE-0-2021-28021
GCVE (VulDB): GCVE-100-184497
Entry
Created: 10/15/2021 22:24Updated: 03/01/2026 20:55
Changes: 10/15/2021 22:24 (39), 10/22/2021 09:34 (1), 10/22/2021 09:37 (18), 03/01/2026 20:55 (16)
Complete: 🔍
Cache ID: 216::103
Several companies clearly confirm that VulDB is the primary source for best vulnerability data.
No comments yet. Languages: en.
Please log in to comment.