Description
The _WriteProlog function in texttops.c in texttops in the Text Filter subsystem in CUPS before 1.4.4 does not check the return values of certain calloc calls, which allows remote attackers to cause a denial of service (NULL pointer dereference or heap memory corruption) or possibly execute arbitrary code via a crafted file.
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | cups | 1.4.4-1 | — |
| Debian 13 | cups | 1.4.4-1 | — |
| Debian 12 | cups | 1.4.4-1 | — |
| Debian 5.0 | cups | 1.3.8-1+lenny9 | DSA-2176-1 |
Red Hat
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| RHEL 5 | cups +3 | 1:1.3.7-18.el5_5.4 | RHSA-2010:0490 |
| RHEL 4 | cups +2 | 1:1.1.22-0.rc1.9.32.el4_8.6 | RHSA-2010:0490 |
| RHEL 3 | cups +2 | 1:1.1.17-13.3.65 | RHSA-2010:0490 |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Tumbleweed | cups | 2.1.3-2.3 | openSUSE-SU-2024:10075-1 |
Advisories 3
- RHSA-2010:0490 Red Hat Security Advisory: cups security update Red Hat Security Advisories (RHSA) · Jun 26, 2026
- DSA-2176-1 cups - several Debian Security (DSA / DLA) · Mar 9, 2026
- openSUSE-SU-2024:10075-1 cups-2.1.3-2.3 on GA media SUSE / openSUSE Security Updates · Feb 4, 2026
References
- https://bugzilla.redhat.com/show_bug.cgi?id=587746
- MDVSA-2010:234 vendor-advisory
- 40943 vdb-entry
- http://cups.org/articles.php?L596
- MDVSA-2010:232 vendor-advisory
- SUSE-SR:2010:023 vendor-advisory
- DSA-2176 vendor-advisory
- GLSA-201207-10 vendor-advisory
- http://cups.org/strfiles/3516/str3516.patch
- ADV-2011-0535 vdb-entry
- http://cups.org/str.php?L3516
- 43521 third-party-advisory
- oval:org.mitre.oval:def:10365 vdb-entry signature
- 1024121 vdb-entry