-
-
Notifications
You must be signed in to change notification settings - Fork 2.2k
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
Uncaught Exception(s) in Pillow Library #7876
Comments
Looking at your second situation, I see it is hitting Lines 194 to 198 in 9e3d1a7
You are trying to create an image that is 134,217,792px wide, greater than the limit in that logic of 67,108,856px wide. So that's not an unexpected exception, that's something we're deliberately raising. |
The first one was sent to security@. The error for that one is raised by python core, and isn't an issue unless valgrind finds memory corruption, and since that's directly in python core, it would be a bug for them. |
What did you do?
We (@DogukanK, @esraercann) discovered a 3 crashes in Python Pillow library because of 'Uncaught Exception' via specially crafted input.
What did you expect to happen?
Exceptions should be handled properly in Pillow.
What actually happened?
Crash.
Poc:
PoC:
What are your OS, Python and Pillow versions?
Crash Files
Archive.zip
The text was updated successfully, but these errors were encountered: