CVE-2015-5221
published 2017-07-25CVE-2015-5221: 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…
PriorityP420medium5.5CVSS 3.0
AVLACLPRNUIRSUCNINAH
EPSS
2.19%
80.2th percentile
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.
Affected
10 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| fedoraproject | fedora | — | — |
| fedoraproject | fedora | — | — |
| fedoraproject | fedora | — | — |
| jasper_project | jasper | <= 1.900.1 | — |
| jasper_project | jasper | >= 0 < 1.900.1-14ubuntu3.5 | 1.900.1-14ubuntu3.5 |
| jasper_project | jasper | >= 0 < 1.900.1-debian1-2.4ubuntu1.2 | 1.900.1-debian1-2.4ubuntu1.2 |
| opensuse | leap | — | — |
| opensuse | opensuse | — | — |
| opensuse | opensuse | — | — |
| opensuse_project | leap | — | — |
CVSS provenance
nvdv3.05.5MEDIUMCVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
nvdv2.04.3MEDIUMAV:N/AC:M/Au:N/C:N/I:N/A:P
osv5.5MEDIUM
vendor_redhat5.5MEDIUM
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
Ubuntu
JasPer vulnerabilities
vendor_ubuntu·2018-06-27
CVE-2015-5203 JasPer vulnerabilities
Title: JasPer vulnerabilities
Summary: Several security issues were fixed in JasPer.
It was discovered that JasPer incorrectly handled certain malformed
JPEG-2000 image files. If a user or automated system using JasPer were
tricked into opening a specially crafted image, an attacker could exploit
this to cause a denial of service or possibly execute code with the
privileges of the user invoking the program.
Instructions: In general, a standard system update will make all the necessary changes.
Red Hat
jasper: use-after-free and double-free flaws in mif_process_cmpt()
vendor_redhat·2015-08-20·CVSS 5.5
CVE-2015-5221 [MEDIUM] CWE-416 jasper: use-after-free and double-free flaws in mif_process_cmpt()
jasper: use-after-free and double-free flaws in mif_process_cmpt()
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.
Package: netpbm (Red Hat Enterprise Linux 5) - Not affected
GHSA
GHSA-45hq-xrcp-79f9: Use-after-free vulnerability in the mif_process_cmpt function in libjasper/mif/mif_cod
ghsa_unreviewed·2022-05-14
CVE-2015-5221 [MEDIUM] CWE-416 GHSA-45hq-xrcp-79f9: Use-after-free vulnerability in the mif_process_cmpt function in libjasper/mif/mif_cod
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.
OSV
CVE-2015-5221: Use-after-free vulnerability in the mif_process_cmpt function in libjasper/mif/mif_cod
osv·2017-07-25·CVSS 5.5
CVE-2015-5221 [MEDIUM] CVE-2015-5221: Use-after-free vulnerability in the mif_process_cmpt function in libjasper/mif/mif_cod
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.
No detection rules found.
No public exploits indexed.
Bugzilla
CVE-2015-5221 jasper: Use-after-free and double-free flaws in Jasper JPEG-2000 library [epel-5]
bugzilla·2015-08-21·CVSS 5.5
CVE-2015-5221 [MEDIUM] CVE-2015-5221 jasper: Use-after-free and double-free flaws in Jasper JPEG-2000 library [epel-5]
CVE-2015-5221 jasper: Use-after-free and double-free flaws in Jasper JPEG-2000 library [epel-5]
This is an automatically created tracking bug! It was created to ensure
that one or more security vulnerabilities are fixed in affected versions
of Fedora EPEL.
For comments that are specific to the vulnerability please use bugs filed
against the "Security Response" product referenced in the "Blocks" field.
For more information see:
http://fedoraproject.org/wiki/Security/TrackingBugs
When submitting as an update, use the fedpkg template provided in the next
comment(s). This will include the bug IDs of this tracking bug as well as
the relevant top-level CVE bugs.
Please also mention the CVE IDs being fixed in the RPM changelog and the
fedpkg commit message.
epel-5 tracking bug for jasper: s
Bugzilla
CVE-2015-5221 jasper: Use-after-free and double-free flaws in Jasper JPEG-2000 library [fedora-all]
bugzilla·2015-08-21·CVSS 5.5
CVE-2015-5221 [MEDIUM] CVE-2015-5221 jasper: Use-after-free and double-free flaws in Jasper JPEG-2000 library [fedora-all]
CVE-2015-5221 jasper: Use-after-free and double-free flaws in Jasper JPEG-2000 library [fedora-all]
This is an automatically created tracking bug! It was created to ensure
that one or more security vulnerabilities are fixed in affected versions
of Fedora.
For comments that are specific to the vulnerability please use bugs filed
against the "Security Response" product referenced in the "Blocks" field.
For more information see:
http://fedoraproject.org/wiki/Security/TrackingBugs
When submitting as an update, use the fedpkg template provided in the next
comment(s). This will include the bug IDs of this tracking bug as well as
the relevant top-level CVE bugs.
Please also mention the CVE IDs being fixed in the RPM changelog and the
fedpkg commit message.
NOTE: this issue affects multiple
Bugzilla
CVE-2015-5221 mingw-jasper: jasper: Use-after-free and double-free flaws in Jasper JPEG-2000 library [fedora-all]
bugzilla·2015-08-21·CVSS 5.5
CVE-2015-5221 [MEDIUM] CVE-2015-5221 mingw-jasper: jasper: Use-after-free and double-free flaws in Jasper JPEG-2000 library [fedora-all]
CVE-2015-5221 mingw-jasper: jasper: Use-after-free and double-free flaws in Jasper JPEG-2000 library [fedora-all]
This is an automatically created tracking bug! It was created to ensure
that one or more security vulnerabilities are fixed in affected versions
of Fedora.
For comments that are specific to the vulnerability please use bugs filed
against the "Security Response" product referenced in the "Blocks" field.
For more information see:
http://fedoraproject.org/wiki/Security/TrackingBugs
When submitting as an update, use the fedpkg template provided in the next
comment(s). This will include the bug IDs of this tracking bug as well as
the relevant top-level CVE bugs.
Please also mention the CVE IDs being fixed in the RPM changelog and the
fedpkg commit message.
NOTE: this issue aff
Bugzilla
CVE-2015-5221 jasper: use-after-free and double-free flaws in mif_process_cmpt()
bugzilla·2015-08-21·CVSS 5.5
CVE-2015-5221 [MEDIUM] CVE-2015-5221 jasper: use-after-free and double-free flaws in mif_process_cmpt()
CVE-2015-5221 jasper: use-after-free and double-free flaws in mif_process_cmpt()
A use-after-free which leads to double-free vulnerability was found in Jasper JPEG-2000 library, in src/libjasper/mif/mif_cod.c file.
553 case MIF_HSAMP:
554 cmpt->sampperx = atoi(jas_tvparser_getval(tvp));
555 break;
556 case MIF_VSAMP:
557 cmpt->samppery = atoi(jas_tvparser_getval(tvp));
558 break;
572 jas_tvparser_destroy(tvp);
573 if (!cmpt->sampperx || !cmpt->samppery) {
574 goto error;
575 }
576 if (mif_hdr_addcmpt(hdr, hdr->numcmpts, cmpt)) {
577 goto error;
578 }
579 return 0;
580
581 error:
582 if (cmpt) {
583 mif_cmpt_destroy(cmpt);
584 }
585 if (tvp) {
586 jas_tvparser_destroy(tvp);
587 }
588 return -1;
Both tvp and tvp->buf are freed by jas_tvparser_destroy(tvp), but if one of the two following
Bugzilla
CVE-2015-5221 mingw-jasper: jasper: Use-after-free and double-free flaws in Jasper JPEG-2000 library [epel-7]
bugzilla·2015-08-21·CVSS 5.5
CVE-2015-5221 [MEDIUM] CVE-2015-5221 mingw-jasper: jasper: Use-after-free and double-free flaws in Jasper JPEG-2000 library [epel-7]
CVE-2015-5221 mingw-jasper: jasper: Use-after-free and double-free flaws in Jasper JPEG-2000 library [epel-7]
This is an automatically created tracking bug! It was created to ensure
that one or more security vulnerabilities are fixed in affected versions
of Fedora EPEL.
For comments that are specific to the vulnerability please use bugs filed
against the "Security Response" product referenced in the "Blocks" field.
For more information see:
http://fedoraproject.org/wiki/Security/TrackingBugs
When submitting as an update, use the fedpkg template provided in the next
comment(s). This will include the bug IDs of this tracking bug as well as
the relevant top-level CVE bugs.
Please also mention the CVE IDs being fixed in the RPM changelog and the
fedpkg commit message.
epel-7 tracking bug
http://lists.opensuse.org/opensuse-updates/2016-11/msg00010.htmlhttp://lists.opensuse.org/opensuse-updates/2016-11/msg00018.htmlhttp://lists.opensuse.org/opensuse-updates/2016-11/msg00064.htmlhttp://www.openwall.com/lists/oss-security/2015/08/20/4https://access.redhat.com/errata/RHSA-2017:1208https://bugzilla.redhat.com/show_bug.cgi?id=1255710https://github.com/mdadams/jasper/commit/df5d2867e8004e51e18b89865bc4aa69229227b3https://lists.debian.org/debian-lts-announce/2018/11/msg00023.htmlhttps://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/3QIZNTZDXOJR5BTRZKCS3GVHVZV2PWHH/https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/AXWV22WGSQFDRPE7G6ECGP3QXS2V2A2M/https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/UNLVBZWDEXZCFWOBZ3YVEQINMRBRX5QV/https://usn.ubuntu.com/3693-1/http://lists.opensuse.org/opensuse-updates/2016-11/msg00010.htmlhttp://lists.opensuse.org/opensuse-updates/2016-11/msg00018.htmlhttp://lists.opensuse.org/opensuse-updates/2016-11/msg00064.htmlhttp://www.openwall.com/lists/oss-security/2015/08/20/4https://access.redhat.com/errata/RHSA-2017:1208https://bugzilla.redhat.com/show_bug.cgi?id=1255710https://github.com/mdadams/jasper/commit/df5d2867e8004e51e18b89865bc4aa69229227b3https://lists.debian.org/debian-lts-announce/2018/11/msg00023.htmlhttps://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/3QIZNTZDXOJR5BTRZKCS3GVHVZV2PWHH/https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/AXWV22WGSQFDRPE7G6ECGP3QXS2V2A2M/https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/UNLVBZWDEXZCFWOBZ3YVEQINMRBRX5QV/https://usn.ubuntu.com/3693-1/
2017-07-25
Published