cve.bz

CVE-2020-6851 Out-of-bounds Write

7.5 highExploit referenceEPSS 5.3%Fix available

High (7.5). EPSS 5.3% estimated probability of exploitation activity in the next 30 days.

On this page
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.

Severity

CVSS 3.1

7.5 high
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
EPSS
5.3% (unchanged from 5.3% a week ago; 5.3% 30 days ago) estimated probability of exploitation activity in the next 30 days; 93rd percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CWE
CWE-787 Out-of-bounds Write
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2020-6851 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2020-6851?via=ask-ai-copy and https://cve.bz/cve/CVE-2020-6851?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2020-6851 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
uclouvain:openjpegthrough 2.3.1
fedoraproject:fedora30
fedoraproject:fedora31
debian:debian_linux8.0
debian:debian_linux9.0
debian:debian_linux10.0
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
redhat:enterprise_linux_server_tus8.4
redhat:enterprise_linux_workstation7.0
oracle:georaster18c
oracle:outside_in_technology8.5.4
oracle:outside_in_technology8.5.5

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian8openjpeg22.1.0-2+deb8u9DLA-2081-1
Debian9openjpeg22.1.2-1.1+deb9u5DLA-2277-1
Debian10openjpeg22.3.0-2+deb10u2DSA-4882-1
Debian12, 13, 14openjpeg22.4.0-1DEBIAN-CVE-2020-6851
Ubuntu16.04:LTSblender, texmaker, insighttoolkit4no fix listedUBUNTU-CVE-2020-6851
Ubuntu16.04:LTSghostscript9.26~dfsg+0-0ubuntu0.16.04.14UBUNTU-CVE-2020-6851 USN-4686-1
Ubuntu16.04:LTSopenjpeg22.1.2-1.1+deb9u5build0.16.04.1UBUNTU-CVE-2020-6851 USN-4497-1
Ubuntu18.04:LTSghostscript9.26~dfsg+0-0ubuntu0.18.04.14UBUNTU-CVE-2020-6851 USN-4686-1
Ubuntu18.04:LTSopenjpeg22.3.0-2+deb10u2build0.18.04.1UBUNTU-CVE-2020-6851 USN-5952-1
Ubuntu18.04:LTS, 20.04:LTS, 22.04:LTSblender, insighttoolkit4no fix listedUBUNTU-CVE-2020-6851
Ubuntu20.04:LTSopenjpeg22.3.1-1ubuntu4UBUNTU-CVE-2020-6851
Ubuntu24.04:LTSblenderno fix listedUBUNTU-CVE-2020-6851
Ubuntu25.10, 26.10blender, texmaker, qtwebengine-opensource-srcno fix listedUBUNTU-CVE-2020-6851
Ubuntu26.04:LTSblender, texmakerno fix listedUBUNTU-CVE-2020-6851
UbuntuPro:16.04:LTSopenjpeg22.1.2-1.1+deb9u6ubuntu0.1~esm3USN-5952-1
UbuntuPro:18.04:LTS, Pro:20.04:LTS, Pro:22.04:LTS and 1 moretexmaker, qtwebengine-opensource-srcno fix listedUBUNTU-CVE-2020-6851
1 more for Ubuntu in the JSON and on Ubuntu's page.
Red Hatenterprise_linux:7::client, enterprise_linux:7::computenode, enterprise_linux:7::server and 1 moreopenjpeg2, openjpeg2-devel, openjpeg2-tools and 2 more0:2.3.1-2.el7_7RHSA-2020:0262
Red Hatenterprise_linux:8::appstreamopenjpeg2, openjpeg2-tools, openjpeg2-debuginfo and 3 more0:2.3.1-2.el8_1RHSA-2020:0274
Red Hatenterprise_linux:8::crbopenjpeg2-devel, openjpeg2-tools, openjpeg2-debuginfo and 2 more0:2.3.1-2.el8_1RHSA-2020:0274
Red Hatrhel_e4s:8.0::appstreamopenjpeg2, openjpeg2-tools, openjpeg2-debuginfo and 3 more0:2.3.0-9.el8_0RHSA-2020:0296
SUSEEnterprise Storage 6, Enterprise Storage 7, Linux Enterprise High Performance Computing 15 SP1-ESPOS and 19 moreopenjpeg22.3.0-150000.3.5.1SUSE-SU-2022:1252-1
SUSELinux Enterprise Module for Desktop Applications 15 SP7, Linux Enterprise Module for Package Hub 15 SP7libheif1.23.5-150700.3.24.1SUSE-SU-2026:4378-1
SUSELinux Enterprise Server 16.0, Linux Enterprise Server for SAP applications 16.0libheif1.23.5-160000.1.1SUSE-SU-2026:24205-1
openSUSELeap 15.3openjpeg22.3.0-150000.3.5.1SUSE-SU-2022:1252-1
openSUSELeap 16.0libheif1.23.5-160000.1.1openSUSE-SU-2026:22052-1
openSUSETumbleweedlibheif1.23.5-1.1openSUSE-SU-2026:11859-1
Alpinev3.8openjpeg2.3.0-r4ALPINE-CVE-2020-6851
Alpinev3.9openjpeg2.3.0-r5ALPINE-CVE-2020-6851
Alpinev3.10, v3.11, v3.12 and 12 moreopenjpeg2.3.1-r3ALPINE-CVE-2020-6851

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; the Alpine secdb, CC BY-SA 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE · openSUSE · Alpine.

Red Hat

Red Hat rates this Important.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 7openjpeg2-0:2.3.1-2.el7_7Fixed 2020-01-28RHSA-2020:0262
Red Hat Enterprise Linux 8openjpeg2-0:2.3.1-2.el8_1Fixed 2020-01-29RHSA-2020:0274
Red Hat Enterprise Linux 8.0 Update Services for SAP Solutionsopenjpeg2-0:2.3.0-9.el8_0Fixed 2020-01-30RHSA-2020:0296
Red Hat Enterprise Linux 6openjpegNot affected
Red Hat Enterprise Linux 7openjpegNot affected

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2020-6851.

References

Check your stackJSON