CVE-2019-20056: stb_image - Assertion Failure
- Cve: CVE-2019-20056
- Name: stb_image - Assertion Failure
- Description: stb_image.h (aka the stb image loader) 2.23, as used in libsixel and other products, has an assertion failure in stbi__shiftsigned.
- Impact: Potential denial of service or application crash due to assertion failure, possibly leading to undefined behavior.
- Remediation: Update to the latest version of stb_image or apply patches that fix the assertion failure.
- Vulnerability impact: denial_of_service
- Requirement type: user_interaction
- Requirements: Attacker needs to provide malformed image input
- Labels source: projectdiscovery
- Severity: medium
- Cvss score: 6.5
- Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
- Epss score: 0.00935
- Epss percentile: 0.61693
- Assignee: [email protected]
- Published at: 2019-12-29T19:15:11Z
- Age in days: 2522
- Modified at: 2026-06-17T02:29:54Z
- Public exploits total: 1
- References total: 1
- Products total: 1
- Oss: yes
- Projects total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2019-20056
- Nvd status: modified
- Checked, none or zero: patch available, known exploited entries, nuclei templates, public exploits capped, rejected by nvd
- Not known: vulnerability type, hackerone
Cwe
| Id | Name |
|---|---|
| CWE-617 | Reachable Assertion |
Public exploits
| Url | Source | Added date |
|---|---|---|
| https://github.com/saitoha/libsixel/issues/126 | nvd | 2019-12-29 |
References
| Url | Source | Tags |
|---|---|---|
| https://github.com/saitoha/libsixel/issues/126 | nvd | Exploit, Third Party Advisory |
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| nothings:stb_image.h | = 2.23 | no | nvd | /v1/products/nothings/stb_image.h |
Projects
| Repository | Link kinds | Indexed | Url |
|---|---|---|---|
| saitoha/libsixel | fix, issues | yes | /v1/repositories/saitoha/libsixel |
Index
- Checked, none or zero: repositories, repositories high signal, packages
Exploitation
- Public exploit: yes
- Public exploit count: 1
- Public exploit first date: 2019-12-29
- Remote: yes
- Checked, none or zero: known exploited, known exploited by, exploitation seen, initial access, authentication required
- Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since, hackerone reports, exposed hosts