CVE-2021-27836
NixOS vulnerability analysis and mitigation

Overview

A vulnerability was discovered in libxls version 1.6.2, specifically in the xls_getWorkSheet function in xls.c. The vulnerability was assigned CVE-2021-27836 and was disclosed in early 2021. This security flaw affects the libxls library, which is used for reading binary Excel files in the old OLE format (MITRE CVE, Debian Tracker).

Technical details

The vulnerability stems from a NULL pointer dereference in the xlsparseWorkSheet() function when attempting to access a NULL pointer returned by xlsgetWorkSheet(). The issue occurs when either the num parameter is less than 0 or greater than pWB->sheets.count in the xls_getWorkSheet function. This condition can be triggered when processing XLS files that contain no BoundSheet8 records, causing pWB->sheets.count to remain 0 (GitHub Issue).

Impact

When exploited, this vulnerability allows attackers to cause a denial of service condition through a specially crafted XLS file. The impact primarily affects applications that use the libxls library for processing Excel files (MITRE CVE).

Mitigation and workarounds

The vulnerability has been patched in subsequent releases. Fedora has released security updates for versions 33, 34, and 35 (libxls-1.6.2-5) to address this issue. Users are advised to update to the patched versions (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-2025-61619HIGH7.5
  • NixOSNixOS
  • android
NoNoDec 01, 2025
CVE-2025-61618HIGH7.5
  • NixOSNixOS
  • android
NoNoDec 01, 2025
CVE-2025-61617HIGH7.5
  • NixOSNixOS
  • android
NoNoDec 01, 2025
CVE-2025-61610HIGH7.5
  • NixOSNixOS
  • android
NoNoDec 01, 2025
CVE-2025-61609HIGH7.5
  • NixOSNixOS
  • android
NoNoDec 01, 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