Skip to content
Noroxi
NVD / CVE Program· CNA mitre

CVE-2020-6851: OpenJPEG through 2.3.1 has a heap-based buffer overflow in opj_t1_clbl_decode_processor in openjp2/t1.c because of lack of opj_j2k_update_im

Noroxi assessment

Priority: Monitor (action score 32/100)

  • The sources we track (CISA KEV, Exploit-DB, Metasploit, Nuclei, GitHub) show no public exploit code or exploitation in the wild.
  • Probability of exploitation in the next 30 days: 5.2% (FIRST EPSS); higher than 92.6% of all records.
  • Anyone who can reach it over the internet can trigger it. No account or password is required. No user action is required. No special conditions are required; it is repeatable.
  • Fixed version: openjpeg (Alpine:v3.10) 2.3.1-r3; openjpeg (Alpine:v3.8) 2.3.0-r4; openjpeg (Alpine:v3.9) 2.3.0-r5.

Low priority for now. Upgrade to openjpeg (Alpine:v3.10) 2.3.1-r3; openjpeg (Alpine:v3.8) 2.3.0-r4; openjpeg (Alpine:v3.9) 2.3.0-r5 or later.

Generated automatically from the record's data: CVSS (NVD and CNA), CISA KEV and SSVC, FIRST EPSS, exploit sources, fixed versions. How we calculate it

Primary sources: NVD · CVE.org · FIRST EPSS

OpenJPEG through 2.3.1 has a heap-based buffer overflow in opj_t1_clbl_decode_processor in openjp2/t1.c because of lack of opj_j2k_update_image_dimensions validation.

HighCVSS 7.5 · v3.1—No exploit Fix available
Published
Jan 13, 2020
Updated
Sep 22, 2026
EPSS
5.2% · 92th percentile

Report tools

JSON

Action score

32

Monitor

Low priority for now.

CVSS
30 / 40 · 7.5 / 10
CISA KEV
0 / 30 · Not listed
EPSS
2 / 30 · 5.2%

Get told when this record changes

  • Not in KEV: no record of exploitation in the wild
  • No public exploit code on record
  • A fix has been released

If any of these changes, we'll tell you in the daily email digest.

Follow CVE-2020-6851

When you'll hear from us

  • when it enters CISA KEV
  • when exploit code appears or is weaponized
  • when the record is updated (including a fixed version)
  • when EPSS rises 20 points in a week

One daily email digest (06:00 UTC); connect a webhook for KEV listings and weaponized exploits instantly.

Your free account also gets you

Running WordPress? Scan your site free with WP Lens

  • Stack alerts: add the products and versions you run, get the new CVEs that affect them
  • Uptime monitoring: 1 site, instant email when it goes down
  • Add your domain: subdomains and takeover risk scanned every week (1 domain)
  • 10 scans an hour on the security tools (3 a day without an account), an API key and MCP
  • All your scans in one panel: findings, what changed in the last scan, a report per domain or per client (PDF, share link)
All free tools

Sign up with email · Have an account? Sign in

Free account, no card. Unfollow any time.

Running WordPress? Scan your site free with WP Lens

Is your version affected? Check it

Noroxi analysis

What does it mean in your environment?

The assessment above is generated automatically from the record's data; it doesn't know your environment. Our team verifies on your systems whether this vulnerability is actually exploitable and which mitigation is enough.

We use this product, ask for help

Affected systems

Is your version affected?

Pick the product and type the version you run. It's compared with this record's version ranges in your browser; the version isn't sent anywhere.

VendorProduct
uclouvainopenjpeg
fedoraprojectfedora
debiandebian linux
redhatenterprise linux
redhatenterprise linux desktop
redhatenterprise linux eus
redhatenterprise linux server
redhatenterprise linux server aus
redhatenterprise linux server tus
redhatenterprise linux workstation
oraclegeoraster
oracleoutside in technology

Affected versions

NVD version ranges (for catalog products). Add the product to your stack with a version and matching uses these.

  • debian debian linux10.0
  • debian debian linux8.0
  • debian debian linux9.0
  • fedoraproject fedora30
  • fedoraproject fedora31
  • oracle georaster18c
  • oracle outside in technology8.5.4
  • oracle outside in technology8.5.5
  • redhat enterprise linux8.0
  • redhat enterprise linux desktop7.0
  • redhat enterprise linux eus7.7
  • redhat enterprise linux eus8.1
  • redhat enterprise linux eus8.2
  • redhat enterprise linux eus8.4
  • redhat enterprise linux server7.0
  • redhat enterprise linux server aus7.7
  • redhat enterprise linux server aus8.2
  • redhat enterprise linux server aus8.4
  • redhat enterprise linux server tus7.7
  • redhat enterprise linux server tus8.2

Package-level exposure

OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.

EcosystemPackageAffected rangeFix
Alpine:v3.10openjpegbefore 2.3.1-r32.3.1-r3
Alpine:v3.8openjpegbefore 2.3.0-r42.3.0-r4
Alpine:v3.9openjpegbefore 2.3.0-r52.3.0-r5
Debian:10openjpeg2before 2.3.0-2+deb10u22.3.0-2+deb10u2
Debian:12openjpeg2before 2.4.0-12.4.0-1
Debian:8openjpeg2before 2.1.0-2+deb8u92.1.0-2+deb8u9
Debian:9openjpeg2before 2.1.2-1.1+deb9u52.1.2-1.1+deb9u5
openSUSE:Leap 15.3openjpeg2before 2.3.0-150000.3.5.12.3.0-150000.3.5.1
openSUSE:Leap 16.0libheifbefore 1.23.5-160000.1.11.23.5-160000.1.1
openSUSE:Tumbleweedlibheifbefore 1.23.5-1.11.23.5-1.1
Red Hat:enterprise_linux:7::clientopenjpeg2before 0:2.3.1-2.el7_70:2.3.1-2.el7_7
Red Hat:enterprise_linux:7::clientopenjpeg2-debuginfobefore 0:2.3.1-2.el7_70:2.3.1-2.el7_7
Red Hat:enterprise_linux:7::clientopenjpeg2-develbefore 0:2.3.1-2.el7_70:2.3.1-2.el7_7
Red Hat:enterprise_linux:7::clientopenjpeg2-devel-docsbefore 0:2.3.1-2.el7_70:2.3.1-2.el7_7
Red Hat:enterprise_linux:7::clientopenjpeg2-toolsbefore 0:2.3.1-2.el7_70:2.3.1-2.el7_7
Red Hat:enterprise_linux:8::appstreamopenjpeg2before 0:2.3.1-2.el8_10:2.3.1-2.el8_1
Red Hat:enterprise_linux:8::appstreamopenjpeg2-debuginfobefore 0:2.3.1-2.el8_10:2.3.1-2.el8_1
Red Hat:enterprise_linux:8::appstreamopenjpeg2-debugsourcebefore 0:2.3.1-2.el8_10:2.3.1-2.el8_1
Red Hat:enterprise_linux:8::appstreamopenjpeg2-devel-docsbefore 0:2.3.1-2.el8_10:2.3.1-2.el8_1
Red Hat:enterprise_linux:8::appstreamopenjpeg2-toolsbefore 0:2.3.1-2.el8_10:2.3.1-2.el8_1
Red Hat:enterprise_linux:8::appstreamopenjpeg2-tools-debuginfobefore 0:2.3.1-2.el8_10:2.3.1-2.el8_1
Red Hat:enterprise_linux:8::crbopenjpeg2-develbefore 0:2.3.1-2.el8_10:2.3.1-2.el8_1
Red Hat:rhel_e4s:8.0::appstreamopenjpeg2before 0:2.3.0-9.el8_00:2.3.0-9.el8_0
Red Hat:rhel_e4s:8.0::appstreamopenjpeg2-debuginfobefore 0:2.3.0-9.el8_00:2.3.0-9.el8_0

+7

Other highest-scoring records for the same primary product.

  • CVE-2012-3358Multiple heap-based buffer overflows in the j2k_read_sot function in j2k.c in OpenJPEG 1.5 allow remote attackers to cause a denial of servi
    42Plan
  • CVE-2017-17480In OpenJPEG 2.3.0, a stack-based buffer overflow was discovered in the pgxtovolume function in jp3d/convert.c.
    41Plan
  • CVE-2013-4290Stack-based buffer overflow in OpenJPEG before 1.5.2 allows remote attackers to have unspecified impact via unknown vectors to (1) lib/openj
    41Plan

Published before and after this one in the same product

  • ← EarlierCVE-2019-12973Jun 26, 2019 · In OpenJPEG 2.3.1, there is excessive iteration in the opj_t1_encode_cblks function of openjp2/t1.c.
    23Monitor
  • ← EarlierCVE-2018-21010Sep 5, 2019 · OpenJPEG before 2.3.1 has a heap buffer overflow in color_apply_icc_profile in bin/common/color.c.
    36Monitor
  • Later →CVE-2020-8112Jan 28, 2020 · opj_t1_clbl_decode_processor in openjp2/t1.c in OpenJPEG 2.3.1 through 2020-01-28 has a heap-based buffer overflow in the qmfbid==1 case, a
    36Monitor

Remediation

Which version to upgrade to

Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.

Product / packageFixed versionSource
alpine:openjpeg2.3.1-r3 · Alpine:v3.10Package registry (OSV)
debian:openjpeg22.4.0-1 · Debian:12Package registry (OSV)
opensuse:libheif1.23.5-1.1 · openSUSE:TumbleweedPackage registry (OSV)
opensuse:openjpeg22.3.0-150000.3.5.1 · openSUSE:Leap 15.3Package registry (OSV)
red hat:openjpeg20:2.3.1-2.el7_7 · Red Hat:enterprise_linux:7::clientPackage registry (OSV)
red hat:openjpeg2-debuginfo0:2.3.1-2.el7_7 · Red Hat:enterprise_linux:7::clientPackage registry (OSV)
red hat:openjpeg2-debugsource0:2.3.1-2.el8_1 · Red Hat:enterprise_linux:8::appstreamPackage registry (OSV)
red hat:openjpeg2-devel0:2.3.1-2.el7_7 · Red Hat:enterprise_linux:7::clientPackage registry (OSV)
red hat:openjpeg2-devel-docs0:2.3.1-2.el7_7 · Red Hat:enterprise_linux:7::clientPackage registry (OSV)
red hat:openjpeg2-tools0:2.3.1-2.el7_7 · Red Hat:enterprise_linux:7::clientPackage registry (OSV)
red hat:openjpeg2-tools-debuginfo0:2.3.1-2.el8_1 · Red Hat:enterprise_linux:8::appstreamPackage registry (OSV)
suse:libheif1.23.5-150700.3.24.1 · SUSE:Linux Enterprise Module for Desktop Applications 15 SP7Package registry (OSV)
suse:libheif1.23.5-160000.1.1 · SUSE:Linux Enterprise Server 16.0Package registry (OSV)
suse:openjpeg22.3.0-150000.3.5.1 · SUSE:Linux Enterprise Module for Basesystem 15 SP3Package registry (OSV)

Exploit status

No known public exploit

No public exploit has been observed yet. That doesn't mean you're safe, only that the bar is a little higher.

Research context

For pentesters and researchers: attack profile, score disagreement, timeline, patch commits, credits, variant and chain candidates, bug bounty scope. All derived from existing data; no exploit code.

Timeline

From publication to today: proof of concept, Metasploit module, CISA KEV and fix record. Dates are as reported by the sources.

No dated events beyond publication.

No history yet (it accumulates with the daily EPSS job).

Patch and commit links

Commit, PR and diff links among the references. A starting point for patch-diffing and variant hunting; fixes, not exploits.

No commit or PR link among the references.

Finders, reporters and analysts named in the CNA record. Click a name for that researcher’s other records.

No credits in the CNA record.

Variant candidates

Same product, same weakness class, within 18 months. If the patch missed the root cause, the sibling bug is here.

No nightly-computed relations.

Chain candidates

An authentication bypass and a privilege-requiring bug in the same product, published close together: combined they may become an unauthenticated path.

—

Bug bounty scope

No known public program.

Source: bounty-targets-data (public HackerOne, Bugcrowd, Intigriti, YesWeHack listings).

Technical details

Attack conditions

  • Anyone who can reach it over the internet can trigger it.
  • No account or password is required.
  • No user action is required.
  • No special conditions are required; it is repeatable.

If successful

Confidentiality
none
Integrity
none
Availability
high · the service can be disrupted
Attack vector
Network
Attack complexity
Low
Privileges required
None
User interaction
None
Scope
Unchanged
Confidentiality impact
None
Integrity impact
None
Availability impact
High

Weakness class (CWE)

CWE-787 · Out-of-bounds Write

CVSS vector

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

nvd-primary

Attack context

MITRE CAPEC attack patterns and ATT&CK techniques for this weakness class (CWE). A starting point for detection rules and threat hunting.

MITRE has no CAPEC/ATT&CK mapping for this CWE.

Change log

  1. Fix✗ → ✓

For records you follow, these changes also arrive as notifications. →

References

All records