Buffer Overflow Vulnerability in LibreCAD: Risk of Sensitive Information Exposure

librecad Updated 02 Oct 2025

Summary

28/06/2023
N/A
Yes i
Unrated
Not published

DEBIAN-CVE-2023-30259: A Buffer Overflow vulnerability in importshp plugin in LibreCAD 2.2.0 allows attackers to obtain sensitive information via a crafted DBF file. Affects librecad versions < 2.2.0.2-1. Fixed in 2.2.0.2-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

LibreCAD is an open-source 2D CAD application that allows users to create technical drawings and designs. It is widely used for architectural and engineering purposes due to its user-friendly interface and extensive feature set. However, a vulnerability has been identified in the importshp plugin of LibreCAD versions prior to 2.2.0.2-1, which can lead to buffer overflow issues when processing crafted DBF files.

Vulnerability Detail

A Buffer Overflow vulnerability exists in the importshp plugin of LibreCAD 2.2.0. This vulnerability allows attackers to exploit the application by providing a specially crafted DBF file, which can lead to the exposure of sensitive information. The flaw originates from improper handling of input data, which can cause the application to overwrite memory, potentially leading to arbitrary code execution or data leakage.

How To Fix

Minimum fixed version

2.2.0.2-1

This is the first release that contains the fix.

sudo apt-get install --only-upgrade librecad

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 DBF files with LibreCAD until the package is updated. Additionally, consider using alternative software for handling DBF files that do not have this vulnerability.

Conclusion

The Buffer Overflow vulnerability in LibreCAD poses a significant risk to users, allowing attackers to exploit the application through crafted DBF files. It is crucial to update to the latest version to mitigate this risk and ensure the security of sensitive information.

See every vulnerability recorded for librecad →

Share this vulnerability

FAQ

A buffer overflow vulnerability occurs when a program writes more data to a buffer than it can hold, leading to memory corruption and potential exploitation by attackers.

If you are using a version of LibreCAD prior to 2.2.0.2-1, your installation is vulnerable to this issue.

The risks include potential exposure of sensitive information and the possibility of arbitrary code execution, which could compromise the integrity of your system.

Yes, you can use tools like Vulert, which monitors and alerts for open-source vulnerabilities in your software using just a manifest file like package-lock.json.

You can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without requiring any signup.

Related vulnerabilities

Recent vulnerabilities recorded for librecad.

How To Fix

Minimum fixed version

2.2.0.2-1

This is the first release that contains the fix.

sudo apt-get install --only-upgrade librecad

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