CVE-2023-47039
NixOS vulnerability analysis and mitigation

Overview

A security vulnerability (CVE-2023-47039) was discovered in Perl for Windows, affecting versions prior to 5.38.1. The vulnerability was initially reported by GitHub user ycdxsb to the Intel Product Security Incident Response Team (PSIRT), who then reported it to the Perl security team (Perl Delta, NVD).

Technical details

The vulnerability stems from how Perl for Windows handles the system path environment variable when searching for the shell (cmd.exe). Due to path search order issues, when an executable using the Windows Perl interpreter attempts to find and execute cmd.exe, it first looks in the current working directory before checking system directories. The vulnerability has been assigned a CVSS v3.1 base score of 7.8 (HIGH) with the vector string CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H (Red Hat, NetApp).

Impact

When successfully exploited, this vulnerability could lead to arbitrary code execution with elevated privileges. An attacker with limited privileges can place a malicious cmd.exe in locations with weak permissions, such as C:\ProgramData, which would then be executed when an administrator runs a Perl executable from these compromised locations (NVD, Security Online).

Exploitability

The vulnerability requires local access and low attack complexity to exploit. An attacker needs limited privileges to place a malicious cmd.exe file in locations with weak permissions. The vulnerability has been confirmed to be exploitable when an administrator attempts to use Perl executables from compromised locations (NetApp).

Mitigation and workarounds

The vulnerability has been fixed in Perl versions 5.34.2, 5.36.2, and 5.38.1. Users are strongly advised to upgrade to these or later versions to mitigate the risk. The fix was released as part of a coordinated security response (Perl Delta, Openwall).

Additional resources


SourceThis report was generated using AI

Related NixOS vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-75874CRITICAL10
  • NixOS logoNixOS
  • cpe:2.3:a:mozilla:firefox
NoYesAug 18, 2026
CVE-2026-74990CRITICAL9.8
  • NixOS logoNixOS
  • firefox-esr
NoYesAug 18, 2026
CVE-2026-74989CRITICAL9.8
  • NixOS logoNixOS
  • MozillaFirefox-translations-common
NoYesAug 18, 2026
CVE-2026-74988CRITICAL9.8
  • NixOS logoNixOS
  • cpe:2.3:a:mozilla:firefox
NoYesAug 18, 2026
CVE-2026-74987CRITICAL9.8
  • NixOS logoNixOS
  • firefox-esr
NoYesAug 18, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management