CVE-2021-28278
NixOS vulnerability analysis and mitigation

Overview

A Heap-based Buffer Overflow vulnerability was identified in jhead versions 3.04 and 3.05, specifically in the RemoveSectionType function within jpgfile.c. The vulnerability was assigned CVE-2021-28278 and was discovered in March 2021 (MITRE CVE, Debian Security).

Technical details

The vulnerability is a heap-based buffer overflow that occurs during read operations in the RemoveSectionType function in jpgfile.c. The issue was identified using AddressSanitizer, which detected a heap-buffer-overflow on memory reads of size 160 bytes (GitHub Issue). The vulnerability has been assigned a CVSS v3 Base Score of 7.8 (High), with an Impact Score of 5.9 and Exploitability Score of 1.8. The attack vector is Local, requiring user interaction but no privileges (AttackerKB).

Impact

The vulnerability could potentially lead to denial of service conditions and possible code execution. The CVSS metrics indicate high potential impact on confidentiality, integrity, and availability of the affected system (AttackerKB).

Mitigation and workarounds

Users are advised to upgrade to jhead version 3.06.0.1 or later, which contains fixes for this vulnerability. For Gentoo users, the recommended mitigation is to execute 'emerge --sync' followed by 'emerge --ask --oneshot --verbose ">=media-gfx/jhead-3.06.0.1"' (Gentoo Security).

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-2025-14330CRITICAL9.8
  • NixOSNixOS
  • cpe:2.3:a:mozilla:firefox
NoYesDec 09, 2025
CVE-2025-14329HIGH8.8
  • NixOSNixOS
  • firefox-x11
NoYesDec 09, 2025
CVE-2025-14333HIGH8.1
  • NixOSNixOS
  • firefox-x11
NoYesDec 09, 2025
CVE-2025-14332HIGH7.3
  • NixOSNixOS
  • cpe:2.3:a:mozilla:firefox
NoYesDec 09, 2025
CVE-2025-14331MEDIUM6.5
  • NixOSNixOS
  • firefox
NoYesDec 09, 2025

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