Use-after-free in cups - #VU154078

 

Use-after-free in cups - #VU154078

Published: October 12, 2026


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

Vulnerability details

The vulnerability allows a local user to cause a denial of service.

The vulnerability exists due to use-after-free in the set_job_attrs function in cupsd when handling Set-Job-Attributes requests that replace job-printer-state-message or job-printer-state-reasons attributes without invalidating cached pointers. A local user can send a specially crafted request to overwrite these attributes and trigger subsequent access to freed memory to cause a denial of service.

Exploitation requires ownership of a print job in a state at or below STOPPED. Such a job can be created using Print-Job or Create-Job.


Affected software

cups

Remediation

Install security update from vendor's website.

cups - update to 2.4.20

External References

Related Security Bulletins