Bug 1168710 (CVE-2014-8099) - CVE-2014-8099 xorg-x11-server: out of bounds access due to not validating length or offset values in XVideo extension
Summary: CVE-2014-8099 xorg-x11-server: out of bounds access due to not validating len...
Alias: CVE-2014-8099
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
Depends On: 1170916 1170917 1170918 1170919 1170932
Blocks: 1168310
TreeView+ depends on / blocked
Reported: 2014-11-27 16:01 UTC by Vasyl Kaigorodov
Modified: 2021-02-17 05:57 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Multiple out-of-bounds access flaws were found in the way the X.Org server calculated memory requirements for certain requests. A malicious, authenticated client could use either of these flaws to crash the X.Org server.
Clone Of:
Last Closed: 2014-12-11 20:57:49 UTC

Attachments (Terms of Use)
0010-Xv_unvalidated_lengths_in_XVideo_extension_swapped_procs_CVE-2014-8099.patch (5.36 KB, text/plain)
2014-11-27 16:02 UTC, Vasyl Kaigorodov
no flags Details

System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2014:1982 0 normal SHIPPED_LIVE Important: xorg-x11-server security update 2014-12-11 22:34:45 UTC
Red Hat Product Errata RHSA-2014:1983 0 normal SHIPPED_LIVE Important: xorg-x11-server security update 2014-12-12 00:41:58 UTC

Description Vasyl Kaigorodov 2014-11-27 16:01:50 UTC
Various XVideo extension calls do not check that the lengths and/or indexes sent by the
client are within the bounds specified by the caller or the bounds of
the memory allocated to hold the request read from the client, so could
read or write past the bounds of allocated memory while processing the
request. These calls all occur only after a client has successfully
authenticated itself.

Affected functions: SProcXvQueryExtension(), SProcXvQueryAdaptors(),
  SProcXvQueryEncodings(), SProcXvGrabPort(), SProcXvUngrabPort(),
  SProcXvPutVideo(), SProcXvPutStill(), SProcXvGetVideo(),
  SProcXvGetStill(), SProcXvPutImage(), SProcXvShmPutImage(),
  SProcXvSelectVideoNotify(), SProcXvSelectPortNotify(),
  SProcXvStopVideo(), SProcXvSetPortAttribute(),
  SProcXvGetPortAttribute(), SProcXvQueryBestSize(),
  SProcXvQueryPortAttributes(), SProcXvQueryImageAttributes(),

Introduced in XFree86 4.0.0 (2000).
Included in X.Org releases starting in X11R6.7 (2004).

Comment 1 Vasyl Kaigorodov 2014-11-27 16:02:10 UTC
Created attachment 962148 [details]

Comment 2 Huzaifa S. Sidhpurwala 2014-12-05 06:03:12 UTC
OOB read causing X server crash.

Comment 5 Vincent Danen 2014-12-09 20:17:44 UTC
External References:


Comment 6 errata-xmlrpc 2014-12-11 17:35:16 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 5

Via RHSA-2014:1982 https://rhn.redhat.com/errata/RHSA-2014-1982.html

Comment 7 errata-xmlrpc 2014-12-11 19:42:32 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 7
  Red Hat Enterprise Linux 6

Via RHSA-2014:1983 https://rhn.redhat.com/errata/RHSA-2014-1983.html

Note You need to log in before you can comment on or make changes to this bug.