CVE-2023-34095: critical vulnerability in OpenPrinting cpdb-libs
cpdb-libs vulnerable to buffer overflows via scanf
Published · Updated
E-mail alert when it lands in KEV, gets a public PoC or its score goes up.
No sign of exploitation. No public exploitation artifact known so far.
cpdb-libs allows attackers to overflow memory buffers by providing oversized input strings to configuration files or command lines. This can crash the printing system or potentially execute malicious code.
cpdb-libs versions 1.0–2.0b4 use fscanf() and scanf() without length specifiers to parse configuration files and command-line input into 1024-byte fixed buffers, enabling stack-based buffer overflow via strings exceeding 1023 characters. Exploitation requires ability to control input to affected parsing functions; successful overflow can lead to memory corruption, denial of service, or code execution with application privileges.