CVE Vulnerabilities

CVE-2010-2941

Use After Free

Published: Nov 05, 2010 | Modified: Apr 11, 2025
CVSS 3.x
9.8
CRITICAL
Source:
NVD
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CVSS 2.x
9.3 HIGH
AV:N/AC:M/Au:N/C:C/I:C/A:C
RedHat/V2
3.3 IMPORTANT
AV:A/AC:L/Au:N/C:N/I:N/A:P
RedHat/V3
Ubuntu
MEDIUM

ipp.c in cupsd in CUPS 1.4.4 and earlier does not properly allocate memory for attribute values with invalid string data types, which allows remote attackers to cause a denial of service (use-after-free and application crash) or possibly execute arbitrary code via a crafted IPP request.

Weakness

The product reuses or references memory after it has been freed. At some point afterward, the memory may be allocated again and saved in another pointer, while the original pointer references a location somewhere within the new allocation. Any operations using the original pointer are no longer valid because the memory “belongs” to the code that operates on the new pointer.

Affected Software

Name Vendor Start Version End Version
Cups Apple * 1.4.4 (including)
Mac_os_x Apple * 10.5.8 (excluding)
Mac_os_x Apple 10.6.0 (including) 10.6.4 (including)
Mac_os_x_server Apple * 10.5.8 (excluding)
Mac_os_x_server Apple 10.6.0 (including) 10.6.4 (including)
Red Hat Enterprise Linux 5 RedHat cups-1:1.3.7-18.el5_5.8 *
Red Hat Enterprise Linux 6 RedHat cups-1:1.4.2-35.el6_0.1 *
Cups Ubuntu devel *
Cups Ubuntu karmic *
Cups Ubuntu lucid *
Cups Ubuntu maverick *
Cupsys Ubuntu dapper *
Cupsys Ubuntu hardy *

Potential Mitigations

References