Cloudanix VulnDB

CVE-2021-44331

High · 7.8

CVSS

7.8

EPSS

0.8%

Published

Feb 28, 2022

CISA due date

—

Cloudanix analysis

Schedule a fix SSVC: Track

A bug in a texture-compression program can let attackers take over a computer when someone opens a specially made file.

Exploit Available
Exploitation
Requires User Interaction
Attacker needs
User Interaction
Complexity
Low
Impact
Full Compromise
Component
Application
Class
Memory Corruption
Remediation
Upgrade
Effort
Medium
Patch risk
Low

What it actually does

Buffer overflow in encode_ise() function of ARM astcenc 3.2.0 allowing memory corruption with potential for arbitrary code execution.

Why it matters to the business

Attackers may gain full control of systems that process untrusted texture files with the vulnerable encoder, risking data theft or ransomware deployment on developer and build machines.

How an attack unfolds

An attacker crafts a malicious ASTC texture file that triggers the buffer overflow inside encode_ise() when the file is fed to astcenc 3.2.0; because an exploit is publicly available, the crafted file can be delivered via email, download, or supply-chain artifact to achieve code execution.

How to fix it

Upgrade ARM astcenc to the latest available version that resolves the encode_ise() buffer overflow; if no fixed release exists, replace the encoder with a maintained alternative and avoid processing untrusted texture assets.

How to confirm the fix worked

Confirm astcenc version is not 3.2.0; run the encoder against known-good and fuzz-generated inputs while monitoring for crashes or sanitizer violations in encode_ise().

Typical attack path

  1. Obtain or generate a malicious ASTC texture input designed to overflow encode_ise()
  2. Invoke astcenc 3.2.0 locally with the crafted file (requires user interaction)
  3. Trigger memory corruption leading to arbitrary code execution

How to detect it

Review process execution logs and crash dumps for astcenc invocations that terminate abnormally; correlate with file-creation timestamps of ASTC assets from untrusted sources.

What your security team should do

  • Immediately inventory all uses of astcenc 3.2.0 and block execution on untrusted inputs
  • Replace vulnerable encoder with a patched or alternative implementation
  • Add file-type sandboxing and integrity checks for texture assets in build pipelines

The record

ARM astcenc 3.2.0 is vulnerable to Buffer Overflow in function encode_ise().

Affected packages

Ecosystem Package Introduced Fixed
Ubuntu:22.04:LTS astc-encoder 0 No fix
Ubuntu:24.04:LTS astc-encoder 0 No fix
Ubuntu:24.10 astc-encoder 0 No fix
Ubuntu:25.04 astc-encoder 0 No fix
Ubuntu:25.10 astc-encoder 0 No fix

Related vulnerabilities