CVE catalog

CVE-2023-45663

libstb: CVE-2023-45663

[CVE catalog]

Severity
Medium
Published
Source
[NVD] · [CVE record]
EPSS
0.66% · Oct 27, 2026

stb_image is a single file MIT licensed library for processing images. The stbi__getn function reads a specified number of bytes from context (typically a file) into the specified buffer. In case the file stream points to the end, it returns zero. There are two places where its return value is not checked: In the `stbi__hdr_load` function and in the `stbi__tga_load` function. The latter of the two is likely more exploitable as an attacker may also control the size of an uninitialized buffer.

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

[Debian 12 (Bookworm)]

  • [libstb0]Affected

    Source package: [libstb]

    Details (2)
    • 0.0~git20220908.8b5f1f3+ds-1 · amd64 · bookworm

      Affected

      dsa · libstb · debian · bookworm; dsa · libstb · debian · 12

    • 0.0~git20220908.8b5f1f3+ds-1 · arm64 · bookworm

      Affected

      dsa · libstb · debian · bookworm; dsa · libstb · debian · 12

  • [libstb-dev]Affected

    Source package: [libstb]

    Details (2)
    • 0.0~git20220908.8b5f1f3+ds-1 · amd64 · bookworm

      Affected

      dsa · libstb · debian · bookworm; dsa · libstb · debian · 12

    • 0.0~git20220908.8b5f1f3+ds-1 · arm64 · bookworm

      Affected

      dsa · libstb · debian · bookworm; dsa · libstb · debian · 12

[Debian 13 (Trixie)]

  • [libstb0t64]Affected

    Source package: [libstb]

    Details (2)
    • 0.0~git20241109.5c20573+ds-1 · amd64 · trixie

      Affected

      dsa · libstb · debian · 13

    • 0.0~git20241109.5c20573+ds-1 · arm64 · trixie

      Affected

      dsa · libstb · debian · 13

  • [libstb-dev]Affected

    Source package: [libstb]

    Details (2)
    • 0.0~git20241109.5c20573+ds-1 · amd64 · trixie

      Affected

      dsa · libstb · debian · 13

    • 0.0~git20241109.5c20573+ds-1 · arm64 · trixie

      Affected

      dsa · libstb · debian · 13

Observed:

References