stbi: Heap-based buffer overflow in stb_image.h:stbi__out_gif_code() function
Published Sep 12, 2018
8.8
HIGHCVSS 3.1
EPSS 1.59%
Description
stb stb_image.h 2.19, as used in catimg, Emscripten, and other products, has a heap-based buffer overflow in the stbi__out_gif_code function.
Affected products
No data.
Configuration 1
- 2.19
Configuration 2
- 10.0
No data.
Red Hat Enterprise Linux 6
clutter
Not affected
Red Hat Enterprise Linux 7
cogl
Not affected
Red Hat Enterprise Linux 7
compat-cogl114
Not affected
Red Hat Enterprise Linux 8
SFML
Not affected
Red Hat Enterprise Linux 8
cogl
Not affected
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Enterprise Linux 6 | clutter | Not affected | n/a |
| Red Hat Enterprise Linux 7 | cogl | Not affected | n/a |
| Red Hat Enterprise Linux 7 | compat-cogl114 | Not affected | n/a |
| Red Hat Enterprise Linux 8 | SFML | Not affected | n/a |
| Red Hat Enterprise Linux 8 | cogl | Not affected | n/a |
No package ranges for this CVE.
Remediation
Red Hat statement
This issue did not affect the versions of cogl and compat-cogl114 as shipped with Red Hat Enterprise Linux 7. This issue did not affect the versions of clutter as shipped with Red Hat Enterprise Linux 6.
Metrics
No CVSS v4.0 score for this CVE.
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L
AV:N/AC:M/Au:N/C:P/I:P/A:P
This CVE is not in the KEV list.
No CISA SSVC assessment for this CVE yet.
Estimated probability of exploitation in the wild in the next 30 days (FIRST EPSS). As of Oct 3, 2026.
Score over time
2021–2026- EPSS v1
- EPSS v2
- EPSS v3
- EPSS v5
Percentile over time
- EPSS v1
- EPSS v2
- EPSS v3
- EPSS v5
Table of values (19 key points)
Flat stretches are collapsed; showing up to 120 newest points.
| Date | Score | Percentile | Model |
|---|---|---|---|
| Oct 3, 2026 | 1.59% (0.01592) | 74.84th | v5 (v2026.06.15) |
| Jun 15, 2026 | 1.59% (0.01592) | 72.43th | v5 (v2026.06.15) |
| Jul 20, 2024 | 0.16% (0.00161) | 53.17th | v3 (v2023.03.01) |
| Jun 27, 2024 | 0.16% (0.00161) | 52.96th | v3 (v2023.03.01) |
| May 1, 2024 | 0.22% (0.00224) | 60.32th | v3 (v2023.03.01) |
| Mar 14, 2024 | 0.25% (0.00251) | 64.40th | v3 (v2023.03.01) |
| Feb 8, 2024 | 0.36% (0.00356) | 71.29th | v3 (v2023.03.01) |
| Feb 3, 2024 | 0.36% (0.00356) | 69.27th | v3 (v2023.03.01) |
| Jul 8, 2023 | 0.30% (0.00296) | 65.11th | v3 (v2023.03.01) |
| May 8, 2023 | 0.31% (0.00313) | 65.65th | v3 (v2023.03.01) |
| Mar 7, 2023 | 0.26% (0.00264) | 62.21th | v3 (v2023.03.01) |
| Mar 6, 2023 | 0.89% (0.00885) | 27.89th | v2 (v2022.01.01) |
| Sep 10, 2022 | 0.89% (0.00885) | 26.24th | v2 (v2022.01.01) |
| Apr 1, 2022 | 0.89% (0.00885) | 24.24th | v2 (v2022.01.01) |
| Feb 4, 2022 | 0.89% (0.00885) | 10.50th | v2 (v2022.01.01) |
| Feb 3, 2022 | 0.42% (0.00416) | 10.04th | v1 |
| Jan 6, 2022 | 0.42% (0.00416) | 9.79th | v1 |
| Sep 1, 2021 | 0.42% (0.00416) | 25.53th | v1 |
| Apr 14, 2021 | 0.42% (0.00416) | 0.00th | v1 |
References (6)
- https://access.redhat.com/security/cve/CVE-2018-16981 Vendor Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=1639548 Issue Tracking
- https://github.com/nothings/stb/issues/656 ExploitIssue TrackingThird Party Advisory
- https://lists.debian.org/debian-lts-announce/2023/01/msg00045.html mailing-listMailing ListThird Party Advisory
- https://nvd.nist.gov/vuln/detail/CVE-2018-16981
- https://www.cve.org/CVERecord?id=CVE-2018-16981
| Link | Providers | Tags |
|---|---|---|
| https://access.redhat.com/security/cve/CVE-2018-16981 | Vendor Advisory | |
| https://bugzilla.redhat.com/show_bug.cgi?id=1639548 | Issue Tracking | |
| https://github.com/nothings/stb/issues/656 | ExploitIssue TrackingThird Party Advisory | |
| https://lists.debian.org/debian-lts-announce/2023/01/msg00045.html | mailing-listMailing ListThird Party Advisory | |
| https://nvd.nist.gov/vuln/detail/CVE-2018-16981 | ||
| https://www.cve.org/CVERecord?id=CVE-2018-16981 |
Change history (0)
No recorded changes yet.