{"id":"UBUNTU-CVE-2022-40009","details":"SWFTools commit 772e55a was discovered to contain a heap-use-after-free via the function grow_unicode at /lib/ttf.c.","modified":"2025-10-24T04:53:50Z","published":"2022-09-20T20:15:00Z","upstream":["CVE-2022-40009"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2022-40009"},{"type":"REPORT","url":"https://github.com/matthiaskramm/swftools/issues/190"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2022-40009"}],"affected":[{"package":{"name":"swftools","ecosystem":"Ubuntu:16.04:LTS","purl":"pkg:deb/ubuntu/swftools@0.9.2+git20130725-4.1~build0.16.04.1?arch=source&distro=xenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.9.2+git20130725-2","0.9.2+git20130725-2ubuntu1","0.9.2+git20130725-4","0.9.2+git20130725-4.1~build0.16.04.1"],"ecosystem_specific":{"binaries":[{"binary_name":"swftools","binary_version":"0.9.2+git20130725-4.1~build0.16.04.1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-40009.json"}},{"package":{"name":"swftools","ecosystem":"Ubuntu:18.04:LTS","purl":"pkg:deb/ubuntu/swftools@0.9.2+git20130725-4.1?arch=source&distro=bionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.9.2+git20130725-4.1"],"ecosystem_specific":{"binaries":[{"binary_version":"0.9.2+git20130725-4.1","binary_name":"swftools"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-40009.json"}}],"schema_version":"1.7.3","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"},{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"},{"type":"Ubuntu","score":"medium"}]}