Every CVE Search/ Get API key

CVE-2021-27845

A Divide-by-zero vulnerability exists in JasPer Image Coding Toolkit 2.0 in jasper/src/libjasper...

5.5 MediumFix available

A Divide-by-zero vulnerability exists in JasPer Image Coding Toolkit 2.0 in jasper/src/libjasper/jpc/jpc_enc.c

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

0.65%Up 0.2 points since Jul 16, 2021
90%50%10%1%

What each source reports

NVD Score used 5.5

A Divide-by-zero vulnerability exists in JasPer Image Coding Toolkit 2.0 in jasper/src/libjasper/jpc/jpc_enc.c

Record
CVE-2021-27845
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-369
Updated
2026-11-02
CVE List No score

A Divide-by-zero vulnerability exists in JasPer Image Coding Toolkit 2.0 in jasper/src/libjasper/jpc/jpc_enc.c

Record
CVE-2021-27845
Updated
2026-11-02
EUVDEUVD-2021-14584 No score

A Divide-by-zero vulnerability exists in JasPer Image Coding Toolkit 2.0 in jasper/src/libjasper/jpc/jpc_enc.c

Record
EUVD-2021-14584
Updated
2026-11-03
GitHub AdvisoriesGHSA-6xx8-4xh5-jh9w No score

A Divide-by-zero vulnerability exists in JasPer Image Coding Toolkit 2.0 in jasper/src/libjasper...

A Divide-by-zero vulnerability exists in JasPer Image Coding Toolkit 2.0 in jasper/src/libjasper/jpc/jpc_enc.c

Record
GHSA-6xx8-4xh5-jh9w
Weakness
CWE-369
Updated
2026-11-02
OSV 5.5

A Divide-by-zero vulnerability exists in JasPer Image Coding Toolkit 2.0 in jasper/src/libjasper/jpc/jpc_enc.c

Record
CVE-2021-27845
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
OSVOESA-2021-1347 5.5

jasper security update

The JasPer Project is an open-source initiative to provide a free software-based reference implementation of the codec specified in the JPEG-2000 Part-1 standard.

Security Fix(es):

A Divide-by-zero vulnerability exists in JasPer Image Coding Toolkit 2.0 in jasper/src/libjasper/jpc/jpc_enc.c(CVE-2021-27845)

Record
OESA-2021-1347
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 6 moreShow less
OSVUBUNTU-CVE-2021-27845 5.5

A Divide-by-zero vulnerability exists in JasPer Image Coding Toolkit 2.0 in jasper/src/libjasper/jpc/jpc_enc.c

Record
UBUNTU-CVE-2021-27845
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
OSVopenSUSE-SU-2022:0562-1 No score

Security update for jasper

This update for jasper fixes the following issues:

  • CVE-2021-27845: Fixed divide-by-zery issue in cp_create() (bsc#1188437).
Record
openSUSE-SU-2022:0562-1
Updated
2026-11-02
OSVopenSUSE-SU-2024:13389-1 No score

jasper-4.0.0-2.1 on GA media

These are all security issues fixed in the jasper-4.0.0-2.1 package on the GA media of openSUSE Tumbleweed.

Record
openSUSE-SU-2024:13389-1
Updated
2026-11-02
OSVSUSE-SU-2022:0561-1 No score

Security update for jasper

This update for jasper fixes the following issues:

  • CVE-2021-27845: Fixed divide-by-zery issue in cp_create() (bsc#1188437).
Record
SUSE-SU-2022:0561-1
Updated
2026-11-02
OSVSUSE-SU-2022:0562-1 No score

Security update for jasper

This update for jasper fixes the following issues:

  • CVE-2021-27845: Fixed divide-by-zery issue in cp_create() (bsc#1188437).
Record
SUSE-SU-2022:0562-1
Updated
2026-11-02
OSVSUSE-SU-2022:0562-2 No score

Security update for jasper

This update for jasper fixes the following issues:

  • CVE-2021-27845: Fixed divide-by-zery issue in cp_create() (bsc#1188437).
Record
SUSE-SU-2022:0562-2
Updated
2026-11-02

Affected products

Affected packages

Affected packages
PackageAffectedFixed
jasper
openEuler:20.03-LTS-SP2
before 2.0.14-10.oe1
2.0.14-10.oe1
jasper
SUSE:Linux Enterprise Software Development Kit 12 SP5
before 1.900.14-195.28.1
1.900.14-195.28.1
jasper
SUSE:Linux Enterprise Server 12 SP5
before 1.900.14-195.28.1
1.900.14-195.28.1
jasper
SUSE:Linux Enterprise Server for SAP Applications 12 SP5
before 1.900.14-195.28.1
1.900.14-195.28.1
jasper
SUSE:Linux Enterprise Module for Basesystem 15 SP3
before 2.0.14-3.22.1
2.0.14-3.22.1
jasper
SUSE:Linux Enterprise Module for Desktop Applications 15 SP3
before 2.0.14-3.22.1
2.0.14-3.22.1
jasper
SUSE:Linux Enterprise Real Time 15 SP2
before 2.0.14-3.22.1
2.0.14-3.22.1
jasper
SUSE:Linux Enterprise Module for Basesystem 15 SP4
before 2.0.14-3.22.1
2.0.14-3.22.1
jasper
SUSE:Linux Enterprise Module for Desktop Applications 15 SP4
before 2.0.14-3.22.1
2.0.14-3.22.1
jasper
SUSE:Linux Enterprise High Performance Computing 15 SP1-LTSS
before 2.0.14-3.22.1
2.0.14-3.22.1
Show 10 moreShow less
Affected packages
PackageAffectedFixed
jasper
SUSE:Linux Enterprise High Performance Computing 15 SP2-LTSS
before 2.0.14-3.22.1
2.0.14-3.22.1
jasper
SUSE:Linux Enterprise Server 15 SP1-LTSS
before 2.0.14-3.22.1
2.0.14-3.22.1
jasper
SUSE:Linux Enterprise Server 15 SP2-LTSS
before 2.0.14-3.22.1
2.0.14-3.22.1
jasper
SUSE:Linux Enterprise Server for SAP Applications 15 SP1
before 2.0.14-3.22.1
2.0.14-3.22.1
jasper
SUSE:Linux Enterprise Server for SAP Applications 15 SP2
before 2.0.14-3.22.1
2.0.14-3.22.1
jasper
SUSE:Enterprise Storage 6
before 2.0.14-3.22.1
2.0.14-3.22.1
jasper
SUSE:Enterprise Storage 7
before 2.0.14-3.22.1
2.0.14-3.22.1
jasper
Ubuntu:16.04:LTS
All versions, plus listed versions
1.900.1-debian1-2.41.900.1-debian1-2.4ubuntu11.900.1-debian1-2.4ubuntu1.11.900.1-debian1-2.4ubuntu1.21.900.1-debian1-2.4ubuntu1.3
None known
jasper
openSUSE:Leap 15.3
before 2.0.14-3.22.1
2.0.14-3.22.1
jasper
openSUSE:Tumbleweed
From an advisory covering 5 CVEs
before 4.0.0-2.1
4.0.0-2.1

History

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

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

In short

CVE-2021-27845 is a medium vulnerability (CVSS 5.5) in Jasper Project Jasper, published July 15, 2021. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 0.65%, the 51st percentile. Fixed in jasper 2.0.14-10.oe1.

References

Show 10 moreShow less
MoveEnter Open