CVE-2012-1699: Buffer Overflow

Published Jul 24, 2012
·
Updated

From the upstream announcement [1]:

A vulnerability has been found in the X11R6 font server code in the handling of the SetEventMask request in xfs - if an invalid mask is specified, it passes that bad mask to the SendErrToClient() function for returning to the client in the error message. Unfortunately, SendErrToClient() expects a pointer, but was being passed the raw mask value, causing it to use the mask as a pointer, either segfaulting (if that happened to be an invalid pointer), or returning whatever data happened to be accessible in the 4 bytes at the address specified by the mask value.

X11R6 through X11R6.6 appear to be vulnerable. The fix shown below was introduced by XFree86 in their 3.3.3 release as part of the commit for: Prototype/ansification cleanup for Xserver/XIE, xfs, fontlib, mkfontdir, and fix some bugs found along the way (#2103, Thomas Dickey).

X11R6.7 incorporated the XFree86 changes, and thus X11R6.7 and later releases from X.Org are not vulnerable.

[1] http://lists.freedesktop.org/archives/xorg-announce/2012-July/002040.html

Statement:

Not vulnerable. This issue did not affect the versions of xorg-x11-xfs as shipped with Red Hat Enterprise Linux 5. It does not affect Red Hat Enterprise Linux 6 as it no longer uses or provides the XFS font server.

Other sources

The ProcSetEventMask function in difs/events.c in the xfs font server for X.Org X11R6 through X11R6.6 and XFree86 before 3.3.3 calls the SendErrToClient function with a mask value instead of a pointer, which allows local users to cause a denial of service (memory corruption and crash) or obtain potentially sensitive information from memory via a SetEventMask request that triggers an invalid pointer dereference.

Affected Software

7 affected components
X X.Org X11=6.0
X X.Org X11=6.1
X X.Org X11=6.3
X X.Org X11=6.4
X X.Org X11=6.5.1
X X.Org X11=6.6
XFree86 XFree86<=3.3.2

Event History

Jul 24, 2012
Data Sourced
05:32 PM
DescriptionSeverityAffected Software
Dec 21, 2012
CVE Published
via MITRE·02:00 AM
Data Sourced
via MITRE·02:00 AM
Description
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2012-1699?

CVE-2012-1699 is considered to have a moderate severity due to the potential for denial of service attacks.

2

How do I fix CVE-2012-1699?

To fix CVE-2012-1699, you should update the X11 X Server Utilities to a patched version that addresses this vulnerability.

3

What versions of software are affected by CVE-2012-1699?

CVE-2012-1699 affects specific versions of X11 X Server Utilities including 6.0, 6.1, 6.3, 6.4, 6.5.1, and 6.6, as well as XFree86 versions up to 3.3.2.

4

What type of vulnerability is CVE-2012-1699?

CVE-2012-1699 is a vulnerability related to improper handling of the SetEventMask request in the X11R6 font server.

5

Can CVE-2012-1699 lead to security risks?

Yes, CVE-2012-1699 can lead to security risks such as denial of service, making it crucial to apply recommended security updates.

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