{
  "cveId": "CVE-2020-4031",
  "url": "https://patchblox.com/security/cve/CVE-2020-4031",
  "summary": "CVE-2020-4031 is fixed in 12 products on 1 platform, first by freerdp2-shadow-x11 2.2.0\u002Bdfsg1-0ubuntu0.18.04.1, released July 27, 2020. It is not reported as exploited. Patch Radar priority: Routine.",
  "title": "freerdp2-shadow-x11: In FreeRDP before version 2.1.2, there is a use-after-free in gdi_SelectObject",
  "description": "In FreeRDP before version 2.1.2, there is a use-after-free in gdi_SelectObject. All FreeRDP clients using compatibility mode with /relax-order-checks are affected. This is fixed in version 2.1.2.",
  "published": "2020-06-22T15:15:00Z",
  "severity": "Medium",
  "epss": 0.01652,
  "epssPercentile": 0.76684,
  "priority": "Routine",
  "priorityTier": 4,
  "exploited": false,
  "vendorExploited": false,
  "disclosed": false,
  "fixes": [
    {
      "platform": "linux",
      "product": "freerdp2-shadow-x11",
      "release": "Ubuntu 18.04.6 LTS (bionic)",
      "fixedVersion": "2.2.0\u002Bdfsg1-0ubuntu0.18.04.1",
      "fix": "freerdp2-shadow-x11 2.2.0\u002Bdfsg1-0ubuntu0.18.04.1",
      "url": "https://patchblox.com/security/fix/linux/ubuntu-bionic-freerdp2-shadow-x11-2.2.0-dfsg1-0ubuntu0.18.04.1",
      "released": "2020-07-27T11:15:00Z"
    },
    {
      "platform": "linux",
      "product": "freerdp2-shadow-x11",
      "release": "Ubuntu 20.04 LTS (focal)",
      "fixedVersion": "2.2.0\u002Bdfsg1-0ubuntu0.20.04.1",
      "fix": "freerdp2-shadow-x11 2.2.0\u002Bdfsg1-0ubuntu0.20.04.1",
      "url": "https://patchblox.com/security/fix/linux/ubuntu-focal-freerdp2-shadow-x11-2.2.0-dfsg1-0ubuntu0.20.04.1",
      "released": "2020-07-27T11:15:00Z"
    },
    {
      "platform": "linux",
      "product": "freerdp2-wayland",
      "release": "Ubuntu 18.04.6 LTS (bionic)",
      "fixedVersion": "2.2.0\u002Bdfsg1-0ubuntu0.18.04.1",
      "fix": "freerdp2-wayland 2.2.0\u002Bdfsg1-0ubuntu0.18.04.1",
      "url": "https://patchblox.com/security/fix/linux/ubuntu-bionic-freerdp2-wayland-2.2.0-dfsg1-0ubuntu0.18.04.1",
      "released": "2020-07-27T11:15:00Z"
    },
    {
      "platform": "linux",
      "product": "freerdp2-wayland",
      "release": "Ubuntu 20.04 LTS (focal)",
      "fixedVersion": "2.2.0\u002Bdfsg1-0ubuntu0.20.04.1",
      "fix": "freerdp2-wayland 2.2.0\u002Bdfsg1-0ubuntu0.20.04.1",
      "url": "https://patchblox.com/security/fix/linux/ubuntu-focal-freerdp2-wayland-2.2.0-dfsg1-0ubuntu0.20.04.1",
      "released": "2020-07-27T11:15:00Z"
    },
    {
      "platform": "linux",
      "product": "freerdp2-x11",
      "release": "Ubuntu 18.04.6 LTS (bionic)",
      "fixedVersion": "2.2.0\u002Bdfsg1-0ubuntu0.18.04.1",
      "fix": "freerdp2-x11 2.2.0\u002Bdfsg1-0ubuntu0.18.04.1",
      "url": "https://patchblox.com/security/fix/linux/ubuntu-bionic-freerdp2-x11-2.2.0-dfsg1-0ubuntu0.18.04.1",
      "released": "2020-07-27T11:15:00Z"
    },
    {
      "platform": "linux",
      "product": "freerdp2-x11",
      "release": "Ubuntu 20.04 LTS (focal)",
      "fixedVersion": "2.2.0\u002Bdfsg1-0ubuntu0.20.04.1",
      "fix": "freerdp2-x11 2.2.0\u002Bdfsg1-0ubuntu0.20.04.1",
      "url": "https://patchblox.com/security/fix/linux/ubuntu-focal-freerdp2-x11-2.2.0-dfsg1-0ubuntu0.20.04.1",
      "released": "2020-07-27T11:15:00Z"
    },
    {
      "platform": "linux",
      "product": "libfreerdp-client2-2",
      "release": "Ubuntu 18.04.6 LTS (bionic)",
      "fixedVersion": "2.2.0\u002Bdfsg1-0ubuntu0.18.04.1",
      "fix": "libfreerdp-client2-2 2.2.0\u002Bdfsg1-0ubuntu0.18.04.1",
      "url": "https://patchblox.com/security/fix/linux/ubuntu-bionic-libfreerdp-client2-2-2.2.0-dfsg1-0ubuntu0.18.04.1",
      "released": "2020-07-27T11:15:00Z"
    },
    {
      "platform": "linux",
      "product": "libfreerdp-client2-2",
      "release": "Ubuntu 20.04 LTS (focal)",
      "fixedVersion": "2.2.0\u002Bdfsg1-0ubuntu0.20.04.1",
      "fix": "libfreerdp-client2-2 2.2.0\u002Bdfsg1-0ubuntu0.20.04.1",
      "url": "https://patchblox.com/security/fix/linux/ubuntu-focal-libfreerdp-client2-2-2.2.0-dfsg1-0ubuntu0.20.04.1",
      "released": "2020-07-27T11:15:00Z"
    },
    {
      "platform": "linux",
      "product": "libfreerdp-server2-2",
      "release": "Ubuntu 18.04.6 LTS (bionic)",
      "fixedVersion": "2.2.0\u002Bdfsg1-0ubuntu0.18.04.1",
      "fix": "libfreerdp-server2-2 2.2.0\u002Bdfsg1-0ubuntu0.18.04.1",
      "url": "https://patchblox.com/security/fix/linux/ubuntu-bionic-libfreerdp-server2-2-2.2.0-dfsg1-0ubuntu0.18.04.1",
      "released": "2020-07-27T11:15:00Z"
    },
    {
      "platform": "linux",
      "product": "libfreerdp-server2-2",
      "release": "Ubuntu 20.04 LTS (focal)",
      "fixedVersion": "2.2.0\u002Bdfsg1-0ubuntu0.20.04.1",
      "fix": "libfreerdp-server2-2 2.2.0\u002Bdfsg1-0ubuntu0.20.04.1",
      "url": "https://patchblox.com/security/fix/linux/ubuntu-focal-libfreerdp-server2-2-2.2.0-dfsg1-0ubuntu0.20.04.1",
      "released": "2020-07-27T11:15:00Z"
    },
    {
      "platform": "linux",
      "product": "libfreerdp-shadow-subsystem2-2",
      "release": "Ubuntu 18.04.6 LTS (bionic)",
      "fixedVersion": "2.2.0\u002Bdfsg1-0ubuntu0.18.04.1",
      "fix": "libfreerdp-shadow-subsystem2-2 2.2.0\u002Bdfsg1-0ubuntu0.18.04.1",
      "url": "https://patchblox.com/security/fix/linux/ubuntu-bionic-libfreerdp-shadow-subsystem2-2-2.2.0-dfsg1-0ubuntu0.18.04.1",
      "released": "2020-07-27T11:15:00Z"
    },
    {
      "platform": "linux",
      "product": "libfreerdp-shadow-subsystem2-2",
      "release": "Ubuntu 20.04 LTS (focal)",
      "fixedVersion": "2.2.0\u002Bdfsg1-0ubuntu0.20.04.1",
      "fix": "libfreerdp-shadow-subsystem2-2 2.2.0\u002Bdfsg1-0ubuntu0.20.04.1",
      "url": "https://patchblox.com/security/fix/linux/ubuntu-focal-libfreerdp-shadow-subsystem2-2-2.2.0-dfsg1-0ubuntu0.20.04.1",
      "released": "2020-07-27T11:15:00Z"
    },
    {
      "platform": "linux",
      "product": "libfreerdp-shadow2-2",
      "release": "Ubuntu 18.04.6 LTS (bionic)",
      "fixedVersion": "2.2.0\u002Bdfsg1-0ubuntu0.18.04.1",
      "fix": "libfreerdp-shadow2-2 2.2.0\u002Bdfsg1-0ubuntu0.18.04.1",
      "url": "https://patchblox.com/security/fix/linux/ubuntu-bionic-libfreerdp-shadow2-2-2.2.0-dfsg1-0ubuntu0.18.04.1",
      "released": "2020-07-27T11:15:00Z"
    },
    {
      "platform": "linux",
      "product": "libfreerdp-shadow2-2",
      "release": "Ubuntu 20.04 LTS (focal)",
      "fixedVersion": "2.2.0\u002Bdfsg1-0ubuntu0.20.04.1",
      "fix": "libfreerdp-shadow2-2 2.2.0\u002Bdfsg1-0ubuntu0.20.04.1",
      "url": "https://patchblox.com/security/fix/linux/ubuntu-focal-libfreerdp-shadow2-2-2.2.0-dfsg1-0ubuntu0.20.04.1",
      "released": "2020-07-27T11:15:00Z"
    },
    {
      "platform": "linux",
      "product": "libfreerdp2-2",
      "release": "Ubuntu 18.04.6 LTS (bionic)",
      "fixedVersion": "2.2.0\u002Bdfsg1-0ubuntu0.18.04.1",
      "fix": "libfreerdp2-2 2.2.0\u002Bdfsg1-0ubuntu0.18.04.1",
      "url": "https://patchblox.com/security/fix/linux/ubuntu-bionic-libfreerdp2-2-2.2.0-dfsg1-0ubuntu0.18.04.1",
      "released": "2020-07-27T11:15:00Z"
    },
    {
      "platform": "linux",
      "product": "libfreerdp2-2",
      "release": "Ubuntu 20.04 LTS (focal)",
      "fixedVersion": "2.2.0\u002Bdfsg1-0ubuntu0.20.04.1",
      "fix": "libfreerdp2-2 2.2.0\u002Bdfsg1-0ubuntu0.20.04.1",
      "url": "https://patchblox.com/security/fix/linux/ubuntu-focal-libfreerdp2-2-2.2.0-dfsg1-0ubuntu0.20.04.1",
      "released": "2020-07-27T11:15:00Z"
    },
    {
      "platform": "linux",
      "product": "libuwac0-0",
      "release": "Ubuntu 18.04.6 LTS (bionic)",
      "fixedVersion": "2.2.0\u002Bdfsg1-0ubuntu0.18.04.1",
      "fix": "libuwac0-0 2.2.0\u002Bdfsg1-0ubuntu0.18.04.1",
      "url": "https://patchblox.com/security/fix/linux/ubuntu-bionic-libuwac0-0-2.2.0-dfsg1-0ubuntu0.18.04.1",
      "released": "2020-07-27T11:15:00Z"
    },
    {
      "platform": "linux",
      "product": "libuwac0-0",
      "release": "Ubuntu 20.04 LTS (focal)",
      "fixedVersion": "2.2.0\u002Bdfsg1-0ubuntu0.20.04.1",
      "fix": "libuwac0-0 2.2.0\u002Bdfsg1-0ubuntu0.20.04.1",
      "url": "https://patchblox.com/security/fix/linux/ubuntu-focal-libuwac0-0-2.2.0-dfsg1-0ubuntu0.20.04.1",
      "released": "2020-07-27T11:15:00Z"
    },
    {
      "platform": "linux",
      "product": "libwinpr-tools2-2",
      "release": "Ubuntu 18.04.6 LTS (bionic)",
      "fixedVersion": "2.2.0\u002Bdfsg1-0ubuntu0.18.04.1",
      "fix": "libwinpr-tools2-2 2.2.0\u002Bdfsg1-0ubuntu0.18.04.1",
      "url": "https://patchblox.com/security/fix/linux/ubuntu-bionic-libwinpr-tools2-2-2.2.0-dfsg1-0ubuntu0.18.04.1",
      "released": "2020-07-27T11:15:00Z"
    },
    {
      "platform": "linux",
      "product": "libwinpr-tools2-2",
      "release": "Ubuntu 20.04 LTS (focal)",
      "fixedVersion": "2.2.0\u002Bdfsg1-0ubuntu0.20.04.1",
      "fix": "libwinpr-tools2-2 2.2.0\u002Bdfsg1-0ubuntu0.20.04.1",
      "url": "https://patchblox.com/security/fix/linux/ubuntu-focal-libwinpr-tools2-2-2.2.0-dfsg1-0ubuntu0.20.04.1",
      "released": "2020-07-27T11:15:00Z"
    },
    {
      "platform": "linux",
      "product": "libwinpr2-2",
      "release": "Ubuntu 18.04.6 LTS (bionic)",
      "fixedVersion": "2.2.0\u002Bdfsg1-0ubuntu0.18.04.1",
      "fix": "libwinpr2-2 2.2.0\u002Bdfsg1-0ubuntu0.18.04.1",
      "url": "https://patchblox.com/security/fix/linux/ubuntu-bionic-libwinpr2-2-2.2.0-dfsg1-0ubuntu0.18.04.1",
      "released": "2020-07-27T11:15:00Z"
    },
    {
      "platform": "linux",
      "product": "libwinpr2-2",
      "release": "Ubuntu 20.04 LTS (focal)",
      "fixedVersion": "2.2.0\u002Bdfsg1-0ubuntu0.20.04.1",
      "fix": "libwinpr2-2 2.2.0\u002Bdfsg1-0ubuntu0.20.04.1",
      "url": "https://patchblox.com/security/fix/linux/ubuntu-focal-libwinpr2-2-2.2.0-dfsg1-0ubuntu0.20.04.1",
      "released": "2020-07-27T11:15:00Z"
    },
    {
      "platform": "linux",
      "product": "winpr-utils",
      "release": "Ubuntu 18.04.6 LTS (bionic)",
      "fixedVersion": "2.2.0\u002Bdfsg1-0ubuntu0.18.04.1",
      "fix": "winpr-utils 2.2.0\u002Bdfsg1-0ubuntu0.18.04.1",
      "url": "https://patchblox.com/security/fix/linux/ubuntu-bionic-winpr-utils-2.2.0-dfsg1-0ubuntu0.18.04.1",
      "released": "2020-07-27T11:15:00Z"
    },
    {
      "platform": "linux",
      "product": "winpr-utils",
      "release": "Ubuntu 20.04 LTS (focal)",
      "fixedVersion": "2.2.0\u002Bdfsg1-0ubuntu0.20.04.1",
      "fix": "winpr-utils 2.2.0\u002Bdfsg1-0ubuntu0.20.04.1",
      "url": "https://patchblox.com/security/fix/linux/ubuntu-focal-winpr-utils-2.2.0-dfsg1-0ubuntu0.20.04.1",
      "released": "2020-07-27T11:15:00Z"
    }
  ],
  "noFixYet": [],
  "dataAsOf": "2026-11-08T00:53:09Z",
  "attribution": {
    "text": "Data: Patchblox Patch Radar",
    "url": "https://patchblox.com/security/patch-radar",
    "terms": "https://patchblox.com/security/patch-radar/use-the-data"
  }
}