Heap-based buffer overflow in cups - #VU169828

 

Heap-based buffer overflow in cups - #VU169828

Published: September 22, 2023 / Updated: November 23, 2026


Vulnerability identifier: #VU169828
CSH Severity: Low
CVSS v4: 0 [CVSS:4.0/AV:L/AC:L/AT:N/PR:H/UI:N/VC:N/VI:N/VA:N/SC:N/SI:N/SA:N]
CVE-ID: N/A
CWE-ID: CWE-122
Exploitation vector: Local access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a local privileged user to trigger a one-byte read beyond an allocated heap buffer.

The vulnerability exists due to improper bounds checking in the CUPS scan_ps function when parsing PostScript strings. A local privileged user can supply a malformed PostScript document to cause the parser to read past the end of its input buffer.


Affected software

cups

Remediation

Install security update from vendor's website.

cups - update to 2.4.7

External References

Related Security Bulletins