Heap-Based Buffer Overflow in FreeXL Package: CVE-2017-2924

freexl Updated 02 Oct 2025

Summary

24/04/2018
N/A
Yes i
Unrated
Not published

DEBIAN-CVE-2017-2924: An exploitable heap-based buffer overflow vulnerability exists in the read_legacy_biff function of FreeXL 1.0.3. Affects freexl versions < 1.0.4-1. Fixed in 1.0.4-1. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Mobile apps built by Devnack Design, build and launch iOS and Android apps with a senior product team. From idea to store release Start a project

Background

FreeXL is an open-source library designed for reading Excel files in the XLS format. It provides a simple API for developers to integrate Excel file reading capabilities into their applications. The library is widely used due to its lightweight nature and ease of use. However, it has been found to be vulnerable to a heap-based buffer overflow, which can lead to severe security implications.

Vulnerability Detail

An exploitable heap-based buffer overflow vulnerability exists in the read_legacy_biff function of FreeXL version 1.0.3. This vulnerability arises when a specially crafted XLS file is processed, leading to memory corruption and potentially allowing an attacker to execute arbitrary code remotely. The risk is significant as it can lead to unauthorized access and control over affected systems.

How To Fix

Minimum fixed version

1.0.4-1

This is the first release that contains the fix.

sudo apt-get install --only-upgrade freexl

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Workaround

As a temporary workaround, avoid opening untrusted or unknown XLS files until the package is updated. Additionally, consider implementing file validation checks to ensure that only safe files are processed.

Conclusion

The FreeXL library has a critical vulnerability (CVE-2017-2924) that can lead to severe security risks if not addressed. Users are urged to update to the patched version 1.0.4-1 or later to protect their systems from potential attacks. Implementing workarounds and monitoring for vulnerabilities using tools like Vulert can further enhance security.

See every vulnerability recorded for freexl →

Share this vulnerability

FAQ

CVE-2017-2924 is a unique identifier for a specific vulnerability in the FreeXL library that allows for heap-based buffer overflow, potentially leading to remote code execution.

You can check if your application is affected by using the Vulert playground at Vulert Scanner, which allows you to monitor and alert for open-source vulnerabilities without requiring installation.

Failing to address this vulnerability can expose your system to remote code execution attacks, allowing attackers to gain unauthorized access and control over your application and data.

Yes, avoid opening untrusted XLS files and implement file validation checks to mitigate the risk until the package is updated.

More information about FreeXL can be found on its official repository or documentation pages, which provide details on its functionality and usage.

Related vulnerabilities

Recent vulnerabilities recorded for freexl.

How To Fix

Minimum fixed version

1.0.4-1

This is the first release that contains the fix.

sudo apt-get install --only-upgrade freexl

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback