Vulnerability in freexl package - Heap-based Buffer Overflow

freexl Updated 02 Oct 2025

Summary

17/09/2017
N/A
Yes i
Unrated
Not published

DLA-1098-1: freexl - security update. Affects freexl versions < 1.0.0b-1+deb7u4. Fixed in 1.0.0b-1+deb7u4. 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 MarkAI Find prospects already talking about the problem you solve AI watches the communities your customers use to find qualified prospects, then alerts you when a conversation is worth joining. See MarkAI

Background

The freexl package is a library that provides access to the contents of Microsoft Excel files. It allows users to read and extract data from XLS files. The package is commonly used in various applications that require Excel file processing. However, versions up to and including 1.0.3 of freexl are vulnerable to two heap-based buffer overflow vulnerabilities.

Vulnerability Detail

The first vulnerability, identified as CVE-2017-2923, exists in the read_biff_next_record function of FreeXL 1.0.3. An attacker can exploit this vulnerability by sending a specially crafted XLS file, triggering a heap-based buffer overflow. This can lead to memory corruption and potentially enable remote code execution.

The second vulnerability, known as CVE-2017-2924, is present in the read_legacy_biff function of FreeXL 1.0.3. By sending a malicious XLS file, an attacker can exploit this vulnerability to trigger a heap-based buffer overflow, resulting in memory corruption and potential remote code execution.

How To Fix

Minimum fixed version

1.0.0b-1+deb7u4

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 →

Conclusion

The freexl package, versions up to and including 1.0.3, is vulnerable to heap-based buffer overflow vulnerabilities. These vulnerabilities can be exploited by sending specially crafted XLS files, potentially leading to memory corruption and remote code execution. It is crucial to upgrade to version 1.0.0b-1+deb7u4 or later to mitigate these vulnerabilities. For further support on vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for freexl →

Share this vulnerability

FAQ

Freexl is a library that provides access to Microsoft Excel files, allowing users to read and extract data from XLS files.

Versions up to and including 1.0.3 of freexl are vulnerable to the heap-based buffer overflow vulnerabilities (CVE-2017-2923 and CVE-2017-2924).

An attacker can exploit these vulnerabilities by sending a specially crafted XLS file, triggering a heap-based buffer overflow and potentially enabling remote code execution.

The vulnerabilities can lead to memory corruption and remote code execution, potentially allowing an attacker to take control of the affected system.

To fix these vulnerabilities, it is recommended to upgrade the freexl package to version 1.0.0b-1+deb7u4 or later.

Related vulnerabilities

Recent vulnerabilities recorded for freexl.

How To Fix

Minimum fixed version

1.0.0b-1+deb7u4

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