Timing Attack Affecting mojic package, versions <2.1.4


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.11% (2nd percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-JS-MOJIC-16420258
  • published5 May 2026
  • disclosed16 Apr 2026
  • creditnotamitgamer2

Introduced: 16 Apr 2026

CVE-2026-41244  (opens in a new tab)
CWE-208  (opens in a new tab)

How to fix?

Upgrade mojic to version 2.1.4 or higher.

Overview

mojic is an Obfuscate C source code into encrypted, password-seeded emoji streams.

Affected versions of this package are vulnerable to Timing Attack in the getDecryptStream process. An attacker can bypass file integrity checks by exploiting timing discrepancies in the HMAC verification, allowing the forging of valid signatures through a timing attack. This can result in the decryption engine processing maliciously altered data streams, potentially leading to arbitrary code injection when the tampered file is decrypted.

CVSS Base Scores

version 4.0
version 3.1