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.
- Published
- Jan 13, 2020
- Updated
- Sep 22, 2026
- EPSS
- 5.2% · 92th percentile
- CWE
- CWE-787
Report tools
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.
Running WordPress? Scan your site free with WP Lens
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 helpAffected 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.
| Vendor | Product | CPE |
|---|---|---|
| uclouvain | openjpeg | cpe:2.3:a:uclouvain:openjpeg |
| fedoraproject | fedora | cpe:2.3:o:fedoraproject:fedora |
| debian | debian linux | cpe:2.3:o:debian:debian_linux |
| redhat | enterprise linux | cpe:2.3:o:redhat:enterprise_linux |
| redhat | enterprise linux desktop | cpe:2.3:o:redhat:enterprise_linux_desktop |
| redhat | enterprise linux eus | cpe:2.3:o:redhat:enterprise_linux_eus |
| redhat | enterprise linux server | cpe:2.3:o:redhat:enterprise_linux_server |
| redhat | enterprise linux server aus | cpe:2.3:o:redhat:enterprise_linux_server_aus |
| redhat | enterprise linux server tus | cpe:2.3:o:redhat:enterprise_linux_server_tus |
| redhat | enterprise linux workstation | cpe:2.3:o:redhat:enterprise_linux_workstation |
| oracle | georaster | cpe:2.3:a:oracle:georaster |
| oracle | outside in technology | cpe:2.3:a:oracle:outside_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.
| Ecosystem | Package | Affected range | Fix |
|---|---|---|---|
| Alpine:v3.10 | openjpeg | before 2.3.1-r3 | 2.3.1-r3 |
| Alpine:v3.8 | openjpeg | before 2.3.0-r4 | 2.3.0-r4 |
| Alpine:v3.9 | openjpeg | before 2.3.0-r5 | 2.3.0-r5 |
| Debian:10 | openjpeg2 | before 2.3.0-2+deb10u2 | 2.3.0-2+deb10u2 |
| Debian:12 | openjpeg2 | before 2.4.0-1 | 2.4.0-1 |
| Debian:8 | openjpeg2 | before 2.1.0-2+deb8u9 | 2.1.0-2+deb8u9 |
| Debian:9 | openjpeg2 | before 2.1.2-1.1+deb9u5 | 2.1.2-1.1+deb9u5 |
| openSUSE:Leap 15.3 | openjpeg2 | before 2.3.0-150000.3.5.1 | 2.3.0-150000.3.5.1 |
| openSUSE:Leap 16.0 | libheif | before 1.23.5-160000.1.1 | 1.23.5-160000.1.1 |
| openSUSE:Tumbleweed | libheif | before 1.23.5-1.1 | 1.23.5-1.1 |
| Red Hat:enterprise_linux:7::client | openjpeg2 | before 0:2.3.1-2.el7_7 | 0:2.3.1-2.el7_7 |
| Red Hat:enterprise_linux:7::client | openjpeg2-debuginfo | before 0:2.3.1-2.el7_7 | 0:2.3.1-2.el7_7 |
| Red Hat:enterprise_linux:7::client | openjpeg2-devel | before 0:2.3.1-2.el7_7 | 0:2.3.1-2.el7_7 |
| Red Hat:enterprise_linux:7::client | openjpeg2-devel-docs | before 0:2.3.1-2.el7_7 | 0:2.3.1-2.el7_7 |
| Red Hat:enterprise_linux:7::client | openjpeg2-tools | before 0:2.3.1-2.el7_7 | 0:2.3.1-2.el7_7 |
| Red Hat:enterprise_linux:8::appstream | openjpeg2 | before 0:2.3.1-2.el8_1 | 0:2.3.1-2.el8_1 |
| Red Hat:enterprise_linux:8::appstream | openjpeg2-debuginfo | before 0:2.3.1-2.el8_1 | 0:2.3.1-2.el8_1 |
| Red Hat:enterprise_linux:8::appstream | openjpeg2-debugsource | before 0:2.3.1-2.el8_1 | 0:2.3.1-2.el8_1 |
| Red Hat:enterprise_linux:8::appstream | openjpeg2-devel-docs | before 0:2.3.1-2.el8_1 | 0:2.3.1-2.el8_1 |
| Red Hat:enterprise_linux:8::appstream | openjpeg2-tools | before 0:2.3.1-2.el8_1 | 0:2.3.1-2.el8_1 |
| Red Hat:enterprise_linux:8::appstream | openjpeg2-tools-debuginfo | before 0:2.3.1-2.el8_1 | 0:2.3.1-2.el8_1 |
| Red Hat:enterprise_linux:8::crb | openjpeg2-devel | before 0:2.3.1-2.el8_1 | 0:2.3.1-2.el8_1 |
| Red Hat:rhel_e4s:8.0::appstream | openjpeg2 | before 0:2.3.0-9.el8_0 | 0:2.3.0-9.el8_0 |
| Red Hat:rhel_e4s:8.0::appstream | openjpeg2-debuginfo | before 0:2.3.0-9.el8_0 | 0:2.3.0-9.el8_0 |
+7
Same product
uclouvain: all recordsOther 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 servi42Plan
- 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/openj41Plan
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 / package | Fixed version | Source |
|---|---|---|
| alpine:openjpeg | 2.3.1-r3 · Alpine:v3.10 | Package registry (OSV) |
| debian:openjpeg2 | 2.4.0-1 · Debian:12 | Package registry (OSV) |
| opensuse:libheif | 1.23.5-1.1 · openSUSE:Tumbleweed | Package registry (OSV) |
| opensuse:openjpeg2 | 2.3.0-150000.3.5.1 · openSUSE:Leap 15.3 | Package registry (OSV) |
| red hat:openjpeg2 | 0:2.3.1-2.el7_7 · Red Hat:enterprise_linux:7::client | Package registry (OSV) |
| red hat:openjpeg2-debuginfo | 0:2.3.1-2.el7_7 · Red Hat:enterprise_linux:7::client | Package registry (OSV) |
| red hat:openjpeg2-debugsource | 0:2.3.1-2.el8_1 · Red Hat:enterprise_linux:8::appstream | Package registry (OSV) |
| red hat:openjpeg2-devel | 0:2.3.1-2.el7_7 · Red Hat:enterprise_linux:7::client | Package registry (OSV) |
| red hat:openjpeg2-devel-docs | 0:2.3.1-2.el7_7 · Red Hat:enterprise_linux:7::client | Package registry (OSV) |
| red hat:openjpeg2-tools | 0:2.3.1-2.el7_7 · Red Hat:enterprise_linux:7::client | Package registry (OSV) |
| red hat:openjpeg2-tools-debuginfo | 0:2.3.1-2.el8_1 · Red Hat:enterprise_linux:8::appstream | Package registry (OSV) |
| suse:libheif | 1.23.5-150700.3.24.1 · SUSE:Linux Enterprise Module for Desktop Applications 15 SP7 | Package registry (OSV) |
| suse:libheif | 1.23.5-160000.1.1 · SUSE:Linux Enterprise Server 16.0 | Package registry (OSV) |
| suse:openjpeg2 | 2.3.0-150000.3.5.1 · SUSE:Linux Enterprise Module for Basesystem 15 SP3 | Package 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.
Credits
All researchersFinders, 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 WriteCVSS 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
- Fix✗ → ✓
For records you follow, these changes also arrive as notifications. →
References
Show all references (9 more)Show less
- access.redhat.com/errata/RHSA-2020:0274
- access.redhat.com/errata/RHSA-2020:0296
- lists.debian.org/debian-lts-announce/2020/01/msg00025.html
- lists.debian.org/debian-lts-announce/2020/07/msg00008.html
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/LACIIDDCKZJEPKTTFILSOSBQL7L3FC6V/
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/XBRMI2D3XPVWKE3V52KRBW7BJVLS5LD3/
- www.debian.org/security/2021/dsa-4882
- www.oracle.com/security-alerts/cpujul2020.html
- www.openwall.com/lists/oss-security/2026/09/22/6
Vendor advisories and official records. Exploit/PoC links are deliberately left out.