CVE-2023-45662

Source
https://cve.org/CVERecord?id=CVE-2023-45662
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2023-45662.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2023-45662
Downstream
Published
2023-10-20T23:26:11.578Z
Modified
2026-03-11T15:27:59.636778Z
Severity
  • 6.5 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:L CVSS Calculator
Summary
Multi-byte read heap buffer overflow in stbi__vertical_flip in stb_image
Details

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.

Database specific
{
    "cna_assigner": "GitHub_M",
    "cwe_ids": [
        "CWE-125"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/45xxx/CVE-2023-45662.json"
}
References

Affected packages

Git /

Affected ranges

Database specific

unresolved_ranges
[
    {
        "events": [
            {
                "introduced": "0"
            },
            {
                "last_affected": "2.28"
            }
        ]
    }
]
source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2023-45662.json"