logo

GHSA-ppjr-267j-5p9x stb_image

Package

Manager: cargo
Name: stb_image
Vulnerable Version: >=0 <0.2.5

Severity

Level: Medium

CVSS v3.1: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H/E:P/RL:U/RC:R

CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N

EPSS: N/A pctlN/A

Details

NULL pointer derefernce in `stb_image` A bug in error handling in the `stb_image` C library could cause a NULL pointer dereference when attempting to load an invalid or unsupported image file. This is fixed in version 0.2.5 and later of the `stb_image` Rust crate, by patching the C code to correctly handle NULL pointers.

Metadata

Created: 2023-03-20T21:11:58Z
Modified: 2023-07-19T19:19:42Z
Source: https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2023/03/GHSA-ppjr-267j-5p9x/GHSA-ppjr-267j-5p9x.json
CWE IDs: ["CWE-476"]
Alternative ID: N/A
Finding: F002
Auto approve: 1