{"id":"UBUNTU-CVE-2023-43785","details":"A vulnerability was found in libX11 due to a boundary condition within the _XkbReadKeySyms() function. This flaw allows a local user to trigger an out-of-bounds read error and read the contents of memory on the system.","modified":"2026-04-22T14:11:46.554326Z","published":"2023-10-03T00:00:00Z","related":["USN-6407-1","USN-6407-2"],"upstream":["CVE-2023-43785"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2023-43785"},{"type":"ADVISORY","url":"https://ubuntu.com/security/notices/USN-6407-1"},{"type":"ADVISORY","url":"https://ubuntu.com/security/notices/USN-6407-2"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2023-43785"}],"affected":[{"package":{"name":"libx11","ecosystem":"Ubuntu:Pro:14.04:LTS","purl":"pkg:deb/ubuntu/libx11@2:1.6.2-1ubuntu2.1+esm5?arch=source&distro=trusty/esm"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2:1.6.2-1ubuntu2.1+esm5"}]}],"versions":["2:1.6.1-1ubuntu1","2:1.6.1-1ubuntu2","2:1.6.2-1ubuntu1","2:1.6.2-1ubuntu2","2:1.6.2-1ubuntu2.1","2:1.6.2-1ubuntu2.1+esm1","2:1.6.2-1ubuntu2.1+esm2","2:1.6.2-1ubuntu2.1+esm3","2:1.6.2-1ubuntu2.1+esm4"],"ecosystem_specific":{"binaries":[{"binary_name":"libx11-6","binary_version":"2:1.6.2-1ubuntu2.1+esm5"},{"binary_version":"2:1.6.2-1ubuntu2.1+esm5","binary_name":"libx11-data"},{"binary_name":"libx11-xcb1","binary_version":"2:1.6.2-1ubuntu2.1+esm5"}],"availability":"Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro"},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2023/UBUNTU-CVE-2023-43785.json"}},{"package":{"name":"libx11","ecosystem":"Ubuntu:Pro:16.04:LTS","purl":"pkg:deb/ubuntu/libx11@2:1.6.3-1ubuntu2.2+esm4?arch=source&distro=esm-infra/xenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2:1.6.3-1ubuntu2.2+esm4"}]}],"versions":["2:1.6.3-1ubuntu2","2:1.6.3-1ubuntu2.1","2:1.6.3-1ubuntu2.2","2:1.6.3-1ubuntu2.2+esm1","2:1.6.3-1ubuntu2.2+esm2","2:1.6.3-1ubuntu2.2+esm3"],"ecosystem_specific":{"availability":"Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro","binaries":[{"binary_version":"2:1.6.3-1ubuntu2.2+esm4","binary_name":"libx11-6"},{"binary_name":"libx11-data","binary_version":"2:1.6.3-1ubuntu2.2+esm4"},{"binary_name":"libx11-xcb1","binary_version":"2:1.6.3-1ubuntu2.2+esm4"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2023/UBUNTU-CVE-2023-43785.json"}},{"package":{"name":"libx11","ecosystem":"Ubuntu:Pro:18.04:LTS","purl":"pkg:deb/ubuntu/libx11@2:1.6.4-3ubuntu0.4+esm2?arch=source&distro=esm-infra/bionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2:1.6.4-3ubuntu0.4+esm2"}]}],"versions":["2:1.6.4-3","2:1.6.4-3ubuntu0.1","2:1.6.4-3ubuntu0.2","2:1.6.4-3ubuntu0.3","2:1.6.4-3ubuntu0.4","2:1.6.4-3ubuntu0.4+esm1"],"ecosystem_specific":{"availability":"Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro","binaries":[{"binary_name":"libx11-6","binary_version":"2:1.6.4-3ubuntu0.4+esm2"},{"binary_name":"libx11-data","binary_version":"2:1.6.4-3ubuntu0.4+esm2"},{"binary_name":"libx11-xcb1","binary_version":"2:1.6.4-3ubuntu0.4+esm2"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2023/UBUNTU-CVE-2023-43785.json"}},{"package":{"name":"libx11","ecosystem":"Ubuntu:20.04:LTS","purl":"pkg:deb/ubuntu/libx11@2:1.6.9-2ubuntu1.6?arch=source&distro=focal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2:1.6.9-2ubuntu1.6"}]}],"versions":["2:1.6.8-1","2:1.6.9-2","2:1.6.9-2ubuntu1","2:1.6.9-2ubuntu1.1","2:1.6.9-2ubuntu1.2","2:1.6.9-2ubuntu1.5"],"ecosystem_specific":{"availability":"No subscription required","binaries":[{"binary_name":"libx11-6","binary_version":"2:1.6.9-2ubuntu1.6"},{"binary_name":"libx11-data","binary_version":"2:1.6.9-2ubuntu1.6"},{"binary_name":"libx11-xcb1","binary_version":"2:1.6.9-2ubuntu1.6"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2023/UBUNTU-CVE-2023-43785.json"}},{"package":{"name":"libx11","ecosystem":"Ubuntu:22.04:LTS","purl":"pkg:deb/ubuntu/libx11@2:1.7.5-1ubuntu0.3?arch=source&distro=jammy"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2:1.7.5-1ubuntu0.3"}]}],"versions":["2:1.7.2-1","2:1.7.2-2","2:1.7.2-2build1","2:1.7.5-1","2:1.7.5-1ubuntu0.2"],"ecosystem_specific":{"availability":"No subscription required","binaries":[{"binary_name":"libx11-6","binary_version":"2:1.7.5-1ubuntu0.3"},{"binary_name":"libx11-data","binary_version":"2:1.7.5-1ubuntu0.3"},{"binary_name":"libx11-xcb1","binary_version":"2:1.7.5-1ubuntu0.3"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2023/UBUNTU-CVE-2023-43785.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N"},{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N"},{"type":"Ubuntu","score":"medium"}]}