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
root.io logo minimus.io logo echo.ai logo

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

NameVendorStart VersionEnd Version
CupsApple*1.4.4 (including)
Mac_os_xApple*10.5.8 (excluding)
Mac_os_xApple10.6.0 (including)10.6.4 (including)
Mac_os_x_serverApple*10.5.8 (excluding)
Mac_os_x_serverApple10.6.0 (including)10.6.4 (including)
Red Hat Enterprise Linux 5RedHatcups-1:1.3.7-18.el5_5.8*
Red Hat Enterprise Linux 6RedHatcups-1:1.4.2-35.el6_0.1*
CupsUbuntudevel*
CupsUbuntukarmic*
CupsUbuntulucid*
CupsUbuntumaverick*
CupsysUbuntudapper*
CupsysUbuntuhardy*

Potential Mitigations

References