Read the docs
TI-2023-30705 Aliases GHSA-ppjr-267j-5p9x

NULL pointer derefernce in `stb_image`

Priority LOW 38CWE-476Published · Updated

Key facts

Attack vector
—
Privileges required
—
User interaction
—
Attack complexity
—
Impact type
Denial of service
Confidentiality · integrity · availability
—
Fix status
Fixed

No CVSS vector from any source. Fix status from GitHub. Impact type from CWE-476.

Summary

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.

Why it matters now

Fix Fixed stb_image (crates.io): 0.2.5

SSVC decision points

Not available: CISA has not published SSVC decision points for this record.

Affected products

VendorProductAffected versionsFixed inStatusSource
—stb_image (crates.io)before 0.2.50.2.5Patch availableGHSA-ppjr-267j-5p9x
  • stb_image (crates.io) Vendor— Affected before 0.2.5 Fixed in 0.2.5 Patch available GHSA-ppjr-267j-5p9x

Remediation

  • Fix · GHSA-ppjr-267j-5p9x stb_image (crates.io) Fixed in 0.2.5 Advisory →

Timeline

  1. 2026-10-03 Threatist record created from GHSA-ppjr-267j-5p9x

References

Sources

This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences