UBUNTU-CVE-2023-45662

    Dashboard / Vulnerabilities / UBUNTU-CVE-2023-45662

    UBUNTU-CVE-2023-45662

    Published: 21 Oct 2023Last Modified: 17 Oct 2026
    Upstream:

    Summary:

    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.

    Affected packages

    Package

    Name: libstb

    Purl: pkg:deb/ubuntu/libstb?arch=source&distro=focal

    Affected ranges

    Type: ECOSYSTEM

    Events:

    Introduced- 0
    Fixed -None

    Affected versions

    0.0~git20190817.1.052dce1-1

    Common Vulnerability Scoring System

    Attack Vector
    Network
    Adjacent
    Local
    Physical
    Privileges Required
    None
    Low
    High
    User Interaction
    None
    Required
    Scope
    Unchanged
    Changed
    Confidentiality
    None
    Low
    High
    Integrity
    None
    Low
    High
    Availability
    None
    Low
    High