CVE-2023-34095
Linux Debian vulnerability analysis and mitigation

Overview

CVE-2023-34095 affects cpdb-libs, a library providing frontend and backend functionality for the Common Printing Dialog Backends (CPDB) project. The vulnerability was discovered in June 2023 and affects versions 1.0 through 2.0b4. The vulnerability stems from improper use of scanf(3) functions in parsing command lines and configuration files (GitHub Advisory, NVD).

Technical details

The vulnerability arises from the use of fscanf() and scanf() functions to parse command lines and configuration files, where string components are read into fixed-length buffers of 1024 characters. The functions are called without limiting the length of strings to be read, which can cause buffer overflows when input strings exceed 1023 characters. The issue affects multiple code locations, including cpdb-frontend.c and cpdb-text-frontend.c. The vulnerability has been assigned a CVSS v3.1 base score of 9.8 CRITICAL with vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H (NVD).

Impact

The vulnerability can lead to buffer overflows, potentially allowing attackers to crash the application or execute arbitrary code. This poses a significant security risk as it could enable unauthorized access to the system running the affected software (GitHub Advisory).

Mitigation and workarounds

A patch has been released that limits the maximum string length to be read to 1023 characters by replacing all occurrences of %s with %1023s in all calls of the fscanf() and scanf() functions. The fix is available in commit f181bd1f14757c2ae0f17cc76dc20421a40f30b7 and version 2.0b6. Users are advised to upgrade to the patched version (GitHub Patch).

Additional resources


SourceThis report was generated using AI

Related Linux Debian vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-59030HIGH7.5
  • Linux DebianLinux Debian
  • pdns-recursor
NoYesDec 09, 2025
CVE-2025-59029MEDIUM5.3
  • Linux DebianLinux Debian
  • pdns-recursor
NoYesDec 09, 2025
CVE-2025-40344N/AN/A
  • Linux KernelLinux Kernel
  • kernel-rt-devel
NoYesDec 09, 2025
CVE-2025-40343N/AN/A
  • Linux KernelLinux Kernel
  • bpftool
NoYesDec 09, 2025
CVE-2025-40342N/AN/A
  • Linux KernelLinux Kernel
  • kernel-rt-trace
NoYesDec 09, 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