CVE-2016-8693
published 2017-02-15CVE-2016-8693: Double free vulnerability in the mem_close function in jas_stream.c in JasPer before 1.900.10 allows remote attackers to cause a denial of service (crash) or…
PriorityP336high7.8CVSS 3.0
AVLACLPRNUIRSUCHIHAH
EPSS
3.42%
87.4th percentile
Double free vulnerability in the mem_close function in jas_stream.c in JasPer before 1.900.10 allows remote attackers to cause a denial of service (crash) or possibly execute arbitrary code via a crafted BMP image to the imginfo command.
Affected
5 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| fedoraproject | fedora | — | — |
| jasper_project | jasper | <= 1.900.5 | — |
| jasper_project | jasper | >= 0 < 1.900.1-14ubuntu3.4 | 1.900.1-14ubuntu3.4 |
| jasper_project | jasper | >= 0 < 1.900.1-debian1-2.4ubuntu1.1 | 1.900.1-debian1-2.4ubuntu1.1 |
| opensuse | opensuse | — | — |
CVSS provenance
nvdv3.07.8HIGHCVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
nvdv2.06.8MEDIUMAV:N/AC:M/Au:N/C:P/I:P/A:P
osv7.8HIGH
vendor_redhat7.8HIGH
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·2017-05-18
CVE-2016-10249 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: incorrect handling of bufsize 0 in mem_resize()
vendor_redhat·2016-10-15·CVSS 7.8
CVE-2016-8693 [HIGH] CWE-416 jasper: incorrect handling of bufsize 0 in mem_resize()
jasper: incorrect handling of bufsize 0 in mem_resize()
Double free vulnerability in the mem_close function in jas_stream.c in JasPer before 1.900.10 allows remote attackers to cause a denial of service (crash) or possibly execute arbitrary code via a crafted BMP image to the imginfo command.
Package: netpbm (Red Hat Enterprise Linux 5) - Will not fix
Package: mingw-virt-viewer (Red Hat Enterprise Virtualization 3) - Will not fix
GHSA
GHSA-68fr-g7g6-87xw: Double free vulnerability in the mem_close function in jas_stream
ghsa_unreviewed·2022-05-14
CVE-2016-8693 [HIGH] CWE-415 GHSA-68fr-g7g6-87xw: Double free vulnerability in the mem_close function in jas_stream
Double free vulnerability in the mem_close function in jas_stream.c in JasPer before 1.900.10 allows remote attackers to cause a denial of service (crash) or possibly execute arbitrary code via a crafted BMP image to the imginfo command.
OSV
CVE-2016-8693: Double free vulnerability in the mem_close function in jas_stream
osv·2017-02-15·CVSS 7.8
CVE-2016-8693 [HIGH] CVE-2016-8693: Double free vulnerability in the mem_close function in jas_stream
Double free vulnerability in the mem_close function in jas_stream.c in JasPer before 1.900.10 allows remote attackers to cause a denial of service (crash) or possibly execute arbitrary code via a crafted BMP image to the imginfo command.
No detection rules found.
No public exploits indexed.
Bugzilla
CVE-2016-8690 CVE-2016-8691 CVE-2016-8692 CVE-2016-8693 jasper: various flaws [fedora-all]
bugzilla·2016-10-17·CVSS 5.5
CVE-2016-8690 [MEDIUM] CVE-2016-8690 CVE-2016-8691 CVE-2016-8692 CVE-2016-8693 jasper: various flaws [fedora-all]
CVE-2016-8690 CVE-2016-8691 CVE-2016-8692 CVE-2016-8693 jasper: various flaws [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 supported
Bugzilla
CVE-2016-8690 CVE-2016-8691 CVE-2016-8692 CVE-2016-8693 jasper: various flaws [epel-5]
bugzilla·2016-10-17·CVSS 5.5
CVE-2016-8690 [MEDIUM] CVE-2016-8690 CVE-2016-8691 CVE-2016-8692 CVE-2016-8693 jasper: various flaws [epel-5]
CVE-2016-8690 CVE-2016-8691 CVE-2016-8692 CVE-2016-8693 jasper: various flaws [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.
[bug automatically created by: add-trackin
Bugzilla
CVE-2016-8690 CVE-2016-8691 CVE-2016-8692 CVE-2016-8693 mingw-jasper: various flaws [epel-7]
bugzilla·2016-10-17·CVSS 5.5
CVE-2016-8690 [MEDIUM] CVE-2016-8690 CVE-2016-8691 CVE-2016-8692 CVE-2016-8693 mingw-jasper: various flaws [epel-7]
CVE-2016-8690 CVE-2016-8691 CVE-2016-8692 CVE-2016-8693 mingw-jasper: various flaws [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.
[bug automatically created by: add-t
Bugzilla
CVE-2016-8693 jasper: incorrect handling of bufsize 0 in mem_resize()
bugzilla·2016-10-17·CVSS 7.8
CVE-2016-8693 [HIGH] CVE-2016-8693 jasper: incorrect handling of bufsize 0 in mem_resize()
CVE-2016-8693 jasper: incorrect handling of bufsize 0 in mem_resize()
A double free vulnerability was found in mem_close in jas_stream.c triggered by invoking imginfo command on specially crafted image file.
CVE assignment:
http://www.openwall.com/lists/oss-security/2016/10/16/14
Discussion:
Created mingw-jasper tracking bugs for this issue:
Affects: fedora-all [bug 1385517]
Affects: epel-7 [bug 1385519]
---
Created jasper tracking bugs for this issue:
Affects: fedora-all [bug 1385516]
Affects: epel-5 [bug 1385518]
---
Original reporter's advisory:
https://blogs.gentoo.org/ago/2016/10/16/jasper-double-free-in-mem_close-jas_stream-c/
Relevant info from the advisory:
A fuzzing revealed a double-free in mem_close.
# imginfo -f $FILE
Corrupt JPEG data: 1 extraneous bytes before
Bugzilla
CVE-2016-8690 CVE-2016-8691 CVE-2016-8692 CVE-2016-8693 mingw-jasper: various flaws [fedora-all]
bugzilla·2016-10-17·CVSS 5.5
CVE-2016-8690 [MEDIUM] CVE-2016-8690 CVE-2016-8691 CVE-2016-8692 CVE-2016-8693 mingw-jasper: various flaws [fedora-all]
CVE-2016-8690 CVE-2016-8691 CVE-2016-8692 CVE-2016-8693 mingw-jasper: various flaws [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 sup
Bugzilla
CVE-2015-5203 jasper: integer overflow in jas_image_cmpt_create()
bugzilla·2015-08-17·CVSS 5.5
CVE-2015-5203 [MEDIUM] CVE-2015-5203 jasper: integer overflow in jas_image_cmpt_create()
CVE-2015-5203 jasper: integer overflow in jas_image_cmpt_create()
A double free flaw was found in the way JasPer's jasper_image_stop_load() function parsed certain JPEG 2000 image files. A specially crafted file could cause an application using JasPer to crash.
Original report:
http://seclists.org/oss-sec/2015/q3/366
Discussion:
Created mingw-jasper tracking bugs for this issue:
Affects: fedora-all [bug 1254245]
Affects: epel-7 [bug 1254247]
---
Created jasper tracking bugs for this issue:
Affects: fedora-all [bug 1254244]
Affects: epel-5 [bug 1254246]
---
There are few problems here. The first is in jas_image_cmpt_create() function in src/libjasper/base/jas_image.c which contains this code:
310 long size;
...
328 size = cmpt->width_ * cmpt->height_ * cmpt->cps_;
329 cmpt->stre
http://lists.opensuse.org/opensuse-updates/2016-11/msg00010.htmlhttp://www.debian.org/security/2017/dsa-3785http://www.openwall.com/lists/oss-security/2016/08/23/6http://www.openwall.com/lists/oss-security/2016/10/16/14http://www.securityfocus.com/bid/93587https://access.redhat.com/errata/RHSA-2017:1208https://blogs.gentoo.org/ago/2016/10/16/jasper-double-free-in-mem_close-jas_stream-c/https://bugzilla.redhat.com/show_bug.cgi?id=1385507https://github.com/mdadams/jasper/commit/44a524e367597af58d6265ae2014468b334d0309https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/22FCKKHQCQ3S6TZY5G44EFDTMWOJXJRD/http://lists.opensuse.org/opensuse-updates/2016-11/msg00010.htmlhttp://www.debian.org/security/2017/dsa-3785http://www.openwall.com/lists/oss-security/2016/08/23/6http://www.openwall.com/lists/oss-security/2016/10/16/14http://www.securityfocus.com/bid/93587https://access.redhat.com/errata/RHSA-2017:1208https://blogs.gentoo.org/ago/2016/10/16/jasper-double-free-in-mem_close-jas_stream-c/https://bugzilla.redhat.com/show_bug.cgi?id=1385507https://github.com/mdadams/jasper/commit/44a524e367597af58d6265ae2014468b334d0309https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/22FCKKHQCQ3S6TZY5G44EFDTMWOJXJRD/
2017-02-15
Published