4.0medium
CUPS has an integer underflow in `_ppdCreateFromIPP` causes root cupsd crash via negative `job-password-supported`
- Severity
- 4.0medium CVSS:3.1 by GitHub_M
- Exploit likelihood
- 0.16% (higher than 5% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- GitHub_M
Description
OpenPrinting CUPS is an open source printing system for Linux and other Unix-like operating systems. In versions 2.4.16 and prior, an integer underflow vulnerability in _ppdCreateFromIPP() (cups/ppd-cache.c) allows any unprivileged local user to crash the cupsd root process by supplying a negative job-password-supported IPP attribute. The bounds check only caps the upper bound, so a negative value passes validation, is cast to size_t (wrapping to ~2^64), and is used as the length argument to memset() on a 33-byte stack buffer. This causes an immediate SIGSEGV in the cupsd root process. Combined with systemd's Restart=on-failure, an attacker can repeat the crash for sustained denial of service.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| OpenPrinting cups | <= 2.4.16, up to 2.4.16 | CVE List, NVD |
All scores
| GitHub_M | 4.0medium CVSS:3.1 | CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L |
| NVD | 6.2medium CVSS:3.1 | CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
Classification
SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial.
What each source says
CVE List
OpenPrinting CUPS is an open source printing system for Linux and other Unix-like operating systems. In versions 2.4.16 and prior, an integer underflow vulnerability in _ppdCreateFromIPP() (cups/ppd-cache.c) allows any unprivileged local user to crash the cupsd root process by supplying a negative job-password-supported IPP attribute. The bounds check only caps the upper bound, so a negative value passes validation, is cast to size_t (wrapping to ~2^64), and is used as the length argument to memset() on a 33-byte stack buffer. This causes an immediate SIGSEGV in the cupsd root process. Combined with systemd's Restart=on-failure, an attacker can repeat the crash for sustained denial of service.
NVD (es)
OpenPrinting CUPS es un sistema de impresión de código abierto para Linux y otros sistemas operativos tipo Unix. En las versiones 2.4.16 y anteriores, una vulnerabilidad de desbordamiento negativo de enteros en _ppdCreateFromIPP() (cups/ppd-cache.c) permite a cualquier usuario local sin privilegios bloquear el proceso raíz de cupsd al proporcionar un atributo IPP ’job-password-supported’ negativo. La comprobación de límites solo limita el límite superior, por lo que un valor negativo pasa la validación, se convierte a size_t (ajustándose a ~2^64) y se utiliza como argumento de longitud para memset() en un búfer de pila de 33 bytes. Esto causa un SIGSEGV inmediato en el proceso raíz de cupsd. Combinado con ’Restart=on-failure’ de systemd, un atacante puede repetir el bloqueo para una denegación de servicio sostenida.
References
| https://github.com/OpenPrinting/cups/security/advisories/GHSA-pp8w-2g52-7vj7 | exploit, mitigation, vendor-advisory | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-39314 changed 2026-06-23 | CVE Terms of Use |
| NVD | CVE-2026-39314 changed 2026-10-26 | Public domain |