CVE-2022-28041
published 2022-04-15CVE-2022-28041: stb_image.h v2.27 was discovered to contain an integer overflow via the function stbi__jpeg_decode_block_prog_dc. This vulnerability allows attackers to cause…
PriorityP426medium6.5CVSS 3.1
AVNACLPRNUIRSUCNINAH
EPSS
2.07%
79.3th percentile
stb_image.h v2.27 was discovered to contain an integer overflow via the function stbi__jpeg_decode_block_prog_dc. This vulnerability allows attackers to cause a Denial of Service (DoS) via unspecified vectors.
Affected
6 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| debian | debian_linux | — | — |
| debian | libstb | < libstb 0.0~git20200713.b42009b+ds-1+deb11u1 (bullseye) | libstb 0.0~git20200713.b42009b+ds-1+deb11u1 (bullseye) |
| fedoraproject | fedora | — | — |
| fedoraproject | fedora | — | — |
| fedoraproject | fedora | — | — |
| nothings | stb_image.h | — | — |
CVSS provenance
nvdv3.16.5MEDIUMCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
nvdv2.04.3MEDIUMAV:N/AC:M/Au:N/C:N/I:N/A:P
osv6.5MEDIUM
vendor_debian6.5MEDIUM
vendor_redhat6.5MEDIUM
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
VulDB
stb 2.27 stb_image.h stbi__jpeg_decode_block_prog_dc denial of service (Issue 1292 / EUVD-2022-32527)
vuldb·2026-05-16·CVSS 6.5
CVE-2022-28041 [MEDIUM] stb 2.27 stb_image.h stbi__jpeg_decode_block_prog_dc denial of service (Issue 1292 / EUVD-2022-32527)
A vulnerability was found in stb 2.27 and classified as problematic. This affects the function stbi__jpeg_decode_block_prog_dc of the file stb_image.h. Such manipulation leads to denial of service.
This vulnerability is traded as CVE-2022-28041. Access to the local network is required for this attack to succeed. There is no exploit available.
A patch should be applied to remediate this issue.
GHSA
GHSA-q4r7-ggcw-952w: stb_image
ghsa_unreviewed·2022-04-16
CVE-2022-28041 [MEDIUM] CWE-190 GHSA-q4r7-ggcw-952w: stb_image
stb_image.h v2.27 was discovered to contain an integer overflow via the function stbi__jpeg_decode_block_prog_dc. This vulnerability allows attackers to cause a Denial of Service (DoS) via unspecified vectors.
OSV
CVE-2022-28041: stb_image
osv·2022-04-15·CVSS 6.5
CVE-2022-28041 [MEDIUM] CVE-2022-28041: stb_image
stb_image.h v2.27 was discovered to contain an integer overflow via the function stbi__jpeg_decode_block_prog_dc. This vulnerability allows attackers to cause a Denial of Service (DoS) via unspecified vectors.
Red Hat
stb: integer overflow in stbi__jpeg_decode_block_prog_dc() can lead to DoS
vendor_redhat·2022-02-17·CVSS 6.5
CVE-2022-28041 [MEDIUM] CWE-190 stb: integer overflow in stbi__jpeg_decode_block_prog_dc() can lead to DoS
stb: integer overflow in stbi__jpeg_decode_block_prog_dc() can lead to DoS
stb_image.h v2.27 was discovered to contain an integer overflow via the function stbi__jpeg_decode_block_prog_dc. This vulnerability allows attackers to cause a Denial of Service (DoS) via unspecified vectors.
Statement: This flaw does not affect the versions of cogl shipped with Red Hat Enterprise Linux 7 or 8 because the affected code is not shipped in those packages. This flaw is out of support scope for Red Hat Enterprise Linux 6.
Package: clutter (Red Hat Enterprise Linux 6) - Out of support scope
Package: cogl (Red Hat Enterprise Linux 7) - Not affected
Package: compat-cogl114 (Red Hat Enterprise Linux 7) - Not affected
Package: cogl (Red Hat Enterprise Linux 8) - Not affected
Debian
CVE-2022-28041: libstb - stb_image.h v2.27 was discovered to contain an integer overflow via the function...
vendor_debian·2022·CVSS 6.5
CVE-2022-28041 [MEDIUM] CVE-2022-28041: libstb - stb_image.h v2.27 was discovered to contain an integer overflow via the function...
stb_image.h v2.27 was discovered to contain an integer overflow via the function stbi__jpeg_decode_block_prog_dc. This vulnerability allows attackers to cause a Denial of Service (DoS) via unspecified vectors.
Scope: local
bookworm: open
bullseye: resolved (fixed in 0.0~git20200713.b42009b+ds-1+deb11u1)
forky: resolved (fixed in 0.0~git20230129.5736b15+ds-1)
sid: resolved (fixed in 0.0~git20230129.5736b15+ds-1)
trixie: resolved (fixed in 0.0~git20230129.5736b15+ds-1)
No detection rules found.
No public exploits indexed.
No writeups or analysis indexed.
https://github.com/nothings/stb/issues/1292https://github.com/nothings/stb/pull/1297https://lists.debian.org/debian-lts-announce/2023/01/msg00045.htmlhttps://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/2G6JJJQ5JABTPF5H2L5FQGLILYLIGPW6/https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/52ZIQAFEG7A6TO526OJ7OA4GSEZQ2WEG/https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/5FXLM5XL77SNH4IPTSXOQD7XL4E2EMIN/https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/I4HXIWU5HBOADXZVMREHT4YTO5WVYXEQ/https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/J72YJQ3R5MG23GECPUCLAWPPZ6TZPG7U/https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/JIRW5D4CJIDS6FHOGHSS42SSDDKQMXPN/https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/MMBCMJGAZRQS55SNECUWZSC5URVLEZ5R/https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/OHTD76NDEN77KCPI3XGGK2VVSA25WWEG/https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/SEQGDVH43YW7AG7TRU2CTU5TMIYP27WP/https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/TXX76TJMZBPN3NU542MGN6B7C7QHRFGB/https://github.com/nothings/stb/issues/1292https://github.com/nothings/stb/pull/1297https://lists.debian.org/debian-lts-announce/2023/01/msg00045.htmlhttps://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/2G6JJJQ5JABTPF5H2L5FQGLILYLIGPW6/https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/52ZIQAFEG7A6TO526OJ7OA4GSEZQ2WEG/https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/5FXLM5XL77SNH4IPTSXOQD7XL4E2EMIN/https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/I4HXIWU5HBOADXZVMREHT4YTO5WVYXEQ/https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/J72YJQ3R5MG23GECPUCLAWPPZ6TZPG7U/https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/JIRW5D4CJIDS6FHOGHSS42SSDDKQMXPN/https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/MMBCMJGAZRQS55SNECUWZSC5URVLEZ5R/https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/OHTD76NDEN77KCPI3XGGK2VVSA25WWEG/https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/SEQGDVH43YW7AG7TRU2CTU5TMIYP27WP/https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/TXX76TJMZBPN3NU542MGN6B7C7QHRFGB/
2022-04-15
Published