CVE-2016-9581
An infinite loop vulnerability in tiftoimage that results in heap buffer overflow in...
CVE-2016-9581 is a low vulnerability (CVSS 3.3) in Uclouvain Openjpeg, published December 27, 2016. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 1.94%, the 80th percentile. Fixed in openjpeg 2.1.2-r1.
An infinite loop vulnerability in tiftoimage that results in heap buffer overflow in convert_32s_C1P1 was found in openjpeg 2.1.2.
Attack profile
How easy it is to exploit
- Attack vector
- Local
- Complexity
- Low
- Privileges needed
- None
- User interaction
- Required
What an attacker can affect
- Confidentiality
- None
- Integrity
- None
- Availability
- Low
Exploit likelihood
What each source reports
CVE List Score used
3.3
An infinite loop vulnerability in tiftoimage that results in heap buffer overflow in convert_32s_C1P1 was found in openjpeg 2.1.2.
- Record
CVE-2016-9581- CVSS 3.0
- 3.3 Low
CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L - Weakness
- CWE-835, CWE-122
- Updated
- 2026-11-02
EUVDEUVD-2016-10387
3.3
An infinite loop vulnerability in tiftoimage that results in heap buffer overflow in convert_32s_C1P1 was found in openjpeg 2.1.2.
- Record
EUVD-2016-10387- CVSS 3.0
- 3.3 Low
CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L - Updated
- 2026-11-03
GitHub AdvisoriesGHSA-qrq4-w8rp-x888
8.8
An infinite loop vulnerability in tiftoimage that results in heap buffer overflow in...
An infinite loop vulnerability in tiftoimage that results in heap buffer overflow in convert_32s_C1P1 was found in openjpeg 2.1.2.
- Record
GHSA-qrq4-w8rp-x888- CVSS 3.0
- 8.8 High
CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H - Weakness
- CWE-119, CWE-122
- Updated
- 2026-11-02
NVD
3.3
An infinite loop vulnerability in tiftoimage that results in heap buffer overflow in convert_32s_C1P1 was found in openjpeg 2.1.2.
- Record
CVE-2016-9581- CVSS 3.0
- 3.3 Low
CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L - CVSS 3.0
- 8.8 High
CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H - CVSS 2.0
- 6.8 Medium
AV:N/AC:M/Au:N/C:P/I:P/A:P - Weakness
- CWE-122, CWE-835, CWE-119
- Updated
- 2026-11-02
OSVALPINE-CVE-2016-9581
8.8
An infinite loop vulnerability in tiftoimage that results in heap buffer overflow in convert_32s_C1P1 was found in openjpeg 2.1.2.
- Record
ALPINE-CVE-2016-9581- CVSS 3.0
- 8.8 High
CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
OSVBELL-CVE-2016-9581
8.8
CVE-2016-9581 does not affect BellSoft software
- Record
BELL-CVE-2016-9581- CVSS 3.0
- 8.8 High
CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
Show 7 moreShow less
OSV
8.8
An infinite loop vulnerability in tiftoimage that results in heap buffer overflow in convert_32s_C1P1 was found in openjpeg 2.1.2.
- Record
CVE-2016-9581- CVSS 3.0
- 8.8 High
CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
OSVDEBIAN-CVE-2016-9581
8.8
An infinite loop vulnerability in tiftoimage that results in heap buffer overflow in convert_32s_C1P1 was found in openjpeg 2.1.2.
- Record
DEBIAN-CVE-2016-9581- CVSS 3.0
- 8.8 High
CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
OSVUBUNTU-CVE-2016-9581
8.8
An infinite loop vulnerability in tiftoimage that results in heap buffer overflow in convert_32s_C1P1 was found in openjpeg 2.1.2.
- Record
UBUNTU-CVE-2016-9581- CVSS 3.0
- 8.8 High
CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H - CVSS 3.0
- 3.3 Low
CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L - Updated
- 2026-11-02
OSVMGASA-2016-0426 No score
Updated openjpeg2 packages fix security vulnerabilities
A NULL pointer dereference flaw was found in the way openjpeg decoded certain input images. Due to a logic error in the code responsible for decoding the input image, an application using openjpeg to process image data could crash when processing a crafted image (CVE-2016-9572).
A heap buffer overflow flaw was found in the way openjpeg decompressed certain input images. Due to an insufficient check in the imagetopnm() function, an application using openjpeg to process image data could crash when processing a crafted image (CVE-2016-9573).
An integer overflow vulnerability was found in tiftoimage function resulting into heap buffer overflow (CVE-2016-9580).
An infinite loop vulnerability in tiftoimage that results into heap buffer overflow in convert_32s_C1P1 was found (CVE-2016-9581)
- Record
MGASA-2016-0426- Updated
- 2026-11-02
OSVopenSUSE-SU-2017:2567-1 No score
Security update for openjpeg2
This update for openjpeg2 fixes the following issues:
- CVE-2016-9114: NULL Pointer Access in function imagetopnm of convert.c:1943(jp2) could lead to crash [bsc#1007740]
- CVE-2016-9115: Heap Buffer Overflow in function imagetotga of convert.c(jp2) [bsc#1007741]
- CVE-2016-9580, CVE-2016-9581: Possible Heap buffer overflow via integer overflow and infite loop [bsc#1014975]
- CVE-2016-9117: NULL Pointer Access in function imagetopnm of convert.c(jp2):1289 [bsc#1007743]
- CVE-2016-9118: Heap Buffer Overflow in function pnmtoimage of convert.c [bsc#1007744]
- CVE-2016-9112: FPE(Floating Point Exception) in lib/openjp2/pi.c:523 [bsc#1007747]
- CVE-2016-9116: NULL Pointer Access in function imagetopnm of convert.c:2226(jp2) [bsc#1007742]
- CVE-2016-9113: NULL point dereference in function imagetobmp of convertbmp.c could lead to crash [bsc#1007739]
- CVE-2016-9572 CVE-2016-9573: Insuficient check in imagetopnm() could lead to heap buffer overflow [bsc#1014543]
- CVE-2016-8332: Malicious file in OpenJPEG JPEG2000 format could lead to code execution [bsc#1002414]
- CVE-2016-7445: Null pointer dereference in convert.c could lead to crash [bsc#999817]
- CVE 2016-7163: Integer Overflow could lead to remote code execution [bsc#997857]
- CVE 2015-8871: Use-after-free in opj_j2k_write_mco function could lead to denial of service [bsc#979907]
This update was imported from the SUSE:SLE-12-SP2:Update update project.
- Record
openSUSE-SU-2017:2567-1- Updated
- 2026-11-02
OSVROOT-OS-DEBIAN-12-CVE-2016-9581 No score
CVE-2016-9581 in openjpeg2 - Patched by Root
Root has patched CVE-2016-9581 in the openjpeg2 package for Root:Debian:12. Multiple fixed versions available.
- Record
ROOT-OS-DEBIAN-12-CVE-2016-9581- Updated
- 2026-11-02
OSVSUSE-SU-2016:3270-1 No score
Security update for openjpeg2
This update for openjpeg2 fixes the following issues:
- CVE-2016-9114: NULL Pointer Access in function imagetopnm of convert.c:1943(jp2) could lead to crash [bsc#1007740]
- CVE-2016-9115: Heap Buffer Overflow in function imagetotga of convert.c(jp2) [bsc#1007741]
- CVE-2016-9580, CVE-2016-9581: Possible Heap buffer overflow via integer overflow and infite loop [bsc#1014975]
- CVE-2016-9117: NULL Pointer Access in function imagetopnm of convert.c(jp2):1289 [bsc#1007743]
- CVE-2016-9118: Heap Buffer Overflow in function pnmtoimage of convert.c [bsc#1007744]
- CVE-2016-9112: FPE(Floating Point Exception) in lib/openjp2/pi.c:523 [bsc#1007747]
- CVE-2016-9116: NULL Pointer Access in function imagetopnm of convert.c:2226(jp2) [bsc#1007742]
- CVE-2016-9113: NULL point dereference in function imagetobmp of convertbmp.c could lead to crash [bsc#1007739]
- CVE-2016-9572 CVE-2016-9573: Insuficient check in imagetopnm() could lead to heap buffer overflow [bsc#1014543]
- CVE-2016-8332: Malicious file in OpenJPEG JPEG2000 format could lead to code execution [bsc#1002414]
- CVE-2016-7445: Null pointer dereference in convert.c could lead to crash [bsc#999817]
- Record
SUSE-SU-2016:3270-1- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
openjpegAlpine:v3.10 |
before 2.1.2-r1 | 2.1.2-r1 |
openjpegAlpine:v3.11 |
before 2.1.2-r1 | 2.1.2-r1 |
openjpegAlpine:v3.12 |
before 2.1.2-r1 | 2.1.2-r1 |
openjpegAlpine:v3.13 |
before 2.1.2-r1 | 2.1.2-r1 |
openjpegAlpine:v3.14 |
before 2.1.2-r1 | 2.1.2-r1 |
openjpegAlpine:v3.15 |
before 2.1.2-r1 | 2.1.2-r1 |
openjpegAlpine:v3.16 |
before 2.1.2-r1 | 2.1.2-r1 |
openjpegAlpine:v3.17 |
before 2.1.2-r1 | 2.1.2-r1 |
openjpegAlpine:v3.18 |
before 2.1.2-r1 | 2.1.2-r1 |
openjpegAlpine:v3.19 |
before 2.1.2-r1 | 2.1.2-r1 |
Show 27 moreShow less
| Package | Affected | Fixed |
|---|---|---|
openjpegAlpine:v3.2 |
before 2.1.2-r1 | 2.1.2-r1 |
openjpegAlpine:v3.20 |
before 2.1.2-r1 | 2.1.2-r1 |
openjpegAlpine:v3.21 |
before 2.1.2-r1 | 2.1.2-r1 |
openjpegAlpine:v3.22 |
before 2.1.2-r1 | 2.1.2-r1 |
openjpegAlpine:v3.23 |
before 2.1.2-r1 | 2.1.2-r1 |
openjpegAlpine:v3.24 |
before 2.1.2-r1 | 2.1.2-r1 |
openjpegAlpine:v3.3 |
before 2.1.2-r1 | 2.1.2-r1 |
openjpegAlpine:v3.4 |
before 2.1.2-r1 | 2.1.2-r1 |
openjpegAlpine:v3.5 |
before 2.1.2-r1 | 2.1.2-r1 |
openjpegAlpine:v3.6 |
before 2.1.2-r1 | 2.1.2-r1 |
openjpegAlpine:v3.7 |
before 2.1.2-r1 | 2.1.2-r1 |
openjpegAlpine:v3.8 |
before 2.1.2-r1 | 2.1.2-r1 |
openjpegAlpine:v3.9 |
before 2.1.2-r1 | 2.1.2-r1 |
openjpeg2Debian:12 |
All versions, plus listed versions 2.5.0-22.5.0-2+deb12u12.5.0-2+deb12u22.5.0-2+deb12u32.5.3-1 Show 8 moreShow less2.5.3-1~exp12.5.3-1~exp22.5.3-22.5.3-2.12.5.3-2.1~deb13u12.5.3-2.1~deb13u22.5.4-12.5.4-1.1 |
None known |
openjpeg2Debian:13 |
All versions, plus listed versions 2.5.3-22.5.3-2.12.5.3-2.1~deb13u12.5.3-2.1~deb13u22.5.4-12.5.4-1.1 |
None known |
openjpeg2Debian:14 |
All versions, plus listed versions 2.5.3-22.5.3-2.12.5.3-2.1~deb13u12.5.3-2.1~deb13u22.5.4-12.5.4-1.1 |
None known |
openjpeg2Mageia:5 |
before 2.1.2-1.1.mga5 | 2.1.2-1.1.mga5 |
openjpeg2Root:Debian:12 |
before 2.5.0-2+deb12u2.root.io.13 | 2.5.0-2+deb12u2.root.io.132.5.0-2+deb12u2.root.io.102.5.0-2+deb12u2.root.io.122.5.0-2+deb12u2.root.io.112.5.0-2+deb12u2.root.io.142.5.0-2+deb12u2.root.io.92.5.0-2+deb12u2.root.io.152.5.0-2+deb12u2.root.io.162.5.0-2+deb12u3.aikido.17 |
rootio-openjpeg2Root:Debian:12 |
before 2.5.0-2+deb12u2.root.io.13 | 2.5.0-2+deb12u2.root.io.132.5.0-2+deb12u2.root.io.102.5.0-2+deb12u2.root.io.122.5.0-2+deb12u2.root.io.112.5.0-2+deb12u2.root.io.142.5.0-2+deb12u2.root.io.92.5.0-2+deb12u2.root.io.152.5.0-2+deb12u2.root.io.162.5.0-2+deb12u3.aikido.17 |
openjpeg2SUSE:Linux Enterprise Desktop 12 SP2 |
before 2.1.0-3.1 | 2.1.0-3.1 |
openjpeg2SUSE:Linux Enterprise Server for Raspberry Pi 12 SP2 |
before 2.1.0-3.1 | 2.1.0-3.1 |
openjpeg2SUSE:Linux Enterprise Server 12 SP2 |
before 2.1.0-3.1 | 2.1.0-3.1 |
openjpeg2SUSE:Linux Enterprise Server for SAP Applications 12 SP2 |
before 2.1.0-3.1 | 2.1.0-3.1 |
openjpegUbuntu:14.04:LTS |
All versions, plus listed versions 1.3+dfsg-4.6ubuntu21.3+dfsg-4.7ubuntu1 |
None known |
openjpegUbuntu:Pro:16.04:LTS |
All versions, plus listed versions 1:1.5.2-3.11:1.5.2-3.1ubuntu0.1~esm2 |
None known |
openjpeg2SUSE:Package Hub 12 |
before 2.1.0-6.1 | 2.1.0-6.1 |
openjpeg2SUSE:Package Hub 12 SP1 |
before 2.1.0-6.1 | 2.1.0-6.1 |
History
| When | Changed | Sources |
|---|---|---|
| 2026-11-03 | aliases | EUVD |
| 2026-11-02 | created | CVE List, GitHub Advisories, NVD, OSV |
References
github.com/uclouvain/openjpeg/issues/872
security.gentoo.org/glsa/201710-26
securityfocus.com/bid/94822
bugzilla.redhat.com/show_bug.cgi?id=CVE-2016-9581
github.com/szukw000/openjpeg/commit/cadff5fb6e73398de26a92e96d3d7cac893af255
nvd.nist.gov/vuln/detail/CVE-2016-9581
Show 41 moreShow less
github.com/advisories/GHSA-qrq4-w8rp-x888
security.alpinelinux.org/vuln/CVE-2016-9581
docs.bell-sw.com/security/cves/CVE-2016-9581
security-tracker.debian.org/tracker/CVE-2016-9581
advisories.mageia.org/MGASA-2016-0426.html
bugs.mageia.org/show_bug.cgi?id=19921
lists.fedoraproject.org/archives/list/[email protected]/thread/G3C7U32IFCUOTSYNRT6QD5AFHWZ2ELHE
lists.fedoraproject.org/archives/list/[email protected]/thread/FBFRC3OO5376WRT5PO5VE2JL6UB3NBO7
suse.com/support/update/announcement/2016/suse-su-20163270-1
bugzilla.suse.com/1002414
bugzilla.suse.com/1007739
bugzilla.suse.com/1007740
bugzilla.suse.com/1007741
bugzilla.suse.com/1007742
bugzilla.suse.com/1007743
bugzilla.suse.com/1007744
bugzilla.suse.com/1007747
bugzilla.suse.com/1014543
bugzilla.suse.com/1014975
bugzilla.suse.com/999817
suse.com/security/cve/CVE-2016-7445
suse.com/security/cve/CVE-2016-8332
suse.com/security/cve/CVE-2016-9112
suse.com/security/cve/CVE-2016-9113
suse.com/security/cve/CVE-2016-9114
suse.com/security/cve/CVE-2016-9115
suse.com/security/cve/CVE-2016-9116
suse.com/security/cve/CVE-2016-9117
suse.com/security/cve/CVE-2016-9118
suse.com/security/cve/CVE-2016-9572
suse.com/security/cve/CVE-2016-9573
suse.com/security/cve/CVE-2016-9580
suse.com/security/cve/CVE-2016-9581
ubuntu.com/security/CVE-2016-9581
openwall.com/lists/oss-security/2016/12/09/4
cve.org/CVERecord?id=CVE-2016-9581
lists.opensuse.org/archives/list/[email protected]/thread/AL7JYPSOTOZ4UZQTE7T4Y3J7RCMV7M6M
bugzilla.suse.com/979907
bugzilla.suse.com/997857
suse.com/security/cve/CVE-2015-8871
suse.com/security/cve/CVE-2016-7163