Every CVE Search/ Get API key

CVE-2020-27841

There's a flaw in openjpeg in versions prior to 2.4.0 in src/lib/openjp2/pi.c. When an attacker...

5.5 MediumFix available

There's a flaw in openjpeg in versions prior to 2.4.0 in src/lib/openjp2/pi.c. When an attacker is able to provide crafted input to be processed by the openjpeg encoder, this could cause an out-of-bounds read. The greatest impact from this flaw is to application availability.

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
High

Exploit likelihood

1.45%Up 0.2 points since Apr 14, 2021
90%50%10%1%

What each source reports

NVD Score used 5.5

There's a flaw in openjpeg in versions prior to 2.4.0 in src/lib/openjp2/pi.c. When an attacker is able to provide crafted input to be processed by the openjpeg encoder, this could cause an out-of-bounds read. The greatest impact from this flaw is to application availability.

Record
CVE-2020-27841
CVSS 3.1
5.5 MediumCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
CVSS 2.0
4.3 MediumAV:N/AC:M/Au:N/C:N/I:N/A:P
Weakness
CWE-122, CWE-787
Updated
2026-11-02
CVE List No score

There's a flaw in openjpeg in versions prior to 2.4.0 in src/lib/openjp2/pi.c. When an attacker is able to provide crafted input to be processed by the openjpeg encoder, this could cause an out-of-bounds read. The greatest impact from this flaw is to application availability.

Record
CVE-2020-27841
Weakness
CWE-122
Updated
2026-11-02
EUVDEUVD-2020-20339 No score

There's a flaw in openjpeg in versions prior to 2.4.0 in src/lib/openjp2/pi.c. When an attacker is able to provide crafted input to be processed by the openjpeg encoder, this could cause an out-of-bounds read. The greatest impact from this flaw is to application availability.

Record
EUVD-2020-20339
Updated
2026-11-03
GitHub AdvisoriesGHSA-7hw5-f79p-8gpg 5.5

There's a flaw in openjpeg in versions prior to 2.4.0 in src/lib/openjp2/pi.c. When an attacker...

There's a flaw in openjpeg in versions prior to 2.4.0 in src/lib/openjp2/pi.c. When an attacker is able to provide crafted input to be processed by the openjpeg encoder, this could cause an out-of-bounds read. The greatest impact from this flaw is to application availability.

Record
GHSA-7hw5-f79p-8gpg
CVSS 3.1
5.5 MediumCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
Weakness
CWE-122, CWE-787
Updated
2026-11-02
OSVAZL-45006 5.5

CVE-2020-27841 affecting package openjpeg2 for versions less than 2.3.1-12

There's a flaw in openjpeg in versions prior to 2.4.0 in src/lib/openjp2/pi.c. When an attacker is able to provide crafted input to be processed by the openjpeg encoder, this could cause an out-of-bounds read. The greatest impact from this flaw is to application availability.

Record
AZL-45006
CVSS 3.1
5.5 MediumCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
Updated
2026-11-02
OSVBELL-CVE-2020-27841 5.5

CVE-2020-27841 does not affect BellSoft software

Record
BELL-CVE-2020-27841
CVSS 3.1
5.5 MediumCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
Updated
2026-11-02
Show 12 moreShow less
OSV 5.5

There's a flaw in openjpeg in versions prior to 2.4.0 in src/lib/openjp2/pi.c. When an attacker is able to provide crafted input to be processed by the openjpeg encoder, this could cause an out-of-bounds read. The greatest impact from this flaw is to application availability.

Record
CVE-2020-27841
CVSS 3.1
5.5 MediumCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
Updated
2026-11-02
OSVDEBIAN-CVE-2020-27841 5.5

There's a flaw in openjpeg in versions prior to 2.4.0 in src/lib/openjp2/pi.c. When an attacker is able to provide crafted input to be processed by the openjpeg encoder, this could cause an out-of-bounds read. The greatest impact from this flaw is to application availability.

Record
DEBIAN-CVE-2020-27841
CVSS 3.1
5.5 MediumCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
Updated
2026-11-02
OSVJLSEC-2026-538 5.5

There's a flaw in openjpeg in versions prior to 2.4.0 in src/lib/openjp2/pi.c. When an attacker is able to provide crafted input to be processed by the openjpeg encoder, this could cause an out-of-bounds read. The greatest impact from this flaw is to application availability.

Record
JLSEC-2026-538
CVSS 3.1
5.5 MediumCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
CVSS 2.0
4.3 MediumAV:N/AC:M/Au:N/C:N/I:N/A:P
Updated
2026-11-02
OSVOESA-2021-1118 7.8

openjpeg2 security update

OpenJPEG is an open-source JPEG 2000 codec written in C language. It has been developed in order to promote the use of JPEG 2000, a still-image compression standard from the Joint Photographic Experts Group (JPEG). Since April 2015, it is officially recognized by ISO/IEC and ITU-T as a JPEG 2000 Reference Software.

Security Fix(es):

A heap-buffer overflow was found in the way openjpeg2 handled certain PNG format files. An attacker could use this flaw to cause an application crash or in some cases execute arbitrary code with the permission of the user running such an application.(CVE-2020-27814)

Theres a flaw in openjpeg in versions prior to 2.4.0 in src/lib/openjp2/pi.c. When an attacker is able to provide crafted input to be processed by the openjpeg encoder, this could cause an out-of-bounds read. The greatest impact from this flaw is to application availability.(CVE-2020-27841)

A flaw was found in OpenJPEG in versions prior to 2.4.0. This flaw allows an attacker to provide specially crafted input to the conversion or encoding functionality, causing an out-of-bounds read. The highest threat from this vulnerability is system availability.(CVE-2020-27843)

Theres a flaw in src/lib/openjp2/pi.c of openjpeg in versions prior to 2.4.0. If an attacker is able to provide untrusted input to openjpegs conversion/encoding functionality, they could cause an out-of-bounds read. The highest impact of this flaw is to application availability.(CVE-2020-27845)

Record
OESA-2021-1118
CVSS 3.1
7.8 HighCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Updated
2026-11-02
OSVUBUNTU-CVE-2020-27841 5.5

There's a flaw in openjpeg in versions prior to 2.4.0 in src/lib/openjp2/pi.c. When an attacker is able to provide crafted input to be processed by the openjpeg encoder, this could cause an out-of-bounds read. The greatest impact from this flaw is to application availability.

Record
UBUNTU-CVE-2020-27841
CVSS 3.1
5.5 MediumCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
Updated
2026-11-02
OSVMGASA-2020-0478 No score

Updated openjpeg2 packages fix security vulnerabilities

There's a flaw in openjpeg in src/lib/openjp2/pi.c. When an attacker is able to provide crafted input to be processed by the openjpeg encoder, this could cause an out-of-bounds read. The greatest impact from this flaw is to application availability (CVE-2020-27841).

There's a flaw in openjpeg's t2 encoder. An attacker who is able to provide crafted input to be processed by openjpeg could cause a null pointer dereference. The highest impact of this flaw is to application availability (CVE-2020-27842).

A flaw was found in OpenJPEG. This flaw allows an attacker to provide specially crafted input to the conversion or encoding functionality, causing an out-of-bounds read. The highest threat from this vulnerability is system availability (CVE-2020-27843).

There's a flaw in src/lib/openjp2/pi.c of openjpeg. If an attacker is able to provide untrusted input to openjpeg's conversion/encoding functionality, they could cause an out-of-bounds read. The highest impact of this flaw is to application availability (CVE-2020-27845).

Record
MGASA-2020-0478
Updated
2026-11-02
OSVopenSUSE-SU-2024:13571-1 No score

libopenjp2-7-2.5.0-4.1 on GA media

These are all security issues fixed in the libopenjp2-7-2.5.0-4.1 package on the GA media of openSUSE Tumbleweed.

Record
openSUSE-SU-2024:13571-1
Updated
2026-11-02
OSVSUSE-SU-2022:3802-1 No score

Security update for openjpeg2

This update for openjpeg2 fixes the following issues:

  • CVE-2018-20846: Fixed OOB read in pi_next_lrcp, pi_next_rlcp, pi_next_rpcl, pi_next_pcrl, pi_next_rpcl, and pi_next_cprl in openmj2/pi.c (bsc#1140205).
  • CVE-2018-21010: Fixed heap buffer overflow in color_apply_icc_profile in bin/common/color.c (bsc#1149789).
  • CVE-2020-27814: Fixed heap buffer overflow in lib/openjp2/mqc.c (bsc#1179594),
  • CVE-2020-27824: Fixed OOB read in opj_dwt_calc_explicit_stepsizes() (bsc#1179821).
  • CVE-2020-27841: Fixed buffer over-read in lib/openjp2/pi.c (bsc#1180042).
  • CVE-2020-27842: Fixed null pointer dereference in opj_tgt_reset function in lib/openjp2/tgt.c (bsc#1180043).
  • CVE-2020-27843: Fixed OOB read in opj_t2_encode_packet function in openjp2/t2.c (bsc#1180044).
  • CVE-2020-27845: Fixed heap-based buffer over-read in functions opj_pi_next_rlcp, opj_pi_next_rpcl and opj_pi_next_lrcp in openjp2/pi.c (bsc#1180046).
Record
SUSE-SU-2022:3802-1
Updated
2026-11-02
OSVUSN-4685-1 No score

openjpeg2 vulnerabilities

It was discovered that OpenJPEG incorrectly handled certain image data. An attacker could use this issue to cause OpenJPEG to crash, leading to a denial of service, or possibly execute arbitrary code.

Record
USN-4685-1
Updated
2026-11-02
OSVUSN-4686-1 No score

ghostscript vulnerabilities

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.

Record
USN-4686-1
Updated
2026-11-02
OSVUSN-4880-1 No score

openjpeg2 vulnerabilities

It was discovered that OpenJPEG incorrectly handled certain image data. An attacker could use this issue to cause OpenJPEG to crash, leading to a denial of service, or possibly execute arbitrary code.

Record
USN-4880-1
Updated
2026-11-02
OSVUSN-5952-1 No score

openjpeg2 vulnerabilities

Sebastian Poeplau discovered that OpenJPEG incorrectly handled certain inputs. If a user or an automated system were tricked into opening a specially crafted input file, a remote attacker could possibly use this issue to cause a denial of service or execute arbitrary code. This issue only affected Ubuntu 18.04 LTS. (CVE-2020-6851, CVE-2020-8112)

It was discovered that OpenJPEG incorrectly handled certain inputs. If a user or an automated system were tricked into opening a specially crafted input file, a remote attacker could possibly use this issue to cause a denial of service or execute arbitrary code. This issue only affected Ubuntu 18.04 LTS. (CVE-2020-15389, CVE-2020-27814, CVE-2020-27823, CVE-2020-27824, CVE-2020-27841, CVE-2020-27845)

It was discovered that OpenJPEG incorrectly handled certain inputs. If a user or an automated system were tricked into opening a specially crafted input file, a remote attacker could possibly use this issue to cause a denial of service. (CVE-2020-27842, CVE-2020-27843)

Record
USN-5952-1
Updated
2026-11-02

Affected products

Affected packages

Affected packages
PackageAffectedFixed
openjpeg2
Azure Linux:3
before 2.3.1-12
2.3.1-12
openjpeg2
Debian:12
before 2.4.0-1
2.4.0-1
openjpeg2
Debian:13
before 2.4.0-1
2.4.0-1
openjpeg2
Debian:14
before 2.4.0-1
2.4.0-1
openjpeg2
Debian:9
before 2.1.2-1.1+deb9u6, plus listed versions
2.1.2-1.12.1.2-1.1+deb9u12.1.2-1.1+deb9u22.1.2-1.1+deb9u32.1.2-1.1+deb9u42.1.2-1.1+deb9u5
2.1.2-1.1+deb9u6
openjpeg2
Debian:10
before 2.3.0-2+deb10u2, plus listed versions
2.3.0-22.3.0-2+deb10u1
2.3.0-2+deb10u2
OpenJpeg_jll
Julia
before 2.4.0+0
2.4.0+0
openjpeg2
Mageia:7
before 2.3.1-1.6.mga7
2.3.1-1.6.mga7
openjpeg2
openEuler:20.03-LTS
before 2.3.1-5.oe1
2.3.1-5.oe1
openjpeg2
openEuler:20.03-LTS-SP1
before 2.3.1-5.oe1
2.3.1-5.oe1
Show 38 moreShow less
Affected packages
PackageAffectedFixed
openjpeg2
SUSE:Linux Enterprise Module for Basesystem 15 SP3
before 2.3.0-150000.3.8.1
2.3.0-150000.3.8.1
openjpeg2
SUSE:Linux Enterprise Module for Basesystem 15 SP4
before 2.3.0-150000.3.8.1
2.3.0-150000.3.8.1
openjpeg2
SUSE:Linux Enterprise Module for Package Hub 15 SP3
before 2.3.0-150000.3.8.1
2.3.0-150000.3.8.1
openjpeg2
SUSE:Linux Enterprise High Performance Computing 15-ESPOS
before 2.3.0-150000.3.8.1
2.3.0-150000.3.8.1
openjpeg2
SUSE:Linux Enterprise High Performance Computing 15-LTSS
before 2.3.0-150000.3.8.1
2.3.0-150000.3.8.1
openjpeg2
SUSE:Linux Enterprise High Performance Computing 15 SP1-ESPOS
before 2.3.0-150000.3.8.1
2.3.0-150000.3.8.1
openjpeg2
SUSE:Linux Enterprise High Performance Computing 15 SP1-LTSS
before 2.3.0-150000.3.8.1
2.3.0-150000.3.8.1
openjpeg2
SUSE:Linux Enterprise High Performance Computing 15 SP2-ESPOS
before 2.3.0-150000.3.8.1
2.3.0-150000.3.8.1
openjpeg2
SUSE:Linux Enterprise High Performance Computing 15 SP2-LTSS
before 2.3.0-150000.3.8.1
2.3.0-150000.3.8.1
openjpeg2
SUSE:Linux Enterprise Server 15-LTSS
before 2.3.0-150000.3.8.1
2.3.0-150000.3.8.1
openjpeg2
SUSE:Linux Enterprise Server 15 SP1-BCL
before 2.3.0-150000.3.8.1
2.3.0-150000.3.8.1
openjpeg2
SUSE:Linux Enterprise Server 15 SP1-LTSS
before 2.3.0-150000.3.8.1
2.3.0-150000.3.8.1
openjpeg2
SUSE:Linux Enterprise Server 15 SP2-BCL
before 2.3.0-150000.3.8.1
2.3.0-150000.3.8.1
openjpeg2
SUSE:Linux Enterprise Server 15 SP2-LTSS
before 2.3.0-150000.3.8.1
2.3.0-150000.3.8.1
openjpeg2
SUSE:Linux Enterprise Server for SAP Applications 15
before 2.3.0-150000.3.8.1
2.3.0-150000.3.8.1
openjpeg2
SUSE:Linux Enterprise Server for SAP Applications 15 SP1
before 2.3.0-150000.3.8.1
2.3.0-150000.3.8.1
openjpeg2
SUSE:Linux Enterprise Server for SAP Applications 15 SP2
before 2.3.0-150000.3.8.1
2.3.0-150000.3.8.1
openjpeg2
SUSE:Manager Proxy 4.1
before 2.3.0-150000.3.8.1
2.3.0-150000.3.8.1
openjpeg2
SUSE:Manager Retail Branch Server 4.1
before 2.3.0-150000.3.8.1
2.3.0-150000.3.8.1
openjpeg2
SUSE:Manager Server 4.1
before 2.3.0-150000.3.8.1
2.3.0-150000.3.8.1
openjpeg2
SUSE:Enterprise Storage 6
before 2.3.0-150000.3.8.1
2.3.0-150000.3.8.1
openjpeg2
SUSE:Enterprise Storage 7
before 2.3.0-150000.3.8.1
2.3.0-150000.3.8.1
openjpeg2
openSUSE:Leap 15.3
before 2.3.0-150000.3.8.1
2.3.0-150000.3.8.1
openjpeg2
openSUSE:Leap 15.4
before 2.3.0-150000.3.8.1
2.3.0-150000.3.8.1
ghostscript
Ubuntu:16.04:LTS
before 9.26~dfsg+0-0ubuntu0.16.04.14, plus listed versions
9.16~dfsg~0-0ubuntu39.16~dfsg~0-0ubuntu49.18~dfsg~0-0ubuntu19.18~dfsg~0-0ubuntu29.18~dfsg~0-0ubuntu2.2
Show 21 moreShow less
9.18~dfsg~0-0ubuntu2.39.18~dfsg~0-0ubuntu2.49.18~dfsg~0-0ubuntu2.69.18~dfsg~0-0ubuntu2.79.18~dfsg~0-0ubuntu2.89.18~dfsg~0-0ubuntu2.99.25~dfsg+1-0ubuntu0.16.04.19.25~dfsg+1-0ubuntu0.16.04.29.25~dfsg+1-0ubuntu0.16.04.39.26~dfsg+0-0ubuntu0.16.04.19.26~dfsg+0-0ubuntu0.16.04.39.26~dfsg+0-0ubuntu0.16.04.49.26~dfsg+0-0ubuntu0.16.04.59.26~dfsg+0-0ubuntu0.16.04.69.26~dfsg+0-0ubuntu0.16.04.79.26~dfsg+0-0ubuntu0.16.04.89.26~dfsg+0-0ubuntu0.16.04.99.26~dfsg+0-0ubuntu0.16.04.109.26~dfsg+0-0ubuntu0.16.04.119.26~dfsg+0-0ubuntu0.16.04.129.26~dfsg+0-0ubuntu0.16.04.13
9.26~dfsg+0-0ubuntu0.16.04.14
openjpeg2
Ubuntu:16.04:LTS
before 2.1.2-1.1+deb9u6build0.16.04.1, plus listed versions
2.1.0-2.12.1.0-2.1ubuntu0.12.1.2-1.1+deb9u2build0.12.1.2-1.1+deb9u3build0.16.04.12.1.2-1.1+deb9u5build0.16.04.1
2.1.2-1.1+deb9u6build0.16.04.1
ghostscript
Ubuntu:18.04:LTS
before 9.26~dfsg+0-0ubuntu0.18.04.14, plus listed versions
9.21~dfsg+1-0ubuntu39.22~dfsg+1-0ubuntu19.22~dfsg+1-0ubuntu1.19.22~dfsg+1-0ubuntu1.29.25~dfsg+1-0ubuntu0.18.04.1
Show 13 moreShow less
9.25~dfsg+1-0ubuntu0.18.04.29.26~dfsg+0-0ubuntu0.18.04.19.26~dfsg+0-0ubuntu0.18.04.39.26~dfsg+0-0ubuntu0.18.04.49.26~dfsg+0-0ubuntu0.18.04.59.26~dfsg+0-0ubuntu0.18.04.69.26~dfsg+0-0ubuntu0.18.04.79.26~dfsg+0-0ubuntu0.18.04.89.26~dfsg+0-0ubuntu0.18.04.99.26~dfsg+0-0ubuntu0.18.04.109.26~dfsg+0-0ubuntu0.18.04.119.26~dfsg+0-0ubuntu0.18.04.129.26~dfsg+0-0ubuntu0.18.04.13
9.26~dfsg+0-0ubuntu0.18.04.14
openjpeg2
Ubuntu:18.04:LTS
before 2.3.0-2+deb10u2build0.18.04.1, plus listed versions
2.2.0-12.3.0-12.3.0-2build0.18.04.1
2.3.0-2+deb10u2build0.18.04.1
qtwebengine-opensource-src
Ubuntu:Pro:18.04:LTS
All versions, plus listed versions
5.9.1+dfsg-45.9.1+dfsg-4ubuntu15.9.2+dfsg-2ubuntu15.9.3+dfsg-0ubuntu15.9.4+dfsg-0ubuntu15.9.5+dfsg-0ubuntu25.9.5+dfsg-0ubuntu2+esm1
None known
openjpeg2
Ubuntu:20.04:LTS
before 2.3.1-1ubuntu4.20.04.1, plus listed versions
2.3.0-22.3.0-2build12.3.1-12.3.1-1ubuntu32.3.1-1ubuntu4
2.3.1-1ubuntu4.20.04.1
qtwebengine-opensource-src
Ubuntu:Pro:20.04:LTS
All versions, plus listed versions
5.12.4+dfsg-1ubuntu15.12.4+dfsg-1ubuntu35.12.5+dfsg-3ubuntu15.12.5+dfsg-6ubuntu25.12.5+dfsg-7
Show 4 moreShow less
5.12.5+dfsg-7build15.12.8+dfsg-0ubuntu15.12.8+dfsg-0ubuntu1.15.12.8+dfsg-0ubuntu1.1+esm1
None known
openjpeg2
Ubuntu:22.04:LTS
before 2.3.1-1ubuntu5
2.3.1-1ubuntu5
qtwebengine-opensource-src
Ubuntu:Pro:22.04:LTS
All versions, plus listed versions
5.15.6+dfsg-15.15.6+dfsg-25.15.7+dfsg-25.15.8+dfsg-15.15.8+dfsg-1build1
Show 4 moreShow less
5.15.8+dfsg-1build25.15.8+dfsg-25.15.9+dfsg-15.15.9+dfsg-1ubuntu0.1~esm1
None known
qtwebengine-opensource-src
Ubuntu:Pro:24.04:LTS
All versions, plus listed versions
5.15.15+dfsg-25.15.15+dfsg-2build25.15.15+dfsg-2ubuntu15.15.16+dfsg-15.15.16+dfsg-1ubuntu25.15.16+dfsg-1ubuntu45.15.16+dfsg-35.15.16+dfsg-3ubuntu0.1~esm1
None known
qtwebengine-opensource-src
Ubuntu:25.10
All versions, plus listed versions
5.15.18+dfsg-25.15.18+dfsg-2build15.15.19+dfsg-15.15.19+dfsg2-1
None known
qtwebengine-opensource-src
Ubuntu:26.10
All versions, plus listed versions
5.15.19+dfsg2-45.15.19+dfsg2-65.15.19+dfsg2-7
None known
qtwebengine-opensource-src
Ubuntu:Pro:26.04:LTS
All versions, plus listed versions
5.15.19+dfsg2-15.15.19+dfsg2-1build15.15.19+dfsg2-25.15.19+dfsg2-35.15.19+dfsg2-45.15.19+dfsg2-4ubuntu0.1~esm1
None known
openjpeg2
Ubuntu:Pro:16.04:LTS
before 2.1.2-1.1+deb9u6ubuntu0.1~esm3, plus listed versions
2.1.0-2.12.1.0-2.1ubuntu0.12.1.2-1.1+deb9u2build0.12.1.2-1.1+deb9u3build0.16.04.12.1.2-1.1+deb9u3ubuntu0.1~esm1
Show 4 moreShow less
2.1.2-1.1+deb9u5build0.16.04.12.1.2-1.1+deb9u5ubuntu0.1~esm12.1.2-1.1+deb9u6build0.16.04.12.1.2-1.1+deb9u6ubuntu0.1~esm1
2.1.2-1.1+deb9u6ubuntu0.1~esm3

History

History
RecordedChangedSources
aliasesEUVD
first indexedCVE List, GitHub Advisories, NVD, OSV

Dates are when Every CVE recorded each change. Upstream dates may differ.

In short

CVE-2020-27841 is a medium vulnerability (CVSS 5.5) in Uclouvain Openjpeg, published December 29, 2020. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 1.45%, the 73rd percentile. Fixed in openjpeg2 2.3.1-12.

References

Show 52 moreShow less
MoveEnter Open