CVE-2010-0542: Null Pointer Dereference

Published Apr 30, 2010
·
Updated

A NULL pointer dereference issue exists in the WriteProlog function of the texttops image filter. The return value from calloc is not checked. This may lead to a NULL pointer dereference. Since the offset from the pointer at which data is subsequently written is controlled by the user, this issue may lead to application termination or arbitrary code execution.

Other sources

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.

MITRE

Affected Software

84 affected components
apple CUPS<=1.4.3
apple CUPS=1.1
apple CUPS=1.1.1
apple CUPS=1.1.2
apple CUPS=1.1.3
apple CUPS=1.1.4
apple CUPS=1.1.5
apple CUPS=1.1.5-1
apple CUPS=1.1.5-2
apple CUPS=1.1.6
apple CUPS=1.1.6-1
apple CUPS=1.1.6-2
apple CUPS=1.1.6-3
apple CUPS=1.1.7
apple CUPS=1.1.8
apple CUPS=1.1.9
apple CUPS=1.1.9-1
apple CUPS=1.1.10
apple CUPS=1.1.10-1
apple CUPS=1.1.11
apple CUPS=1.1.12
apple CUPS=1.1.13
apple CUPS=1.1.14
apple CUPS=1.1.15
apple CUPS=1.1.16
apple CUPS=1.1.17
apple CUPS=1.1.18
apple CUPS=1.1.19
apple CUPS=1.1.19-rc1
apple CUPS=1.1.19-rc2
apple CUPS=1.1.19-rc3
apple CUPS=1.1.19-rc4
apple CUPS=1.1.19-rc5
apple CUPS=1.1.20
apple CUPS=1.1.20-rc1
apple CUPS=1.1.20-rc2
apple CUPS=1.1.20-rc3
apple CUPS=1.1.20-rc4
apple CUPS=1.1.20-rc5
apple CUPS=1.1.20-rc6
apple CUPS=1.1.21
apple CUPS=1.1.21-rc1
apple CUPS=1.1.21-rc2
apple CUPS=1.1.22
apple CUPS=1.1.22-rc1
apple CUPS=1.1.22-rc2
apple CUPS=1.1.23
apple CUPS=1.1.23-rc1
apple CUPS=1.2-b1
apple CUPS=1.2-b2
apple CUPS=1.2-rc1
apple CUPS=1.2-rc2
apple CUPS=1.2-rc3
apple CUPS=1.2.0
apple CUPS=1.2.1
apple CUPS=1.2.2
apple CUPS=1.2.3
apple CUPS=1.2.4
apple CUPS=1.2.5
apple CUPS=1.2.6
apple CUPS=1.2.7
apple CUPS=1.2.8
apple CUPS=1.2.9
apple CUPS=1.2.10
apple CUPS=1.2.11
apple CUPS=1.2.12
apple CUPS=1.3-b1
apple CUPS=1.3-rc1
apple CUPS=1.3-rc2
apple CUPS=1.3.0
apple CUPS=1.3.1
apple CUPS=1.3.2
apple CUPS=1.3.3
apple CUPS=1.3.4
apple CUPS=1.3.5
apple CUPS=1.3.6
apple CUPS=1.3.7
apple CUPS=1.3.8
apple CUPS=1.3.9
apple CUPS=1.3.10
apple CUPS=1.3.11
apple CUPS=1.4.0
apple CUPS=1.4.1
apple CUPS=1.4.2

Event History

Apr 30, 2010
Data Sourced
07:05 PM
DescriptionSeverityAffected Software
Jun 21, 2010
CVE Published
via MITRE·04:00 PM
Data Sourced
via MITRE·04:00 PM
Description

Frequently Asked Questions

1

What is the severity of CVE-2010-0542?

CVE-2010-0542 has a severity level that can potentially lead to denial of service due to a NULL pointer dereference.

2

How do I fix CVE-2010-0542?

To fix CVE-2010-0542, you should update to the latest version of Apple CUPS that addresses this vulnerability.

3

What software is affected by CVE-2010-0542?

CVE-2010-0542 affects several versions of Apple CUPS, including versions 1.1 through 1.4.2.

4

What are the potential impacts of CVE-2010-0542?

The potential impacts of CVE-2010-0542 include crashing the service and possibly allowing an attacker to exploit the flaw.

5

Is CVE-2010-0542 easy to exploit?

Yes, CVE-2010-0542 is considered to be relatively easy to exploit due to user-controlled input leading to a NULL pointer dereference.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203