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.
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
| Product | Fixed in | Fix | Released |
|---|---|---|---|
| Linux | |||
| cpdb-libs · Debian 12.15 (bookworm) | 1.2.0-2+deb12u1 | DEBIAN-CVE-2023-34095 | Jun 14, 2023 |
| cpdb-libs · Debian 13.5 (trixie) | 1.2.0-3 | DEBIAN-CVE-2023-34095 | Jun 14, 2023 |
| cpdb-libs · Debian 14 | 1.2.0-3 | DEBIAN-CVE-2023-34095 | Jun 14, 2023 |
| cpdb-libs-tools · Ubuntu 24.10 (oracular) | 2.0~b4-0ubuntu4 | cpdb-libs-tools 2.0~b4-0ubuntu4 | Jun 14, 2023 |
| cpdb-libs-tools · Ubuntu 25.04 (plucky) | 2.0~b4-0ubuntu4 | cpdb-libs-tools 2.0~b4-0ubuntu4 | Jun 14, 2023 |
| libcpdb-frontend2t64 · Ubuntu 24.10 (oracular) | 2.0~b4-0ubuntu4 | libcpdb-frontend2t64 2.0~b4-0ubuntu4 | Jun 14, 2023 |
| libcpdb-frontend2t64 · Ubuntu 25.04 (plucky) | 2.0~b4-0ubuntu4 | libcpdb-frontend2t64 2.0~b4-0ubuntu4 | Jun 14, 2023 |
| libcpdb-libs-common1 · Ubuntu 20.04 LTS (focal) | 1.2.0-0ubuntu7.1 | libcpdb-libs-common1 1.2.0-0ubuntu7.1 | Jun 13, 2023 |
| 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 | Jun 13, 2023 |
| libcpdb-libs-frontend1 · Ubuntu 20.04 LTS (focal) | 1.2.0-0ubuntu7.1 | libcpdb-libs-frontend1 1.2.0-0ubuntu7.1 | Jun 13, 2023 |
| 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 | Jun 13, 2023 |
| libcpdb-libs-tools · Ubuntu 24.10 (oracular) | 2.0~b4-0ubuntu4 | libcpdb-libs-tools 2.0~b4-0ubuntu4 | Jun 14, 2023 |
| libcpdb-libs-tools · Ubuntu 25.04 (plucky) | 2.0~b4-0ubuntu4 | libcpdb-libs-tools 2.0~b4-0ubuntu4 | Jun 14, 2023 |
| libcpdb2t64 · Ubuntu 24.10 (oracular) | 2.0~b4-0ubuntu4 | libcpdb2t64 2.0~b4-0ubuntu4 | Jun 14, 2023 |
| libcpdb2t64 · Ubuntu 25.04 (plucky) | 2.0~b4-0ubuntu4 | libcpdb2t64 2.0~b4-0ubuntu4 | Jun 14, 2023 |
Patch Radar data is free to use with attribution. Terms and how to credit it.
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.