Skip to content

Potential Vulnerability in Cloned Code#9

Open
tabudz wants to merge 1 commit intomeemknight:masterfrom
tabudz:cve-2021-37789
Open

Potential Vulnerability in Cloned Code#9
tabudz wants to merge 1 commit intomeemknight:masterfrom
tabudz:cve-2021-37789

Conversation

@tabudz
Copy link

@tabudz tabudz commented Dec 22, 2025

Summary

Our tool detected a potential vulnerability in thirdparty/stb_image/include/stb_image/stb_image.h which was cloned from nothings/stb but did not receive the security patch applied. The original issue was reported and fixed under https://nvd.nist.gov/vuln/detail/cve-2021-37789.

Proposed Fix

Apply the same patch as the one in nothings/stb to eliminate the vulnerability.

Reference

https://nvd.nist.gov/vuln/detail/cve-2021-37789
nothings/stb@5ba0baa

The component resamplers are not written to support this and I've
never seen it happen in a real (non-crafted) JPEG file so I'm
fine rejecting this as outright corrupt.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants