CVE-2026-4745

Arbitrary Code Execution via Crafted Bytecode in dendibakh/perf-ninja

Published Mar 24, 2026 CVSS 4.0 · 10 Critical EPSS < 1% KEV · Not listed
Description
Improper Control of Generation of Code ('Code Injection') vulnerability in dendibakh perf-ninja (labs/misc/pgo/lua modules). This vulnerability is associated with program files ldo.C.

This issue affects perf-ninja.

Analysis

AI-generated

Technical impact

This vulnerability represents an improper control over code generation, allowing an attacker to hijack the Lua interpreter by injecting crafted bytecode. The result is arbitrary code execution within the context of the perf-ninja application, potentially compromising confidentiality, integrity, and availability of the entire system. The weakness is classified as CWE‑94, which confirms that code injection can occur when untrusted input is used to generate or execute program code.

Affected Systems

The affected product is dendibakh's perf‑ninja, specifically the Lua modules under labs/misc/pgo/lua. No specific version numbers are listed in the CNA data; the issue appears in the current codebase as referenced in pull request 129.

Risk and Exploitability

The CVSS score of 10 indicates a critical level of risk. Exploit probability data (EPSS) is not available, and the vulnerability is not catalogued in CISA’s KEV list. Based on the description, the failure to control bytecode generation suggests that an attacker who can supply or modify Lua bytecode—potentially through local file manipulation or networked input to the perf‑ninja service—can trigger arbitrary code execution. No additional exploitation prerequisites are detailed, but the severity implies that any successful injection would have system‑wide impact.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Merge the fix from pull request 129 into your perf‑ninja deployment to replace the vulnerable ldo.C module

Generated by OpenCVE AI on March 24, 2026 at 05:21 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Dendibakh
Dendibakh perf-ninja
Vendors & Products Dendibakh
Dendibakh perf-ninja
Type Values Removed Values Added
Description Improper Control of Generation of Code ('Code Injection') vulnerability in dendibakh perf-ninja (labs/misc/pgo/lua modules). This vulnerability is associated with program files ldo.C. This issue affects perf-ninja.
Title Arbitrary Code Execution via Crafted Bytecode in dendibakh/perf-ninja
Weaknesses CWE-94
References
Metrics cvssV4_0

{'score': 10, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H/E:A/S:N/AU:Y/R:U/V:D/RE:L/U:Amber'}

Weaknesses
  • CWE-94

    Improper Control of Generation of Code ('Code Injection')

Sources

Status
PUBLISHED
Assigner
GovTech CSG
Published
Updated
Mar 24, 2026, 6:22 PM
Reserved
Mar 24, 2026, 3:27 AM
Status
Awaiting Analysis
Published
Mar 24, 2026, 5:16 AM
Modified
Jun 17, 2026, 10:57 AM