CVE-2020-27814
NixOS vulnerability analysis and mitigation

Overview

A heap-buffer overflow vulnerability was discovered in OpenJPEG2's handling of PNG format files. The vulnerability was identified as CVE-2020-27814, disclosed in late 2020. The flaw affects OpenJPEG versions up to 1.5.1 and from 2.0.0 up to (excluding) 2.4.0. This vulnerability impacts various systems and applications that utilize the OpenJPEG library for image processing (NVD, Debian).

Technical details

The vulnerability is a heap-buffer overflow located in lib/openjp2/mqc.c. When processing certain PNG format files, the flaw can trigger an out-of-bounds write condition. The vulnerability 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. The issue was specifically identified in the opj_mqc_byteout function at line 505 of the source code (GitHub Issue).

Impact

The vulnerability could allow an attacker to cause an application crash (denial of service) or, in some cases, execute arbitrary code with the permissions of the user running the application. The high CVSS score reflects the potential for significant impact on system confidentiality, integrity, and availability (NVD).

Exploitability

The vulnerability requires user interaction to exploit, as it involves processing a specially crafted PNG file. While the attack complexity is low, the attack vector is local, meaning the attacker needs local access to the system or must convince a user to process a malicious file (NVD, GitHub Issue).

Mitigation and workarounds

The vulnerability was fixed in OpenJPEG version 2.4.0. Users and administrators are advised to upgrade to this version or later. Multiple Linux distributions have also released security updates to address this vulnerability, including Debian (versions 2.3.0-2+deb10u2 for buster) and Gentoo (Debian Advisory, Gentoo Advisory).

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-78662HIGH7.5
  • Docker logoDocker
  • telegraf-1.38
NoYesSep 02, 2026
CVE-2026-56855HIGH7.5
  • Docker logoDocker
  • flux-notification-controller
NoYesSep 02, 2026
CVE-2026-84642HIGH7.5
  • NixOS logoNixOS
  • cpe:2.3:a:mozilla:thunderbird
NoYesSep 01, 2026
CVE-2026-84641HIGH7.5
  • NixOS logoNixOS
  • thunderbird
NoYesSep 01, 2026
CVE-2026-84640HIGH7.5
  • NixOS logoNixOS
  • cpe:2.3:a:mozilla:thunderbird
NoYesSep 01, 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