-
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
CVE-2016-3182 Heap Corruption in opj_free function #725
Comments
ASan report:
|
When all components do not have the same dx/dy, components buffer are read beyond their end. Do not convert in this case. Update uclouvain#725
When all components do not have the same dx/dy, components buffer are read beyond their end. Do not convert in this case. Update uclouvain#725
@mayeut , The file heap_corruption.jp2 is interesting. It is Created by OpenJPEG version 2.1.0 It seems to be possible to write any nonsense values and bin/opj_flviewer /usb_c/IMG/JP2/heap_corruption.jp2 FILE(heap_corruption.jp2) [2]marker(0xff51) siz len(50)
[54]marker(0xff52) cod len 12
[68]marker(0xff5c) qcd len(19) [89]marker(0xff64) com len(37) [128]marker(0xff90) sot len(10) [140]marker(0xff93) sod len(139) [281]marker(0xffd9) eoc len(0) |
When all components do not have the same dx/dy, components buffer are read beyond their end. Do not convert in this case. Update uclouvain#725
When all components do not have the same dx/dy, components buffer are read beyond their end. Do not convert in this case. Update uclouvain#725
When all components do not have the same dx/dy, components buffer are read beyond their end. Do not convert in this case. Update #725
Update uclouvain#725 Update uclouvain#726
Vulnerability Details
According to AddressSanitizer's output message, the Out-of-Bounds read occurred in function color_esycc_to_rgb. However, there must be also an Out-of-Bounds write circumstance since an exception will be throwed when freeing the heap buffer.
If compile openjpeg with gcc and do not specify
-fsanitize=address
, a heap corruption will be occurred.Credit
Ke Liu of Tencent's Xuanwu LAB
The text was updated successfully, but these errors were encountered: