-
Notifications
You must be signed in to change notification settings - Fork 46
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
global-buffer-overflow in function jfif_encode at jfif.c:708 #44
Comments
I reproduced your situation on my ubuntu 20.04 machine.
==263835==HINT: if you don't care about these errors you may set allocator_may_return_null=1 downlowded and extracted encode_poc1 the
I guess your poc file is not encode with jpeg correctly. |
It's not his poc file's problem. |
Hello, yes @rockcarry is right. Is there any updates on this one and the issue #43 ? |
The reproduce command should be This issue is same as the #25 (assigned with CVE-2020-23705), they are both caused by the oversized And I create a PR #45 to fix them. |
Describe
A global-buffer-overflow was discovered in ffjpeg. The issue is being triggered in function jfif_encode at jfif.c:708.
Found by Cem Onat Karagun of Diesec
System info
OS version : Ubuntu 21.04
ffjpeg Version : master(0fa4cf8a86)
Reproduce
Compile ffjpeg with address sanitizer.
PoC file:
encode_poc1.zip
Run with the following command.
Asan output:
The text was updated successfully, but these errors were encountered: