# CVE-2022-40009: SWFTools commit 772e55a was discovered to contain a heap-use-after-free via the function growunicode at /lib/ttf.c.

- Severity: Critical 9.8 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.43%, higher than 73% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2022-09-20T19:14:20.000Z
- Modified: 2026-06-17T05:00:46.060Z
- Weaknesses: CWE-416
- SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact total
- Assigned by: mitre

## Description

SWFTools commit 772e55a was discovered to contain a heap-use-after-free via the function grow_unicode at /lib/ttf.c.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- swftools swftools: 2021-12-16

## Every score

- CISA-ADP: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`

## References

- <https://github.com/matthiaskramm/swftools/issues/190> (exploit, third-party-advisory)

## Sources

- CVE List: [CVE-2022-40009](https://www.cve.org/CVERecord?id=CVE-2022-40009), CVE Terms of Use, modified 2025-05-28
- NVD: [CVE-2022-40009](https://nvd.nist.gov/vuln/detail/CVE-2022-40009), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2022-40009 · Whole record: https://cve.day/CVE-2022-40009.json · Rebuilt by cve.day 2026-11-25T22:58:15.145Z
