# CVE-2023-34095: cpdb-libs: cpdb-libs provides frontend and backend libraries for the Common Printing Dialog Backends (CPDB) project

CVE-2023-34095 is fixed in 7 products on 1 platform, first by libcpdb-libs-common1 1.2.0-0ubuntu7.1, released June 13, 2023. It is not reported as exploited. Patch Radar priority: Urgent.

- Web page: https://patchblox.com/security/cve/CVE-2023-34095
- Priority: Urgent
- CVSS: 9.8 (critical)
- EPSS: 0.0154
- CISA KEV: not listed
- Exploited (vendor report): no
- Publicly disclosed: no
- Published: Jun 13, 2023

## 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.

## Where it's fixed

| Platform | Product | Fixed in | Fix | Released |
|---|---|---|---|---|
| Linux | cpdb-libs Debian 12.15 (bookworm) | 1.2.0-2+deb12u1 | [DEBIAN-CVE-2023-34095](https://patchblox.com/security/data/fix/linux/debian-cve-2023-34095.md) | Jun 14, 2023 |
| Linux | cpdb-libs Debian 13.5 (trixie) | 1.2.0-3 | [DEBIAN-CVE-2023-34095](https://patchblox.com/security/data/fix/linux/debian-cve-2023-34095.md) | Jun 14, 2023 |
| Linux | cpdb-libs Debian 14 | 1.2.0-3 | [DEBIAN-CVE-2023-34095](https://patchblox.com/security/data/fix/linux/debian-cve-2023-34095.md) | Jun 14, 2023 |
| Linux | cpdb-libs-tools Ubuntu 24.10 (oracular) | 2.0~b4-0ubuntu4 | [cpdb-libs-tools 2.0~b4-0ubuntu4](https://patchblox.com/security/data/fix/linux/ubuntu-oracular-cpdb-libs-tools-2.0-b4-0ubuntu4.md) | Jun 14, 2023 |
| Linux | cpdb-libs-tools Ubuntu 25.04 (plucky) | 2.0~b4-0ubuntu4 | [cpdb-libs-tools 2.0~b4-0ubuntu4](https://patchblox.com/security/data/fix/linux/ubuntu-plucky-cpdb-libs-tools-2.0-b4-0ubuntu4.md) | Jun 14, 2023 |
| Linux | libcpdb-frontend2t64 Ubuntu 24.10 (oracular) | 2.0~b4-0ubuntu4 | [libcpdb-frontend2t64 2.0~b4-0ubuntu4](https://patchblox.com/security/data/fix/linux/ubuntu-oracular-libcpdb-frontend2t64-2.0-b4-0ubuntu4.md) | Jun 14, 2023 |
| Linux | libcpdb-frontend2t64 Ubuntu 25.04 (plucky) | 2.0~b4-0ubuntu4 | [libcpdb-frontend2t64 2.0~b4-0ubuntu4](https://patchblox.com/security/data/fix/linux/ubuntu-plucky-libcpdb-frontend2t64-2.0-b4-0ubuntu4.md) | Jun 14, 2023 |
| Linux | libcpdb-libs-common1 Ubuntu 20.04 LTS (focal) | 1.2.0-0ubuntu7.1 | [libcpdb-libs-common1 1.2.0-0ubuntu7.1](https://patchblox.com/security/data/fix/linux/ubuntu-focal-libcpdb-libs-common1-1.2.0-0ubuntu7.1.md) | Jun 13, 2023 |
| Linux | libcpdb-libs-common1 Ubuntu 22.04.1 LTS (jammy) | 1.2.0-0ubuntu8.1.22.04.1 | [libcpdb-libs-common1 1.2.0-0ubuntu8.1.22.04.1](https://patchblox.com/security/data/fix/linux/ubuntu-jammy-libcpdb-libs-common1-1.2.0-0ubuntu8.1.22.04.1.md) | Jun 13, 2023 |
| Linux | libcpdb-libs-frontend1 Ubuntu 20.04 LTS (focal) | 1.2.0-0ubuntu7.1 | [libcpdb-libs-frontend1 1.2.0-0ubuntu7.1](https://patchblox.com/security/data/fix/linux/ubuntu-focal-libcpdb-libs-frontend1-1.2.0-0ubuntu7.1.md) | Jun 13, 2023 |
| Linux | libcpdb-libs-frontend1 Ubuntu 22.04.1 LTS (jammy) | 1.2.0-0ubuntu8.1.22.04.1 | [libcpdb-libs-frontend1 1.2.0-0ubuntu8.1.22.04.1](https://patchblox.com/security/data/fix/linux/ubuntu-jammy-libcpdb-libs-frontend1-1.2.0-0ubuntu8.1.22.04.1.md) | Jun 13, 2023 |
| Linux | libcpdb-libs-tools Ubuntu 24.10 (oracular) | 2.0~b4-0ubuntu4 | [libcpdb-libs-tools 2.0~b4-0ubuntu4](https://patchblox.com/security/data/fix/linux/ubuntu-oracular-libcpdb-libs-tools-2.0-b4-0ubuntu4.md) | Jun 14, 2023 |
| Linux | libcpdb-libs-tools Ubuntu 25.04 (plucky) | 2.0~b4-0ubuntu4 | [libcpdb-libs-tools 2.0~b4-0ubuntu4](https://patchblox.com/security/data/fix/linux/ubuntu-plucky-libcpdb-libs-tools-2.0-b4-0ubuntu4.md) | Jun 14, 2023 |
| Linux | libcpdb2t64 Ubuntu 24.10 (oracular) | 2.0~b4-0ubuntu4 | [libcpdb2t64 2.0~b4-0ubuntu4](https://patchblox.com/security/data/fix/linux/ubuntu-oracular-libcpdb2t64-2.0-b4-0ubuntu4.md) | Jun 14, 2023 |
| Linux | libcpdb2t64 Ubuntu 25.04 (plucky) | 2.0~b4-0ubuntu4 | [libcpdb2t64 2.0~b4-0ubuntu4](https://patchblox.com/security/data/fix/linux/ubuntu-plucky-libcpdb2t64-2.0-b4-0ubuntu4.md) | Jun 14, 2023 |

---

Data as of 2026-11-08T06:59:42Z UTC. Source: Patchblox Patch Radar (https://patchblox.com/security/patch-radar). Patchblox finds out-of-date software on Windows, macOS and Linux and updates it through release rings: https://patchblox.com/demo

Free to use with attribution: show "Data: Patchblox Patch Radar" with a link to https://patchblox.com/security/patch-radar. Terms, including what needs a written agreement: https://patchblox.com/security/patch-radar/use-the-data

Product names, logos and trademarks shown on Patch Radar belong to their respective owners. They are used only to identify the software each security fix applies to and to help readers find their platform. Their use does not imply any affiliation with, or endorsement by, those owners, and Patchblox is not affiliated with any of them.
