LiveActive security incident?Get immediate response
CVE Record

CVE-2022-40008: SWFTools commit 772e55a was discovered to contain a heap-buffer overflow via the function readU8 at /lib/tt...

SWFTools commit 772e55a was discovered to contain a heap-buffer overflow via the function readU8 at /lib/ttf.c.

CriticalCVSS 9.8Not KEV-listedUpdated
Glexia's TakeAutomated analysiscritical

Security readout for executives and security teams

Plain-English summary

CVE-2022-40008 is a reported heap-buffer overflow in SWFTools, in the TrueType font parsing code. If a vulnerable build processes attacker-controlled input, the published CVSS rating says compromise of confidentiality, integrity, and availability is possible. The public source bundle does not identify affected released versions or a confirmed fix.

Executive priority

Treat this as high urgency where SWFTools touches untrusted input or internet-facing workflows. The business risk is potentially severe, but prioritization should be scoped by confirmed SWFTools usage because public affected-version data is incomplete.

Technical view

The issue is CWE-787 out-of-bounds write in SWFTools commit 772e55a, via readU8 in /lib/ttf.c. NVD-style scoring is CVSS 3.1 9.8, AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H. The bundle lists no CPEs, no vendor/product metadata, and no patch details.

Likely exposure

Likely exposure is limited to environments that build, package, or embed vulnerable SWFTools code and process untrusted files through SWFTools font-handling paths. Exposure cannot be mapped reliably from the bundle because affected products, versions, and CPEs are listed as n/a.

Exploitation context

The provided sources do not show active exploitation, and the CVE is not marked as CISA KEV. The CVSS vector indicates a theoretically low-bar remote attack with no privileges or user interaction, but the bundle does not provide exploit maturity or real-world abuse evidence.

Researcher notes

Key gaps are affected release mapping, fixed commit or version, and exploit status. The strongest evidence is the CVE record and linked GitHub issue describing a heap-buffer overflow in readU8 at lib/ttf.c. Avoid assuming downstream products are affected without code or package verification.

Mitigation direction

  • Check upstream SWFTools issue and maintainer guidance for fixed commits or releases.
  • Update or rebuild SWFTools if a maintained fixed version is available.
  • Restrict SWFTools processing of untrusted files until fixed.
  • Isolate conversion or parsing jobs from sensitive systems and data.
  • Apply input size and type controls around SWFTools workflows.

Validation and detection

  • Inventory systems, containers, packages, and source builds using SWFTools.
  • Check whether builds include commit 772e55a or nearby vulnerable code.
  • Identify public or automated workflows that pass untrusted files to SWFTools.
  • Review crash reports for heap-buffer overflow symptoms in ttf.c/readU8.
  • Confirm remediation against the upstream GitHub issue before closing.
Prepared
Confidence
medium
Sources
3

Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.

Potential ATT&CK relevance

Conservative CVE-to-ATT&CK context

These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.

ATT&CK lookup starting points

Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.

cwe · low confidence lookup

CWE-787: Exact CWE lookup

Use the exact CWE identifier as the starting point before reviewing related ATT&CK behavior. Open the exact CWE lookup page first, then review the ATT&CK searches from that MITRE weakness context. This is a Glexia lookup hint, not an official ATT&CK mapping.

Open ATT&CK lookup
cve · low confidence lookup

CVE-2022-40008 mapping review

Open the CVE-to-ATT&CK bridge for reviewed, inferred, or future official mappings tied to this CVE.

Open ATT&CK lookup
Vulnerability profileCVE Program record
Severity
Critical
CVSS
9.8 (3.1)
Known Exploited
No
Published

Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Official CVE source material

CNA and ADP enrichment extracted from CVE v5

These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.

1CVSS vectors
0Timeline events
0ADP providers
2Source links

CVSS vector scores

1 official score

We collect every scored CVSS vector available in the official CNA and ADP containers. When more than one version is present, the table keeps the source vectors side by side instead of collapsing them into the highest score.

ScoreVersionSeverityVectorExploitImpactSource
9.8CVSS 3.1CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H3.95.9Primary CVE score

Vulnerability scoring details

Base CVSS 3.1 score

9.8Critical
CVSS 3.1 vector shape for CVE-2022-40008Attack VectorAttack ComplexityPrivileges RequiredUser InteractionScopeConfidentiality ImpactIntegrity ImpactAvailability Impact

Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Attack Vector
NetworkAdjacentLocalPhysical
Attack Complexity
LowHigh
Privileges Required
NoneLowHigh
User Interaction
NoneRequired
Scope
ChangedUnchanged
Confidentiality Impact
HighLowNone
Integrity Impact
HighLowNone
Availability Impact
HighLowNone

Source materials

Affected products

Products and packages named in the record

VendorProductVersion / packageStatus
n/an/an/aListed
Weakness

CWE details

CWE links open Glexia weakness intelligence pages with official CWE context, developer remediation guidance, and related CVE mappings.

CWE-787 · source CWE mapping

Out-of-bounds Write

Out-of-bounds Write represents a recurring weakness pattern that can create exploitable paths when design, validation, or implementation controls are missing.