CVE & CISA-KEV Catalog

CVE-2023-34095

CRITICALEPSS 72th pctl
9.8
CVSS v3
NVD

Description

cpdb-libs provides frontend and backend libraries for the Common Printing Dialog Backends (CPDB) project. In versions 1.0 through 2.0b4, cpdb-libs is vulnerable to buffer overflows via improper use of `scanf(3)`. cpdb-libs uses the `fscanf()` and `scanf()` functions to parse command lines and configuration files, dropping the read string components into fixed-length buffers, but does not limit the length of the strings to be read by `fscanf()` and `scanf()` causing buffer overflows when a string is longer than 1023 characters. A patch for this issue is available at commit f181bd1f14757c2ae0f17cc76dc20421a40f30b7. As all buffers have a length of 1024 characters, the patch limits the maximum string length to be read to 1023 by replacing all occurrences of `%s` with `%1023s` in all calls of the `fscanf()` and `scanf()` functions.

How to fix

Remediation Available
cpdb-libsDebian
Fixed in:1.2.0-2+deb12u1CVE-2023-34095
Fixed in:1.2.0-3CVE-2023-34095
Fixed in:1.2.0-3CVE-2023-34095
cpdb-libsUbuntu
Fixed in:1.2.0-0ubuntu7.1USN-6204-1
Fixed in:1.2.0-0ubuntu8.1.22.04.1USN-6204-1
Fixed in:1.2.0-0ubuntu8.1.22.10.1USN-6204-1
Fixed in:2.0~b4-0ubuntu2.1USN-6204-1
cpdb-libs-toolsUbuntu
Fixed in:2.0~b4-0ubuntu2.1USN-6204-1
libcpdb-frontend2Ubuntu
Fixed in:2.0~b4-0ubuntu2.1USN-6204-1
libcpdb-libs-common1Ubuntu
Fixed in:1.2.0-0ubuntu7.1USN-6204-1
Fixed in:1.2.0-0ubuntu8.1.22.04.1USN-6204-1
Fixed in:1.2.0-0ubuntu8.1.22.10.1USN-6204-1
libcpdb-libs-frontend1Ubuntu
Fixed in:1.2.0-0ubuntu7.1USN-6204-1
Fixed in:1.2.0-0ubuntu8.1.22.04.1USN-6204-1
Fixed in:1.2.0-0ubuntu8.1.22.10.1USN-6204-1
libcpdb-libs-toolsUbuntu
Fixed in:2.0~b4-0ubuntu2.1USN-6204-1
libcpdb2Ubuntu
Fixed in:2.0~b4-0ubuntu2.1USN-6204-1

Remediation is compiled from vendor and distribution security advisories. Always confirm against the linked source for your exact version and platform.

CVSS v3 Vector

Exploitability

Attack VectorNetwork
Attack ComplexityLow
Privileges RequiredNone
User InteractionNone
ScopeUnchanged

Impact

ConfidentialityHigh
IntegrityHigh
AvailabilityHigh

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Exploit Intelligence

1.54%probability of exploitation in 30 days
72ndpercentile

Elevated risk: more likely to be exploited than 72% of all known CVEs.

References

Related Vulnerabilities

Other CWE-121 (Stack-based Buffer Overflow) vulnerabilities, ordered by exploit likelihood. View all

CVESeverityCVSSEPSSExploitedFix
CVE-2025-22457Critical9.0100%KEV + RansomFix
CVE-2025-0282Critical9.0100%KEV + Ransom-
CVE-2021-20038Critical9.8100%KEV + Ransom-
CVE-2009-0927High8.897%KEVFix
CVE-2020-10924High8.887%--
CVE-2022-20705Critical10.080%--
Embed a live status badge for CVE-2023-34095
CVE-2023-34095 severity badge

Markdown

[![CVE-2023-34095](https://tridentstack.com/cve/badge/CVE-2023-34095.svg)](https://tridentstack.com/cve/CVE-2023-34095)

HTML

<a href="https://tridentstack.com/cve/CVE-2023-34095"><img src="https://tridentstack.com/cve/badge/CVE-2023-34095.svg" alt="CVE-2023-34095"></a>

Find and fix vulnerabilities across your fleet

TridentStack Control continuously scans your Windows, macOS, and Linux fleet for known vulnerabilities, prioritizes them by severity and active exploitation, and patches them automatically.

Start free

This product uses NVD data but is not endorsed or certified by the NVD. EPSS scores courtesy of FIRST.org (https://www.first.org/epss). Source: CISA KEV Catalog. Data as of 2025-04-10.