Heap-Based Buffer Overflow Vulnerability in FreeXL Package

freexl Updated 02 Oct 2025

Summary

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

DEBIAN-CVE-2017-2923: An exploitable heap based buffer overflow vulnerability exists in the 'read_biff_next_record 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 Lume, the Habilume companion Habilume Habit tracker with a companion that grows with you Complete habits, earn Lume Points, and watch your Lume grow as you stay consistent. App Store Google Play

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. However, versions prior to 1.0.4-1 are vulnerable to a heap-based buffer overflow, which can lead to severe security risks, including remote code execution when processing specially crafted XLS files.

Vulnerability Detail

The vulnerability identified as DEBIAN-CVE-2017-2923 originates from a heap-based buffer overflow in the 'read_biff_next_record' function of FreeXL version 1.0.3. An attacker can exploit this vulnerability by sending a maliciously crafted XLS file, which may lead to memory corruption and potentially allow the execution of arbitrary code on the victim's system. This poses a significant risk, especially in environments where Excel files are frequently processed.

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 measure, avoid opening XLS files from untrusted sources until the package is updated. Additionally, consider using alternative libraries or tools that do not have this vulnerability for processing Excel files.

Conclusion

The heap-based buffer overflow vulnerability in the FreeXL package poses a significant risk to systems that process Excel files. Users are strongly encouraged to update to the patched version 1.0.4-1 to mitigate this risk. Until the update is applied, it is advisable to avoid opening untrusted XLS files.

See every vulnerability recorded for freexl →

Share this vulnerability

FAQ

The vulnerability is a heap-based buffer overflow that can lead to memory corruption and remote code execution when processing malicious XLS files.

FreeXL versions prior to 1.0.4-1 are affected by this vulnerability.

You can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without needing to sign up.

If an immediate update is not possible, avoid processing XLS files from untrusted sources as a temporary workaround.

Related vulnerabilities

Recent vulnerabilities recorded for freexl.

Sponsored Lume, the Habilume companion Habilume Habit tracker with a companion that grows with you Complete habits, earn Lume Points, and watch your Lume grow as you stay consistent. App Store Google Play

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