{"id":"UBUNTU-CVE-2022-38223","details":"There is an out-of-bounds write in checkType located in etc.c in w3m 0.5.3. It can be triggered by sending a crafted HTML file to the w3m binary. It allows an attacker to cause Denial of Service or possibly have unspecified other impact.","modified":"2026-02-04T04:20:55.452516Z","published":"2022-08-15T11:21:00Z","related":["USN-5796-1","USN-5796-2"],"upstream":["CVE-2022-38223"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2022-38223"},{"type":"ADVISORY","url":"https://ubuntu.com/security/notices/USN-5796-1"},{"type":"ADVISORY","url":"https://ubuntu.com/security/notices/USN-5796-2"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2022-38223"}],"affected":[{"package":{"name":"w3m","ecosystem":"Ubuntu:Pro:14.04:LTS","purl":"pkg:deb/ubuntu/w3m@0.5.3-15ubuntu0.2+esm1?arch=source&distro=trusty/esm"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.5.3-15ubuntu0.2+esm1"}]}],"versions":["0.5.3-11","0.5.3-12","0.5.3-13","0.5.3-15","0.5.3-15ubuntu0.1","0.5.3-15ubuntu0.2"],"ecosystem_specific":{"availability":"Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro","binaries":[{"binary_name":"w3m","binary_version":"0.5.3-15ubuntu0.2+esm1"},{"binary_name":"w3m-img","binary_version":"0.5.3-15ubuntu0.2+esm1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-38223.json"}},{"package":{"name":"w3m","ecosystem":"Ubuntu:16.04:LTS","purl":"pkg:deb/ubuntu/w3m@0.5.3-26ubuntu0.2?arch=source&distro=xenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.5.3-24","0.5.3-25","0.5.3-26","0.5.3-26build1","0.5.3-26ubuntu0.1","0.5.3-26ubuntu0.2"],"ecosystem_specific":{"binaries":[{"binary_version":"0.5.3-26ubuntu0.2","binary_name":"w3m"},{"binary_name":"w3m-img","binary_version":"0.5.3-26ubuntu0.2"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-38223.json"}},{"package":{"name":"w3m","ecosystem":"Ubuntu:18.04:LTS","purl":"pkg:deb/ubuntu/w3m@0.5.3-36ubuntu0.1?arch=source&distro=bionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.5.3-36ubuntu0.1"}]}],"versions":["0.5.3-34","0.5.3-34.1","0.5.3-35","0.5.3-36","0.5.3-36build1"],"ecosystem_specific":{"availability":"No subscription required","binaries":[{"binary_version":"0.5.3-36ubuntu0.1","binary_name":"w3m"},{"binary_version":"0.5.3-36ubuntu0.1","binary_name":"w3m-img"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-38223.json"}},{"package":{"name":"w3m","ecosystem":"Ubuntu:20.04:LTS","purl":"pkg:deb/ubuntu/w3m@0.5.3-37ubuntu0.1?arch=source&distro=focal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.5.3-37ubuntu0.1"}]}],"versions":["0.5.3-37"],"ecosystem_specific":{"availability":"No subscription required","binaries":[{"binary_name":"w3m","binary_version":"0.5.3-37ubuntu0.1"},{"binary_name":"w3m-img","binary_version":"0.5.3-37ubuntu0.1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-38223.json"}},{"package":{"name":"w3m","ecosystem":"Ubuntu:22.04:LTS","purl":"pkg:deb/ubuntu/w3m@0.5.3+git20210102-6ubuntu0.1?arch=source&distro=jammy"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.5.3+git20210102-6ubuntu0.1"}]}],"versions":["0.5.3+git20210102-6build1","0.5.3+git20210102-6build2","0.5.3+git20210102-6build3"],"ecosystem_specific":{"availability":"No subscription required","binaries":[{"binary_name":"w3m","binary_version":"0.5.3+git20210102-6ubuntu0.1"},{"binary_name":"w3m-img","binary_version":"0.5.3+git20210102-6ubuntu0.1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-38223.json"}}],"schema_version":"1.7.3","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H"},{"type":"Ubuntu","score":"medium"}]}