CVE-2026-41244

Mojic: Observable Timing Discrepancy in HMAC Verification

Published Apr 24, 2026 CVSS 3.1 · 4.7 Medium EPSS < 1% KEV · Not listed
Description
Mojic is a CLI tool to transform readable C code into an unrecognizable chaotic stream of emojis. Prior to 2.1.4, the CipherEngine uses a standard equality operator (!==) to verify the HMAC-SHA256 integrity seal during the decryption phase. This creates an Observable Timing Discrepancy (CWE-208), allowing a potential attacker to bypass the file integrity check via a timing attack. This vulnerability is fixed in 2.1.4.

Analysis

AI-generated

Technical impact

Mojic, a command‑line tool that converts C source into a stream of emojis, verifies file integrity by comparing an HMAC‑SHA256 seal during decryption. In versions prior to 2.1.4 the comparison uses a standard equality operator (!==), which results in a measurable timing discrepancy (CWE‑208). This side‑channel can be exploited to gain knowledge about the HMAC value and ultimately allow an attacker to bypass the integrity check, letting forged files be processed as if they were authentic.

Affected Systems

The vulnerability affects the Mojic CLI distributed by the notamitgamer project, specifically all releases older than 2.1.4. Users who continue to run these earlier versions are subject to the risk until they upgrade.

Risk and Exploitability

The CVSS score of 4.7 indicates moderate severity, while the EPSS score of less than 1% suggests a low probability of exploitation at present. The vulnerability is not listed in the CISA KEV catalog. Exploitation would require an attacker to supply crafted inputs to the decryption routine and measure timing differences, which is more feasible in environments where the CLI is exposed to untrusted data or where an attacker can read the tool’s timing output. Because no remote code execution or privilege escalation is achieved, the impact is limited to compromising file authenticity.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade Mojic to version 2.1.4 or later, which replaces the standard equality comparison with a proper constant‑time HMAC check.
  • Remove or disable older Mojic binaries from the system to prevent accidental execution of the vulnerable code.
  • Limit the CLI to trusted users or restrict file input to authenticated, verified sources, and consider implementing additional integrity checks if older versions must remain in use.

Generated by OpenCVE AI on April 28, 2026 at 13:35 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Github GHSA Github GHSA GHSA-wqq3-wfmp-v85g Mojic: Observable Timing Discrepancy in HMAC Verification
History
Type Values Removed Values Added
First Time appeared Notamitgamer
Notamitgamer mojic
Vendors & Products Notamitgamer
Notamitgamer mojic
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
Description Mojic is a CLI tool to transform readable C code into an unrecognizable chaotic stream of emojis. Prior to 2.1.4, the CipherEngine uses a standard equality operator (!==) to verify the HMAC-SHA256 integrity seal during the decryption phase. This creates an Observable Timing Discrepancy (CWE-208), allowing a potential attacker to bypass the file integrity check via a timing attack. This vulnerability is fixed in 2.1.4.
Title Mojic: Observable Timing Discrepancy in HMAC Verification
Weaknesses CWE-208
References
Metrics cvssV3_1

{'score': 4.7, 'vector': 'CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:N/I:H/A:N'}

Weaknesses
  • CWE-208

    Observable Timing Discrepancy

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Apr 24, 2026, 7:59 PM
Reserved
Apr 18, 2026, 3:47 AM
Status
Deferred
Published
Apr 24, 2026, 8:16 PM
Modified
Oct 26, 2026, 9:10 PM