-
Notifications
You must be signed in to change notification settings - Fork 457
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
Malicious files can cause the program to enter a large loop #1472
Comments
CVE-2023-39327 was assigned to this flaw. If you wish to dispute or reject please let me know. |
could anyone confirm that this issue was fixed by pull#1547? |
@fundawang the POC is mentioned above. Just run it and report back. |
The pull request confirms that it's not fixed in its description. A slight modification of the PoC allows to trigger the behavior. |
Does anyone has a work around or a fix ready for this issues? |
Maliciously constructed pictures can cause the program to enter a large loop and continuously print warning messages on the terminal.
Expected behavior and actual behavior.
Program file format error, parsing failed~
But the program enters a big loop and keeps printing in the terminal:
I tested it with ubuntu, and the program ran for more than 4 hours.
Steps to reproduce the problem.
the poc is here
Run:
opj_decompress -i bigloop -o te.raw
Maybe the memory must be at least greater than 8g to ensure successful reproduction.
Operating system
Ubuntu, macos, windows are all available
openjpeg version
OpenJPEG 2.5.0
The text was updated successfully, but these errors were encountered: