Security mailing lists by PureSourceCode

CVE-2023-34095

CRITICAL 9.8CVSS 3.1

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.

Published
14 Jun 2023
Last modified
17 Jun 2026
Assigned by
security-advisories@github.com
NVD status
Analyzed
Weakness
CWE-121CWE-787
Sources
NVDJSON

Scores

SourceScored byVersionScoreVector / decision
NVD security-advisories@github.com (Secondary) CVSS 3.1 CRITICAL 9.8 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
NVD nvd@nist.gov (Primary) CVSS 3.1 CRITICAL 9.8 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD openprinting cpdb-libs
cpe:2.3:a:openprinting:cpdb-libs:*:*:*:*:*:*:*:*
>= 1.0, < 2.0 2.0
NVD openprinting cpdb-libs
cpe:2.3:a:openprinting:cpdb-libs:2.0:beta1:*:*:*:*:*:*
= 2.0
NVD openprinting cpdb-libs
cpe:2.3:a:openprinting:cpdb-libs:2.0:beta2:*:*:*:*:*:*
= 2.0
NVD openprinting cpdb-libs
cpe:2.3:a:openprinting:cpdb-libs:2.0:beta3:*:*:*:*:*:*
= 2.0
NVD openprinting cpdb-libs
cpe:2.3:a:openprinting:cpdb-libs:2.0:beta4:*:*:*:*:*:*
= 2.0

References

History

  • 25 Nov 2026 20:36 UTC · NVD: first stored (published 14 Jun 2023)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.