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
root.io logo minimus.io logo echo.ai logo

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

NameVendorStart VersionEnd Version
FedoraFedoraproject23 (including)23 (including)
FedoraFedoraproject24 (including)24 (including)
FedoraFedoraproject25 (including)25 (including)
Red Hat Enterprise Linux 6RedHatjasper-0:1.900.1-21.el6_9*
Red Hat Enterprise Linux 7RedHatjasper-0:1.900.1-30.el7_3*
JasperUbuntuesm-infra/xenial*
JasperUbuntuprecise*
JasperUbuntutrusty*
JasperUbuntuvivid*
JasperUbuntuvivid/stable-phone-overlay*
JasperUbuntuwily*
JasperUbuntuxenial*
JasperUbuntuyakkety*

Potential Mitigations

References