JasPer is prone to a remote heap-based buffer-overflow vulnerability because it fails to perform adequate boundary checks on user-supplied input.
Attackers may leverage this issue to execute arbitrary code in the context of the application that uses the affected library. Failed attacks will cause denial-of-service conditions.
JasPer 2.0.12 is vulnerable; other versions may also be affected.
Information
Exploit
The researcher who discovered this issue has created a proof-of-concept. Please see the references for more information.
References:
- CVE-request: heap-buffer-overflow in jasper (xiaoqixue)
- heap-based buffer overflow in jp2_decode (jp2_dec.c) (JasPer)
- JasPer Homepage (Micheal Adams)
- POC: 026-jasper-jps_decode-heapoverflow (xiaoqx)