CVE-2021-42716
Summary
| CVE | CVE-2021-42716 |
| State | PUBLIC |
| Assigner | [email protected] |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2021-10-21 19:15:00 UTC |
| Updated | 2023-11-07 03:39:00 UTC |
| Description | An issue was discovered in stb stb_image.h 2.27. The PNM loader incorrectly interpreted 16-bit PGM files as 8-bit when converting to RGBA, leading to a buffer overflow when later reinterpreting the result as a 16-bit buffer. An attacker could potentially have crashed a service using stb_image, or read up to 1024 bytes of non-consecutive heap data without control over the read location. |
NVD Known Affected Configurations (CPE 2.3)
References
| Reference | Source | Link | Tags |
|---|
| [SECURITY] Fedora 34 Update: stb-0-0.7.20211022gitaf1a5bc.fc34 - package-announce - Fedora Mailing-Lists |
|
lists.fedoraproject.org |
|
| stbi__pnm_load heap-buffer-overflow bug · Issue #1166 · nothings/stb · GitHub |
MISC |
github.com |
|
| [SECURITY] Fedora 34 Update: sdrpp-1.0.4-3.fc34 - package-announce - Fedora Mailing-Lists |
FEDORA |
lists.fedoraproject.org |
|
| [SECURITY] Fedora 35 Update: sdrpp-1.0.4-3.fc35 - package-announce - Fedora Mailing-Lists |
|
lists.fedoraproject.org |
|
| [SECURITY] Fedora 33 Update: stb-0-0.7.20211022gitaf1a5bc.fc33 - package-announce - Fedora Mailing-Lists |
|
lists.fedoraproject.org |
|
| Fixes a crash and an infinite loop in stb_image that could occur with specially constructed PGM and HDR files by NeilBickford-NV · Pull Request #1223 · nothings/stb · GitHub |
MISC |
github.com |
|
| [SECURITY] Fedora 35 Update: stb-0-0.7.20211022gitaf1a5bc.fc35 - package-announce - Fedora Mailing-Lists |
FEDORA |
lists.fedoraproject.org |
|
| [SECURITY] Fedora 34 Update: usd-21.08-19.fc34 - package-announce - Fedora Mailing-Lists |
|
lists.fedoraproject.org |
|
| [SECURITY] Fedora 35 Update: stb-0-0.7.20211022gitaf1a5bc.fc35 - package-announce - Fedora Mailing-Lists |
|
lists.fedoraproject.org |
|
| In stb_image's PNM reader, loading a specially constructed valid 16-bit PGM file with 4 channels can cause a crash due to an out-of-bounds read · Issue #1225 · nothings/stb · GitHub |
MISC |
github.com |
|
| [SECURITY] Fedora 34 Update: stb-0-0.7.20211022gitaf1a5bc.fc34 - package-announce - Fedora Mailing-Lists |
FEDORA |
lists.fedoraproject.org |
|
| [SECURITY] Fedora 34 Update: sdrpp-1.0.4-3.fc34 - package-announce - Fedora Mailing-Lists |
|
lists.fedoraproject.org |
|
| [SECURITY] Fedora 34 Update: CuraEngine-4.11.0-2.fc34 - package-announce - Fedora Mailing-Lists |
|
lists.fedoraproject.org |
|
| [SECURITY] Fedora 33 Update: stb-0-0.7.20211022gitaf1a5bc.fc33 - package-announce - Fedora Mailing-Lists |
FEDORA |
lists.fedoraproject.org |
|
| [SECURITY] Fedora 35 Update: CuraEngine-4.11.0-2.fc35 - package-announce - Fedora Mailing-Lists |
FEDORA |
lists.fedoraproject.org |
|
| [SECURITY] Fedora 34 Update: usd-21.08-19.fc34 - package-announce - Fedora Mailing-Lists |
FEDORA |
lists.fedoraproject.org |
|
| [SECURITY] Fedora 35 Update: usd-21.08-17.fc35 - package-announce - Fedora Mailing-Lists |
FEDORA |
lists.fedoraproject.org |
|
| [SECURITY] Fedora 34 Update: CuraEngine-4.11.0-2.fc34 - package-announce - Fedora Mailing-Lists |
FEDORA |
lists.fedoraproject.org |
|
| [SECURITY] Fedora 35 Update: sdrpp-1.0.4-3.fc35 - package-announce - Fedora Mailing-Lists |
FEDORA |
lists.fedoraproject.org |
|
| [SECURITY] Fedora 35 Update: CuraEngine-4.11.0-2.fc35 - package-announce - Fedora Mailing-Lists |
|
lists.fedoraproject.org |
|
| [SECURITY] Fedora 35 Update: usd-21.08-17.fc35 - package-announce - Fedora Mailing-Lists |
|
lists.fedoraproject.org |
|
| CVE Program record |
CVE.ORG |
www.cve.org |
canonical |
| NVD vulnerability detail |
NVD |
nvd.nist.gov |
canonical, analysis |
No vendor comments have been submitted for this CVE.
Legacy QID Mappings
- 282023 Fedora Security Update for stb (FEDORA-2021-0511a38484)
- 282024 Fedora Security Update for stb (FEDORA-2021-082bea5b34)
- 282025 Fedora Security Update for sdrpp (FEDORA-2021-3fc69d203c)
- 282029 Fedora Security Update for CuraEngine (FEDORA-2021-8ea648186c)
- 282639 Fedora Security Update for usd (FEDORA-2022-832689aa6b)
- 751640 SUSE Enterprise Linux Security Update for zxing-cpp (SUSE-SU-2022:0163-1)
- 751643 OpenSUSE Security Update for zxing-cpp (openSUSE-SU-2022:0157-1)
- 753345 SUSE Enterprise Linux Security Update for zxing-cpp (SUSE-SU-2022:0157-1)