Improper Resource Shutdown or Release Affecting stb package, versions [0,]


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

Exploit Maturity
Proof of Concept
EPSS
0.05% (14th 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-CONAN-STB-15922305
  • published7 Apr 2026
  • disclosed1 Apr 2026
  • creditd0razi

Introduced: 1 Apr 2026

NewCVE-2026-5313  (opens in a new tab)
CWE-404  (opens in a new tab)

How to fix?

There is no fixed version for stb.

Overview

Affected versions of this package are vulnerable to Improper Resource Shutdown or Release via the stbi__gif_load_next function. An attacker can cause the application to become unavailable by enticing a user to open a specially crafted GIF image. This is only exploitable if a user interacts with untrusted GIF files in an application utilizing the affected library.

Workaround

This vulnerability can be mitigated by avoiding the processing of untrusted GIF images, removing unnecessary applications that depend on the affected component, or restricting GIF processing to trusted sources.

CVSS Base Scores

version 4.0
version 3.1