CVE Vulnerabilities

CVE-2015-5221

Use After Free

Published: Jul 25, 2017 | Modified: Apr 20, 2025
CVSS 3.x
5.5
MEDIUM
Source:
NVD
CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
CVSS 2.x
4.3 MEDIUM
AV:N/AC:M/Au:N/C:N/I:N/A:P
RedHat/V2
5.1 MODERATE
AV:N/AC:H/Au:N/C:P/I:P/A:P
RedHat/V3
7 MODERATE
CVSS:3.0/AV:L/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H
Ubuntu
LOW

Use-after-free vulnerability in the mif_process_cmpt function in libjasper/mif/mif_cod.c in the JasPer JPEG-2000 library before 1.900.2 allows remote attackers to cause a denial of service (crash) via a crafted JPEG 2000 image file.

Weakness

The product reuses or references memory after it has been freed. At some point afterward, the memory may be allocated again and saved in another pointer, while the original pointer references a location somewhere within the new allocation. Any operations using the original pointer are no longer valid because the memory “belongs” to the code that operates on the new pointer.

Affected Software

Name Vendor Start Version End Version
Fedora Fedoraproject 23 (including) 23 (including)
Fedora Fedoraproject 24 (including) 24 (including)
Fedora Fedoraproject 25 (including) 25 (including)
Red Hat Enterprise Linux 6 RedHat jasper-0:1.900.1-21.el6_9 *
Red Hat Enterprise Linux 7 RedHat jasper-0:1.900.1-30.el7_3 *
Jasper Ubuntu esm-infra/xenial *
Jasper Ubuntu precise *
Jasper Ubuntu trusty *
Jasper Ubuntu vivid *
Jasper Ubuntu vivid/stable-phone-overlay *
Jasper Ubuntu wily *
Jasper Ubuntu xenial *
Jasper Ubuntu yakkety *

Potential Mitigations

References