CVE-2023-45663

Summary

CVECVE-2023-45663
StatePUBLIC
Assigner[email protected]
Source PriorityCVE Program / NVD first with legacy fallback
Published2023-10-21 00:15:00 UTC
Updated2023-11-04 06:15:00 UTC
Descriptionstb_image is a single file MIT licensed library for processing images. The stbi__getn function reads a specified number of bytes from context (typically a file) into the specified buffer. In case the file stream points to the end, it returns zero. There are two places where its return value is not checked: In the `stbi__hdr_load` function and in the `stbi__tga_load` function. The latter of the two is likely more exploitable as an attacker may also control the size of an uninitialized buffer.

Risk And Classification

Problem Types: CWE-908

NVD Known Affected Configurations (CPE 2.3)

TypeVendorProductVersionUpdateEditionLanguage
Application Nothings Stb Image.h 2.28 All All All

References

ReferenceSourceLinkTags
GHSL-2023-145_GHSL-2023-151/GHSL-2023-165_GHSL-2023-172: Several memory access violations in stb_image and stb_vorbis | GitHub Security Lab MISC securitylab.github.com
[SECURITY] Fedora 39 Update: usd-23.08-2.fc39 - package-announce - Fedora Mailing-Lists MISC lists.fedoraproject.org
stb/stb_image.h at 5736b15f7ea0ffb08dd38af21067c314d6a3aae9 · nothings/stb · GitHub MISC github.com
stb/stb_image.h at 5736b15f7ea0ffb08dd38af21067c314d6a3aae9 · nothings/stb · GitHub MISC github.com
stb/stb_image.h at 5736b15f7ea0ffb08dd38af21067c314d6a3aae9 · nothings/stb · GitHub MISC github.com
[SECURITY] Fedora 37 Update: stb-0^20231011gitbeebb24-12.fc37 - package-announce - Fedora Mailing-Lists MISC lists.fedoraproject.org
[SECURITY] Fedora 38 Update: stb-0^20231011gitbeebb24-12.fc38 - package-announce - Fedora Mailing-Lists MISC lists.fedoraproject.org
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis

Legacy QID Mappings

  • 284707 Fedora Security Update for stb (FEDORA-2023-d486d13cfd)
  • 284708 Fedora Security Update for stb (FEDORA-2023-a93c06a1d9)
  • 285170 Fedora Security Update for stb (FEDORA-2023-def2f95af4)
  • 506249 Alpine Linux Security Update for stb
© CVE.report 2026 |

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report