Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FreeImage arbitrary code execution vulnerability #3069

Open
MissLavender-LQ opened this issue Mar 31, 2024 · 2 comments
Open

FreeImage arbitrary code execution vulnerability #3069

MissLavender-LQ opened this issue Mar 31, 2024 · 2 comments
Labels
Known Issues easy workaround exists or too intrusive to fix right away

Comments

@MissLavender-LQ
Copy link

main 2 I think is the most important to point out

both of these can run arbitrary code one of them being from the BMP plugin
so I am assuming a person could get a user to load a malicious BMP or a file with a malicious bpm inside of it

Free Image should either be forked and fixed asap or abandoned for a different library

active project i could find that use freeimage
https://github.com/sirjuddington/SLADE
https://github.com/TrenchBroom/TrenchBroom
https://github.com/RetroPie/EmulationStation
https://github.com/MonoGame/MonoGame
https://github.com/meganz/MEGAsync
https://github.com/OGRECave/ogre
https://github.com/OGRECave/ogre-next
https://github.com/Open-Cascade-SAS/OCCT
https://github.com/arrayfire/forge
https://git.sr.ht/~exec64/imv
https://github.com/arrayfire/arrayfire

Free Image v3.18.0

Free Image before v1.18.0

@paroj paroj changed the title [Urgent security issue] FreeImage arbitrary code execution vulnerability FreeImage arbitrary code execution vulnerability Apr 1, 2024
@paroj paroj added the Known Issues easy workaround exists or too intrusive to fix right away label Apr 1, 2024
@paroj
Copy link
Member

paroj commented Apr 1, 2024

Thank you for addressing this issue. However, we would like to point out that the binaries we distribute utilize a Rust-based image loader instead of FreeImage. It is the responsibility of downstream users to address such issues. For example, Linux distributions often patch FreeImage, and some users have already transitioned to:
https://github.com/agruzdev/FreeImageRe

@MissLavender-LQ
Copy link
Author

https://github.com/agruzdev/FreeImageRe

thank u so much for linking this

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Known Issues easy workaround exists or too intrusive to fix right away
Projects
None yet
Development

No branches or pull requests

2 participants