CVE-2022-28041
stb_image.h v2.27 was discovered to contain an integer overflow via the function...
CVE-2022-28041 is a medium vulnerability (CVSS 6.5) in Debian Linux, published April 15, 2022. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 2.09%, the 81st percentile. Fixed in libstb 0.0~git20230129.5736b15+ds-1.
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.
Attack profile
How easy it is to exploit
- Attack vector
- Network
- Complexity
- Low
- Privileges needed
- None
- User interaction
- Required
What an attacker can affect
- Confidentiality
- None
- Integrity
- None
- Availability
- High
Exploit likelihood
What each source reports
NVD Score used
6.5
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.
- Record
CVE-2022-28041- CVSS 3.1
- 6.5 Medium
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H - CVSS 2.0
- 4.3 Medium
AV:N/AC:M/Au:N/C:N/I:N/A:P - Weakness
- CWE-190
- Updated
- 2026-11-02
CVE List No score
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.
- Record
CVE-2022-28041- Updated
- 2026-11-02
EUVDEUVD-2022-32527 No score
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.
- Record
EUVD-2022-32527- Updated
- 2026-11-03
GitHub AdvisoriesGHSA-q4r7-ggcw-952w
6.5
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.
- Record
GHSA-q4r7-ggcw-952w- CVSS 3.1
- 6.5 Medium
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H - Weakness
- CWE-190
- Updated
- 2026-11-02
OSV
6.5
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.
- Record
CVE-2022-28041- CVSS 3.1
- 6.5 Medium
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H - Updated
- 2026-11-02
OSVDEBIAN-CVE-2022-28041
6.5
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.
- Record
DEBIAN-CVE-2022-28041- CVSS 3.1
- 6.5 Medium
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H - Updated
- 2026-11-03
OSVUBUNTU-CVE-2022-28041
6.5
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.
- Record
UBUNTU-CVE-2022-28041- CVSS 3.1
- 6.5 Medium
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H - Updated
- 2026-11-02
OSVMGASA-2023-0228 No score
Updated curaengine packages fix security vulnerability
Denial of service due to integer overflow (CVE-2022-28041)
- Record
MGASA-2023-0228- Updated
- 2026-11-02
OSVMGASA-2024-0088 No score
Updated curaengine & blender packages fix security vulnerability
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. (CVE-2022-28041)
- Record
MGASA-2024-0088- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
libstbDebian:12 |
All versions, plus listed versions 0.0~git20220908.8b5f1f3+ds-10.0~git20230129.5736b15+ds-10.0~git20230129.5736b15+ds-1.10.0~git20230129.5736b15+ds-1.1~exp10.0~git20230129.5736b15+ds-1.20.0~git20240715.f7f20f39fe4f+ds-10.0~git20241109.5c20573+ds-10.0~git20250907.fede005+ds-1 |
None known |
libstbDebian:13 |
before 0.0~git20230129.5736b15+ds-1 | 0.0~git20230129.5736b15+ds-1 |
libstbDebian:14 |
before 0.0~git20230129.5736b15+ds-1 | 0.0~git20230129.5736b15+ds-1 |
libstbDebian:10 |
before 0.0~git20180212.15.e6afb9c-1+deb10u1, plus listed versions 0.0~git20180212.15.e6afb9c-1 |
0.0~git20180212.15.e6afb9c-1+deb10u1 |
libstbDebian:11 |
before 0.0~git20200713.b42009b+ds-1+deb11u1, plus listed versions 0.0~git20200713.b42009b+ds-1 |
0.0~git20200713.b42009b+ds-1+deb11u1 |
curaengineMageia:8 |
before 4.8.0-1.1.1.mga8 | 4.8.0-1.1.1.mga8 |
curaengineMageia:9 |
before 4.12.1-3.1.mga9 | 4.12.1-3.1.mga9 |
blenderMageia:9 |
before 3.3.16-1.mga9 | 3.3.16-1.mga9 |
libstbUbuntu:20.04:LTS |
All versions, plus listed versions 0.0~git20190817.1.052dce1-1 |
None known |
libstbUbuntu:22.04:LTS |
All versions, plus listed versions 0.0~git20200713.b42009b+ds-10.0~git20210910.af1a5bc+ds-1 |
None known |
Show 4 moreShow less
| Package | Affected | Fixed |
|---|---|---|
libstbUbuntu:24.04:LTS |
All versions, plus listed versions 0.0~git20230129.5736b15+ds-10.0~git20230129.5736b15+ds-1.10.0~git20230129.5736b15+ds-1.2 |
None known |
libstbUbuntu:25.10 |
All versions, plus listed versions 0.0~git20240715.f7f20f39fe4f+ds-10.0~git20241109.5c20573+ds-1 |
None known |
libstbUbuntu:26.10 |
All versions, plus listed versions 0.0~git20250907.fede005+ds-1 |
None known |
libstbUbuntu:26.04:LTS |
All versions, plus listed versions 0.0~git20241109.5c20573+ds-10.0~git20250907.fede005+ds-1 |
None known |
History
| When | Changed | Sources |
|---|---|---|
| 2026-11-03 | aliases | EUVD |
| 2026-11-02 | created | CVE List, GitHub Advisories, NVD, OSV |
References
github.com/nothings/stb/issues/1292
github.com/nothings/stb/pull/1297
lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/I4HXIWU5HBOADXZVMREHT4YTO5WVYXEQ
lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/5FXLM5XL77SNH4IPTSXOQD7XL4E2EMIN
lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/TXX76TJMZBPN3NU542MGN6B7C7QHRFGB
lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/JIRW5D4CJIDS6FHOGHSS42SSDDKQMXPN
Show 29 moreShow less
lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/SEQGDVH43YW7AG7TRU2CTU5TMIYP27WP
lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/52ZIQAFEG7A6TO526OJ7OA4GSEZQ2WEG
lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/OHTD76NDEN77KCPI3XGGK2VVSA25WWEG
lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/2G6JJJQ5JABTPF5H2L5FQGLILYLIGPW6
lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/MMBCMJGAZRQS55SNECUWZSC5URVLEZ5R
lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/J72YJQ3R5MG23GECPUCLAWPPZ6TZPG7U
lists.debian.org/debian-lts-announce/2023/01/msg00045.html
nvd.nist.gov/vuln/detail/CVE-2022-28041
lists.fedoraproject.org/archives/list/[email protected]/message/5FXLM5XL77SNH4IPTSXOQD7XL4E2EMIN
lists.fedoraproject.org/archives/list/[email protected]/message/I4HXIWU5HBOADXZVMREHT4YTO5WVYXEQ
lists.fedoraproject.org/archives/list/[email protected]/message/TXX76TJMZBPN3NU542MGN6B7C7QHRFGB
lists.fedoraproject.org/archives/list/[email protected]/message/52ZIQAFEG7A6TO526OJ7OA4GSEZQ2WEG
lists.fedoraproject.org/archives/list/[email protected]/message/JIRW5D4CJIDS6FHOGHSS42SSDDKQMXPN
lists.fedoraproject.org/archives/list/[email protected]/message/SEQGDVH43YW7AG7TRU2CTU5TMIYP27WP
lists.fedoraproject.org/archives/list/[email protected]/message/2G6JJJQ5JABTPF5H2L5FQGLILYLIGPW6
lists.fedoraproject.org/archives/list/[email protected]/message/J72YJQ3R5MG23GECPUCLAWPPZ6TZPG7U
lists.fedoraproject.org/archives/list/[email protected]/message/MMBCMJGAZRQS55SNECUWZSC5URVLEZ5R
lists.fedoraproject.org/archives/list/[email protected]/message/OHTD76NDEN77KCPI3XGGK2VVSA25WWEG
github.com/advisories/GHSA-q4r7-ggcw-952w
security-tracker.debian.org/tracker/CVE-2022-28041
advisories.mageia.org/MGASA-2023-0228.html
bugs.mageia.org/show_bug.cgi?id=32055
lists.fedoraproject.org/archives/list/[email protected]/thread/SEQGDVH43YW7AG7TRU2CTU5TMIYP27WP
advisories.mageia.org/MGASA-2024-0088.html
bugs.mageia.org/show_bug.cgi?id=30366
lists.fedoraproject.org/archives/list/[email protected]/thread/OHTD76NDEN77KCPI3XGGK2VVSA25WWEG
blender.org/download/lts/3-3
ubuntu.com/security/CVE-2022-28041
cve.org/CVERecord?id=CVE-2022-28041