
CVE catalog
CVE-2023-45662
libstb: CVE-2023-45662
- Severity
- Medium
- Published
- Source
- [NVD] · [CVE record]
- EPSS
- 0.81% · Oct 25, 2026
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.
Vulnerable and fixed packages
Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.
| Distribution | Package | Release | Version | Status |
|---|---|---|---|---|
| Debian | libstb | sid | 0.0~git20250907.fede005+ds-1 | vulnerable |
| Debian | libstb | forky | 0.0~git20250907.fede005+ds-1 | vulnerable |
| Debian | libstb | trixie | 0.0~git20241109.5c20573+ds-1 | vulnerable |
| Debian | libstb | bookworm | 0.0~git20220908.8b5f1f3+ds-1 | vulnerable |
Fixed-version evidence
| Distribution | Package | Type | Release | Fixed version | Urgency | Origin | Bugs |
|---|---|---|---|---|---|---|---|
| Debian | libstb | source | sid | (unfixed) | not yet assigned | Not reported | [1054911] |
| Debian | libstb | source | forky | (unfixed) | not yet assigned | Not reported | [1054911] |
| Debian | libstb | source | trixie | (unfixed) | not yet assigned | Not reported | [1054911] |
| Debian | libstb | source | bookworm | (unfixed) | not yet assigned | Not reported | [1054911] |
Notes
[trixie] libstb: Minor issue, revisit when fixed upstream [bookworm] libstb: Minor issue, revisit when fixed upstream
OpenFactory catalog packages
Matching against OpenFactory catalog package versions is in progress.
References
- [https://osv.dev/vulnerability/DEBIAN-CVE-2023-45662]
- [https://security-tracker.debian.org/tracker/CVE-2023-45662]
- [https://security.access.redhat.com/data/csaf/v2/vex/2023/cve-2023-45662.json]
[Debian Security Tracker] · [FIRST EPSS] · [OSV Package Vulnerability Database] · [Red Hat security advisories and VEX]