CVE catalog

CVE-2023-45662

libstb: CVE-2023-45662

[CVE catalog]

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.

DistributionPackageReleaseVersionStatus
Debianlibstbsid0.0~git20250907.fede005+ds-1vulnerable
Debianlibstbforky0.0~git20250907.fede005+ds-1vulnerable
Debianlibstbtrixie0.0~git20241109.5c20573+ds-1vulnerable
Debianlibstbbookworm0.0~git20220908.8b5f1f3+ds-1vulnerable

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
Debianlibstbsourcesid(unfixed)not yet assignedNot reported[1054911]
Debianlibstbsourceforky(unfixed)not yet assignedNot reported[1054911]
Debianlibstbsourcetrixie(unfixed)not yet assignedNot reported[1054911]
Debianlibstbsourcebookworm(unfixed)not yet assignedNot reported[1054911]

[Debian bug #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