Stack-based buffer overflow in cups - #VU154076

 

Stack-based buffer overflow in cups - #VU154076

Published: October 12, 2026


Vulnerability identifier: #VU154076
CSH Severity: Low
CVSS v4: 2 [CVSS:4.0/AV:A/AC:L/AT:P/PR:H/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N]
CVE-ID: N/A
CWE-ID: CWE-121
Exploitation vector: Adjecent network
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote privileged user to cause a denial of service.

The vulnerability exists due to a stack-based buffer overflow in backend_init_supplies() in backend/snmp-supplies.c when assembling marker-names from SNMP supply descriptions without checking the remaining buffer capacity. A remote privileged user can supply specially crafted SNMP responses to cause a denial of service.

Exploitation requires SNMP supply polling to be enabled. Third-party injection requires the ability to observe and inject SNMP traffic, but does not require controlling or spoofing the configured printer because response sender addresses are not validated. Persistent failure requires a writable and reusable SNMP cache.


Affected software

cups

Remediation

Install security update from vendor's website.

cups - update to 2.4.21

External References

Related Security Bulletins