Skip to content

Comments

Potential Vulnerability in Cloned Code#3

Open
tabudz wants to merge 1 commit intotheSecHunter:mainfrom
tabudz:CVE-2021-28021
Open

Potential Vulnerability in Cloned Code#3
tabudz wants to merge 1 commit intotheSecHunter:mainfrom
tabudz:CVE-2021-28021

Conversation

@tabudz
Copy link

@tabudz tabudz commented Feb 10, 2026

Summary

Our tool detected a potential vulnerability in DuiLib/Utils/stb_image.c 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-28021.

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-28021
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