There is an infinite loop in the jpc_dec_tileinit function in jpc/jpc_dec.c of Jasper 2.0.13. It will lead to a remote denial of service attack. Upstream bug: https://github.com/mdadams/jasper/issues/146 References: https://bugzilla.novell.com/show_bug.cgi?id=1058000
Created jasper tracking bugs for this issue: Affects: fedora-all [bug 1491856] Created mingw-jasper tracking bugs for this issue: Affects: epel-7 [bug 1491855] Affects: fedora-all [bug 1491854]
The reproducer provided by the issue reporter does not actually demonstrate an infinite loop. It does trigger an excessive looping, but processing of the reproducer ends after some time. It is unclear if infinite looping is possible or not. This issue remains unfixed in the current upstream version 2.0.14.
Upstream also concluded that there's no infinite loop, only a slow processing due to malicious file triggering large number of memory allocations.