CVE-2021-28835
XnView vulnerability analysis and mitigation

Overview

A Buffer Overflow vulnerability was discovered in XnView software versions before 2.50, identified as CVE-2021-28835. The vulnerability allows local attackers to execute arbitrary code via a crafted GEM bitmap file. The issue was discovered and fixed in early 2021, affecting all XnView installations prior to version 2.50 (XnView Changelog, NVD).

Technical details

The vulnerability is classified as a Buffer Copy without Checking Size of Input ('Classic Buffer Overflow') under CWE-120. It 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, indicating local access required, low attack complexity, no privileges required, and user interaction needed (NVD).

Impact

The vulnerability can lead to arbitrary code execution on affected systems when processing specially crafted GEM bitmap files. This could potentially allow attackers to gain control of the affected system with the same privileges as the user running XnView (NVD).

Exploitability

The vulnerability requires local access and user interaction, specifically opening a maliciously crafted GEM bitmap file using an affected version of XnView. The attack complexity is considered low, making it relatively straightforward to exploit once the preconditions are met (NVD).

Mitigation and workarounds

The vulnerability was patched in XnView version 2.50. Users are advised to upgrade to version 2.50 or later to mitigate this security risk. The fix was specifically mentioned in the version 2.50 changelog as 'GEM vulnerability - Thanks to Michael Heinzl' (XnView Forum).

Additional resources


SourceThis report was generated using AI

Related XnView vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2013-3493CRITICAL9.8
  • XnView logoXnView
  • cpe:2.3:a:xnview:xnview
NoYesJan 27, 2020
CVE-2024-11950HIGH8.8
  • XnView logoXnView
  • cpe:2.3:a:xnview:xnview
NoNoDec 12, 2024
CVE-2023-46587HIGH7.8
  • XnView logoXnView
  • cpe:2.3:a:xnview:xnview
NoNoOct 27, 2023
CVE-2021-28835HIGH7.8
  • XnView logoXnView
  • cpe:2.3:a:xnview:xnview
NoYesAug 11, 2023
CVE-2021-28427HIGH7.8
  • XnView logoXnView
  • cpe:2.3:a:xnview:xnview
NoYesAug 11, 2023

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