CVE-2020-27823
NixOS vulnerability analysis and mitigation

Overview

A flaw was discovered in OpenJPEG's encoder (CVE-2020-27823) that allows an attacker to pass specially crafted x,y offset input to OpenJPEG during encoding operations. The vulnerability was identified in OpenJPEG versions prior to 2.4.0 and affects multiple operating systems including Debian and Fedora distributions (NVD, Debian Security).

Technical details

The vulnerability is classified as a heap buffer overflow write vulnerability in the opj_tcd_dc_level_shift_encode() function. It occurs specifically when processing crafted input with the -d option during encoding operations. The vulnerability has received a CVSS v3.1 base score of 7.8 (HIGH) with the vector string CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H (NVD).

Impact

The vulnerability poses significant risks to system security, with high potential impact on confidentiality, integrity, and system availability. When successfully exploited, it could lead to denial of service or potentially allow arbitrary code execution when processing malformed images (Debian LTS).

Exploitability

The vulnerability requires local access and user interaction to exploit, specifically when using the encoder functionality with the -d option. Red Hat Product Security rated this flaw with Moderate severity as it specifically affects the encoder functionality during image conversion rather than general image file reading operations (Red Hat Bugzilla).

Mitigation and workarounds

The vulnerability has been fixed in OpenJPEG version 2.4.0. Various distributions have released security updates: Debian 10 (buster) fixed in version 2.3.0-2+deb10u2, Debian 9 (stretch) in version 2.1.2-1.1+deb9u6, and Fedora in version 2.3.1-9.fc33. As a workaround before applying patches, users are advised not to use OpenJPEG to convert untrusted image files (Debian Security, Fedora Update).

Additional resources


SourceThis report was generated using AI

Related NixOS vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-13097CRITICAL9.1
  • NixOS logoNixOS
  • python3-samba-test
NoYesAug 20, 2026
CVE-2026-11861HIGH8.1
  • NixOS logoNixOS
  • samba-common
NoYesAug 20, 2026
CVE-2026-73198HIGH7.5
  • NixOS logoNixOS
  • ctdb-ceph-mutex
NoYesAug 20, 2026
CVE-2026-73197HIGH7.5
  • NixOS logoNixOS
  • samba-test-libs-debuginfo
NoYesAug 20, 2026
CVE-2026-73196MEDIUM6.5
  • NixOS logoNixOS
  • samba-ldb-ldap-modules-debuginfo
NoYesAug 20, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management