CVE-2026-102805
published medium CVSS 4.0 · 6.9Nothings stb Image Encoding stb_image_write.h stbi_write_tga_core integer overflow
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Nothings | — | stb1.0 · 1.1 · 1.2 · 1.3 · 1.4 · 1.5 · 1.6 · 1.7 · 1.8 · 1.9 · 1.10 · 1.11 · 1.12 · 1.13 · 1.14 · 1.15 · 1.16 | Affected | Not stated | VulDB |
Description
A flaw has been found in Nothings stb up to 1.16. This affects the function stbi_write_png_to_mem/stbi_write_jpg_core/stbi_write_tga_core in the library stb_image_write.h of the component Image Encoding. Executing a manipulation can lead to integer overflow. The attack can be executed remotely. The exploit has been published and may be used.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 6.9 / 10
- Severity
- medium
- Provider
- VulDB · cna
- Vector string
- CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:L/VA:L/SC:N/SI:N/SA:N/E:P
Additional Assessments
| Version | Score | Severity | Provider | Vector | Scenarios |
|---|---|---|---|---|---|
| 3.1 | 6.5 | medium | VulDB · cna | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:L/E:P/RL:X/RC:C | — |
| 3.0 | 6.5 | medium | VulDB · cna | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:L/E:P/RL:X/RC:C | — |
| 2.0 | 6.4 | medium | VulDB · cna | AV:N/AC:L/Au:N/C:N/I:P/A:P/E:POC/RL:ND/RC:C | — |
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Nothings | stb | 1.0 (affected)1.1 (affected)1.2 (affected)1.3 (affected)1.4 (affected)1.5 (affected)1.6 (affected)1.7 (affected)1.8 (affected)1.9 (affected)1.10 (affected)1.11 (affected)1.12 (affected)1.13 (affected)1.14 (affected)1.15 (affected)1.16 (affected) | VulDB · cna |
Weaknesses
2- CWE-190 Integer Overflow
- CWE-189 Numeric Error
References
7- https://github.com/nothings/stb/
- https://github.com/nothings/stb/issues/1964
- https://github.com/nothings/stb/issues/1964#issuecomment-5404606996
- CVE-2026-102805 | CVE Analysis and Report https://vuldb.com/cve/CVE-2026-102805
- Submit #944868 | nothings stb (stb_image_write.h) 31c1ad3 (latest at time of discovery) CWE-190: Integer Overflow; CWE-787: Out-of-bounds Write; CWE-125 https://vuldb.com/submit/944868
- VDB-411497 | Nothings stb Image Encoding stb_image_write.h stbi_write_tga_core integer overflow https://vuldb.com/vuln/411497
- VDB-411497 | CTI Indicators (IOB, IOC, IOA) https://vuldb.com/vuln/411497/cti
Provider assertions
2VulDB · cna
Nothings stb Image Encoding stb_image_write.h stbi_write_tga_core integer overflow
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- c571c02fc9edd660e151ef8ff74fc4edf3335e3c85bfa76c351c0f913d615a30
- Ingested
- 01 Oct 2026, 18:31:22 UTC
- Source record
- Official CVE record