CVE-2023-4508
NixOS vulnerability analysis and mitigation

Overview

CVE-2023-4508 is a vulnerability discovered in Gerbv, a Gerber file viewer for PCB design, affecting versions between 2.4.0 and 2.10.0. The vulnerability was disclosed on August 24, 2023. The issue allows a user with control over file input to cause a denial-of-service condition through a specially crafted Gerber RS-274X file (NVD, Ubuntu Security).

Technical details

The vulnerability is classified as CWE-824 (Access of Uninitialized Pointer). The issue occurs when processing included files containing invalid M-code, where the filename member of the gerbfilet structure is not properly initialized. This leads to an invalid address dereference during error logging. The vulnerability has a CVSS v3.1 Base Score of 5.5 (Medium) with the vector string CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H (NVD, GitHub Issue).

Impact

When exploited, the vulnerability results in a denial-of-service condition through application crash. The impact is limited to availability, with no effects on confidentiality or integrity of the system. The vulnerability requires user interaction to open a specially crafted file (NVD, Ubuntu Security).

Mitigation and workarounds

A fix has been implemented in version 2.10.0 through commit 5517e22, which addresses the proper allocation and deallocation of filenames in the gerbfopen and gerbfclose functions. Various Linux distributions have also released patched versions, including Ubuntu 23.10 (2.9.8-1ubuntu0.1), Ubuntu 22.04 (2.8.2-1ubuntu0.1~esm2), and Ubuntu 20.04 (2.7.0-1ubuntu0.2) (GitHub Commit, Ubuntu Security Notice).

Additional resources


SourceThis report was generated using AI

Related NixOS vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-61619HIGH7.5
  • NixOSNixOS
  • android
NoNoDec 01, 2025
CVE-2025-61618HIGH7.5
  • NixOSNixOS
  • android
NoNoDec 01, 2025
CVE-2025-61617HIGH7.5
  • NixOSNixOS
  • android
NoNoDec 01, 2025
CVE-2025-61610HIGH7.5
  • NixOSNixOS
  • android
NoNoDec 01, 2025
CVE-2025-65622MEDIUM5.4
  • PHPPHP
  • snipe/snipe-it
NoYesDec 01, 2025

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management