Denial-of-Service Vulnerability in Gerbv Package

gerbv Updated 02 Oct 2025

Summary

24/08/2023
N/A
Yes i
Unrated
Not published

DEBIAN-CVE-2023-4508: A user able to control file input to Gerbv, between versions 2.4.0 and 2.10.0, can cause a crash and cause denial-of-service with a specially crafted Gerber RS-274X file. Affects gerbv versions < 2.10.0-1. Fixed in 2.10.0-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 Penetration testing for web, API and mobile Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

Gerbv is an open-source Gerber file viewer that allows users to visualize and analyze Gerber files used in PCB design. It is widely utilized in the electronics industry for inspecting printed circuit board layouts. The package is designed to handle various file formats and provides features for layer management and measurement. However, certain versions of Gerbv are vulnerable to a denial-of-service attack due to improper handling of specially crafted Gerber RS-274X files.

Vulnerability Detail

The vulnerability identified as DEBIAN-CVE-2023-4508 affects Gerbv versions between 2.4.0 and 2.10.0. A user who can control file input to Gerbv can exploit this vulnerability by providing a specially crafted Gerber RS-274X file, which can lead to a crash of the application. This results in a denial-of-service condition, preventing legitimate users from utilizing the software effectively. The issue arises from inadequate validation of file inputs, allowing malicious files to disrupt the application's normal operation.

How To Fix

Minimum fixed version

2.10.0-1

This is the first release that contains the fix.

sudo apt-get install --only-upgrade gerbv

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

Workaround

As a temporary workaround, users can avoid opening untrusted or unknown Gerber RS-274X files until the package is updated to a secure version. Additionally, users can implement file validation checks before processing files with Gerbv.

Conclusion

The denial-of-service vulnerability in the Gerbv package poses a significant risk to users who may inadvertently open malicious files. It is crucial to update to the latest version to mitigate this risk and ensure the application's reliability. Users are encouraged to remain vigilant and utilize tools like Vulert for real-time monitoring of open-source vulnerabilities.

See every vulnerability recorded for gerbv →

Share this vulnerability

FAQ

The vulnerability allows a denial-of-service attack through specially crafted Gerber RS-274X files that can crash the application.

Gerbv versions between 2.4.0 and 2.10.0 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.

As a temporary measure, avoid opening untrusted Gerber files and implement file validation checks.

Related vulnerabilities

Recent vulnerabilities recorded for gerbv.

How To Fix

Minimum fixed version

2.10.0-1

This is the first release that contains the fix.

sudo apt-get install --only-upgrade gerbv

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