{"id":"UBUNTU-CVE-2021-3403","details":"In ytnef 1.9.3, the TNEFSubjectHandler function in lib/ytnef.c allows remote attackers to cause a denial-of-service (and potentially code execution) due to a double free which can be triggered via a crafted file.","modified":"2026-01-20T17:29:52.393786Z","published":"2021-03-04T22:15:00Z","upstream":["CVE-2021-3403"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2021-3403"},{"type":"REPORT","url":"https://github.com/Yeraze/ytnef/issues/85"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2021-3403"}],"affected":[{"package":{"name":"libytnef","ecosystem":"Ubuntu:16.04:LTS","purl":"pkg:deb/ubuntu/libytnef@1.5-9ubuntu0.1?arch=source&distro=xenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.5-6","1.5-9","1.5-9ubuntu0.1"],"ecosystem_specific":{"binaries":[{"binary_name":"libytnef0","binary_version":"1.5-9ubuntu0.1"},{"binary_name":"libytnef0-dev","binary_version":"1.5-9ubuntu0.1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-3403.json"}},{"package":{"name":"libytnef","ecosystem":"Ubuntu:18.04:LTS","purl":"pkg:deb/ubuntu/libytnef@1.9.2-2?arch=source&distro=bionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.9.2-2"],"ecosystem_specific":{"binaries":[{"binary_name":"libytnef0","binary_version":"1.9.2-2"},{"binary_name":"libytnef0-dev","binary_version":"1.9.2-2"},{"binary_name":"ytnef-tools","binary_version":"1.9.2-2"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-3403.json"}},{"package":{"name":"libytnef","ecosystem":"Ubuntu:20.04:LTS","purl":"pkg:deb/ubuntu/libytnef@1.9.3-1?arch=source&distro=focal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.9.3-1"],"ecosystem_specific":{"binaries":[{"binary_name":"libytnef0","binary_version":"1.9.3-1"},{"binary_name":"libytnef0-dev","binary_version":"1.9.3-1"},{"binary_name":"ytnef-tools","binary_version":"1.9.3-1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-3403.json"}},{"package":{"name":"libytnef","ecosystem":"Ubuntu:22.04:LTS","purl":"pkg:deb/ubuntu/libytnef@2.0-1?arch=source&distro=jammy"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.9.3-3","2.0-1"],"ecosystem_specific":{"binaries":[{"binary_name":"libytnef0","binary_version":"2.0-1"},{"binary_name":"libytnef0-dev","binary_version":"2.0-1"},{"binary_name":"ytnef-tools","binary_version":"2.0-1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-3403.json"}},{"package":{"name":"libytnef","ecosystem":"Ubuntu:24.04:LTS","purl":"pkg:deb/ubuntu/libytnef@2.1.2-1build1?arch=source&distro=noble"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.0-1","2.1.2-1","2.1.2-1build1"],"ecosystem_specific":{"binaries":[{"binary_name":"libytnef0","binary_version":"2.1.2-1build1"},{"binary_name":"libytnef0-dev","binary_version":"2.1.2-1build1"},{"binary_name":"ytnef-tools","binary_version":"2.1.2-1build1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-3403.json"}},{"package":{"name":"libytnef","ecosystem":"Ubuntu:25.10","purl":"pkg:deb/ubuntu/libytnef@2.1.2-1build1?arch=source&distro=questing"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.1.2-1build1"],"ecosystem_specific":{"binaries":[{"binary_name":"libytnef0","binary_version":"2.1.2-1build1"},{"binary_name":"libytnef0-dev","binary_version":"2.1.2-1build1"},{"binary_name":"ytnef-tools","binary_version":"2.1.2-1build1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-3403.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"}]}