Headline
CVE-2023-45662: stb/stb_image.h at 5736b15f7ea0ffb08dd38af21067c314d6a3aae9 · nothings/stb
stb_image is a single file MIT licensed library for processing images. When stbi_set_flip_vertically_on_load
is set to TRUE
and req_comp
is set to a number that doesn’t match the real number of components per pixel, the library attempts to flip the image vertically. A crafted image file can trigger memcpy
out-of-bounds read because bytes_per_pixel
used to calculate bytes_per_row
doesn’t match the real image array dimensions.
Actions
Automate any workflow
Packages
Host and manage packages
Security
Find and fix vulnerabilities
Codespaces
Instant dev environments
Copilot
Write better code with AI
Code review
Manage code changes
Issues
Plan and track work
Discussions
Collaborate outside of code
GitHub Sponsors
Fund open source developers
* The ReadME Project
GitHub community articles
- Pricing
Search code, repositories, users, issues, pull requests…
Provide feedback
Saved searches****Use saved searches to filter your results more quickly
Sign up