Out-of-Bounds Affecting libstb package, versions *


Severity

Recommended
low

Based on Debian security rating.

Threat Intelligence

EPSS
0.11% (2nd percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-DEBIAN13-LIBSTB-15922264
  • published7 Apr 2026
  • disclosed31 Mar 2026

Introduced: 31 Mar 2026

CVE-2026-5186  (opens in a new tab)
CWE-119  (opens in a new tab)
CWE-415  (opens in a new tab)

How to fix?

There is no fixed version for Debian:13 libstb.

NVD Description

Note: Versions mentioned in the description apply only to the upstream libstb package and not the libstb package as distributed by Debian. See How to fix? for Debian:13 relevant fixed versions and status.

A weakness has been identified in Nothings stb up to 2.30. This impacts the function stbi__load_gif_main of the file stb_image.h of the component Multi-frame GIF File Handler. This manipulation causes double free. The attack requires local access. The exploit has been made available to the public and could be used for attacks. The vendor was contacted early about this disclosure but did not respond in any way.

CVSS Base Scores

version 3.1