CVE-2018-5727
published 2018-01-16CVE-2018-5727: In OpenJPEG 2.3.0, there is an integer overflow vulnerability in the opj_t1_encode_cblks function (openjp2/t1.c). Remote attackers could leverage this…
PriorityP425medium6.5CVSS 3.0
AVNACLPRNUIRSUCNINAH
EPSS
1.89%
77.4th percentile
In OpenJPEG 2.3.0, there is an integer overflow vulnerability in the opj_t1_encode_cblks function (openjp2/t1.c). Remote attackers could leverage this vulnerability to cause a denial of service via a crafted bmp file.
Affected
6 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| debian | openjpeg2 | < openjpeg2 2.3.1-1 (bookworm) | openjpeg2 2.3.1-1 (bookworm) |
| the_openjpeg_project | openjpeg2 | >= 0 < 2.3.1-1 | 2.3.1-1 |
| the_openjpeg_project | openjpeg2 | >= 0 < 2.3.1-1 | 2.3.1-1 |
| the_openjpeg_project | openjpeg2 | >= 0 < 2.3.1-1 | 2.3.1-1 |
| the_openjpeg_project | openjpeg2 | >= 0 < 2.3.1-1 | 2.3.1-1 |
| uclouvain | openjpeg | — | — |
CVSS provenance
nvdv3.06.5MEDIUMCVSS:3.0/AV:N/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
osv6.5MEDIUM
vendor_debian6.5LOW
vendor_redhat6.5MEDIUM
vendor_ubuntu6.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
OpenJPEG vulnerabilities
vendor_ubuntu·2021-03-17·CVSS 6.5
CVE-2018-5727 [MEDIUM] OpenJPEG vulnerabilities
Title: OpenJPEG vulnerabilities
Summary: OpenJPEG could be made to crash if it opened a specially crafted file.
It was discovered that OpenJPEG incorrectly handled certain image files. A
remote attacker could possibly use this issue to cause a denial of service.
CVE-2016-10506 and CVE-2017-12982 affected only Ubuntu 16.04 ESM.
CVE-2018-16375, CVE-2018-20845 and CVE-2019-12973 affected only
Ubuntu 18.04 ESM.
Instructions: In general, a standard system update will make all the necessary changes.
Ubuntu
Ghostscript vulnerabilities
vendor_ubuntu·2021-01-07
CVE-2020-27842 Ghostscript vulnerabilities
Title: Ghostscript vulnerabilities
Summary: Several security issues were fixed in Ghostscript.
It was discovered that Ghostscript incorrectly handled certain image
files. If a user or automated system were tricked into processing a
specially crafted file, a remote attacker could use this issue to cause
Ghostscript to crash, resulting in a denial of service, or possibly
execute arbitrary code.
Instructions: In general, a standard system update will make all the necessary changes.
Red Hat
openjpeg: integer overflow in opj_t1_encode_cblks in src/lib/openjp2/t1.c
vendor_redhat·2018-01-13·CVSS 6.5
CVE-2018-5727 [MEDIUM] CWE-190 openjpeg: integer overflow in opj_t1_encode_cblks in src/lib/openjp2/t1.c
openjpeg: integer overflow in opj_t1_encode_cblks in src/lib/openjp2/t1.c
In OpenJPEG 2.3.0, there is an integer overflow vulnerability in the opj_t1_encode_cblks function (openjp2/t1.c). Remote attackers could leverage this vulnerability to cause a denial of service via a crafted bmp file.
Package: openjpeg (Red Hat Enterprise Linux 6) - Not affected
Package: openjpeg (Red Hat Enterprise Linux 7) - Not affected
Package: openjpeg (Red Hat Enterprise Linux 8) - Not affected
Debian
CVE-2018-5727: openjpeg2 - In OpenJPEG 2.3.0, there is an integer overflow vulnerability in the opj_t1_enco...
vendor_debian·2018·CVSS 6.5
CVE-2018-5727 [MEDIUM] CVE-2018-5727: openjpeg2 - In OpenJPEG 2.3.0, there is an integer overflow vulnerability in the opj_t1_enco...
In OpenJPEG 2.3.0, there is an integer overflow vulnerability in the opj_t1_encode_cblks function (openjp2/t1.c). Remote attackers could leverage this vulnerability to cause a denial of service via a crafted bmp file.
Scope: local
bookworm: resolved (fixed in 2.3.1-1)
bullseye: resolved (fixed in 2.3.1-1)
forky: resolved (fixed in 2.3.1-1)
sid: resolved (fixed in 2.3.1-1)
trixie: resolved (fixed in 2.3.1-1)
GHSA
GHSA-r7wc-c46x-5q6f: In OpenJPEG 2
ghsa_unreviewed·2022-05-13
CVE-2018-5727 [MEDIUM] CWE-190 GHSA-r7wc-c46x-5q6f: In OpenJPEG 2
In OpenJPEG 2.3.0, there is an integer overflow vulnerability in the opj_t1_encode_cblks function (openjp2/t1.c). Remote attackers could leverage this vulnerability to cause a denial of service via a crafted bmp file.
OSV
CVE-2018-5727: In OpenJPEG 2
osv·2018-01-16·CVSS 6.5
CVE-2018-5727 [MEDIUM] CVE-2018-5727: In OpenJPEG 2
In OpenJPEG 2.3.0, there is an integer overflow vulnerability in the opj_t1_encode_cblks function (openjp2/t1.c). Remote attackers could leverage this vulnerability to cause a denial of service via a crafted bmp file.
No detection rules found.
No public exploits indexed.
Bugzilla
CVE-2018-5727 openjpeg: oepnjpeg: integer overflow in opj_t1_encode_cblks in src/lib/openjp2/t1.c [epel-all]
bugzilla·2018-01-19·CVSS 6.5
CVE-2018-5727 [MEDIUM] CVE-2018-5727 openjpeg: oepnjpeg: integer overflow in opj_t1_encode_cblks in src/lib/openjp2/t1.c [epel-all]
CVE-2018-5727 openjpeg: oepnjpeg: integer overflow in opj_t1_encode_cblks in src/lib/openjp2/t1.c [epel-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 epel-all.
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 affect
Bugzilla
CVE-2018-5727 openjpeg: integer overflow in opj_t1_encode_cblks in src/lib/openjp2/t1.c
bugzilla·2018-01-19·CVSS 6.5
CVE-2018-5727 [MEDIUM] CVE-2018-5727 openjpeg: integer overflow in opj_t1_encode_cblks in src/lib/openjp2/t1.c
CVE-2018-5727 openjpeg: integer overflow in opj_t1_encode_cblks in src/lib/openjp2/t1.c
A flaw was found in OpenJPEG 2.3.0, there is an integer overflow vulnerability in the opj_t1_encode_cblks function in openjp2/t1.c file. Remote attackers could leverage this vulnerability to cause a denial of service via a crafted bmp file.
References:
https://github.com/uclouvain/openjpeg/issues/1053
Discussion:
Created openjpeg tracking bugs for this issue:
Affects: epel-all [bug 1536554]
Affects: fedora-all [bug 1536553]
---
Analysis:
I was able to reproduce this by using openjpeg compiled with -fsanitize=undefined. The following error message is displayed when the binary aborts:
[huzaifas@babylon bin]$ ./opj_compress -n 1 -i /tmp/openjpeg_2-3_opj_compress_integer-overflow_opj_t1_encode_cblk
Bugzilla
CVE-2018-5727 openjpeg: oepnjpeg: integer overflow in opj_t1_encode_cblks in src/lib/openjp2/t1.c [fedora-all]
bugzilla·2018-01-19·CVSS 6.5
CVE-2018-5727 [MEDIUM] CVE-2018-5727 openjpeg: oepnjpeg: integer overflow in opj_t1_encode_cblks in src/lib/openjp2/t1.c [fedora-all]
CVE-2018-5727 openjpeg: oepnjpeg: integer overflow in opj_t1_encode_cblks in src/lib/openjp2/t1.c [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-all.
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 af
2018-01-16
Published