-
Notifications
You must be signed in to change notification settings - Fork 469
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
Encoder: error with small precincts, origin shift [was Out-of-bounds Read in t2.c:819] #1297
Comments
…but likely not the proper fix
opj_t2_encode_packet(): avoid out of bound access of #1297, but likely not the proper fix
CVE-2020-27843 was assigned for this issue. |
no |
Ok thanks for confirming. Sorry for beeing annoying, but further question back: So should be the issue consindered closed? Should be the fix be considered complete as it landed in the 2.4.0 tagged version? Let me explain why I'm asking. We are tracking the two CVEs CVE-2020-27842 (#1294) and CVE-2020-27843 (#1297) and so looking to check the fstatus for those. Thanks a lot for your quick help, very much appreciated. |
The security issue is solved by the fix that was committed, but I believe there's a more fundamental functional issue that, in an ideal world, would deserve to be solved |
…but likely not the proper fix
I found an Out-of-bounds Read in the current master 18b1138

I build openjpeg with ASAN, this is ASAN report.
POC picture :
This problem is
precno
is-1
, and try to read&band->precincts[precno];
The text was updated successfully, but these errors were encountered: