Read the docs
TI-2021-18088 Aliases CVE-2021-41253

Possible heap buffer overflow when using zycore string functions in formatter hooks

Priority LOW 39CWE-122Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
None
Attack complexity
High
Impact type
Code execution
Confidentiality · integrity · availability
High · High · High
Fix status
Fixed

Attack profile from CVSS 3.1 · NVD. Fix status from CNA. Impact type from CWE-122 and the CVSS impact.

Summary

Zydis is an x86/x86-64 disassembler library. Users of Zydis versions v3.2.0 and older that use the string functions provided in `zycore` in order to append untrusted user data to the formatter buffer within their custom formatter hooks can run into heap buffer overflows. Older versions of Zydis failed to properly initialize the string object within the formatter buffer, forgetting to initialize a few fields, leaving their value to chance. This could then in turn cause zycore functions like `ZyanStringAppend` to make incorrect calculations for the new target size, resulting in heap memory corruption. This does not affect the regular uncustomized Zydis formatter, because Zydis internally doesn't use the string functions in zycore that act upon these fields. However, because the zycore string functions are the intended way to work with the formatter buffer for users of the library that wish to extend the formatter, we still consider this to be a vulnerability in Zydis. This bug is patched starting in version 3.2.1. As a workaround, users may refrain from using zycore string functions in their formatter hooks until updating to a patched version.

Why it matters now

EPSS 0.01864 79th percentileScored 2026-11-07
Public exploit Yes 2 exploit referencesTagged by NVD
Fix Fixed zydis (zyantific): 3.2.1

SSVC decision points

Not available: CISA has not published SSVC decision points for this record.

Affected products

VendorProductAffected versionsFixed inStatusSource
zyantificzydisbefore 3.2.13.2.1Patch availableCNA
  • zydis Vendorzyantific Affected before 3.2.1 Fixed in 3.2.1 Patch available CNA

CPE configurations NVD · 1

CPEVersionsRoleVendor
cpe:2.3:a:zyantific:zydis:*:*:*:*:*:*:*:*up to 3.2.0Vulnerablezyantific
  • cpe:2.3:a:zyantific:zydis:*:*:*:*:*:*:*:* Versions up to 3.2.0 Vulnerable ·zyantific

Remediation

  • Fix · CNA zydis (zyantific) Fixed in 3.2.1

Timeline

  1. 2026-10-02 Threatist record created from CVE-2021-41253

References

Sources

This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences