Security mailing lists by PureSourceCode

CVE-2023-47039

HIGH 7.8CVSS 3.1

Perl: perl for windows binary hijacking vulnerability

A vulnerability was found in Perl. This security issue occurs while Perl for Windows relies on the system path environment variable to find the shell (cmd.exe). When running an executable that uses the Windows Perl interpreter, Perl attempts to find and execute cmd.exe within the operating system. However, due to path search order issues, Perl initially looks for cmd.exe in the current working directory. This flaw allows an attacker with limited privileges to placecmd.exe in locations with weak permissions, such as C:\ProgramData. By doing so, arbitrary code can be executed when an administrator attempts to use this executable from these compromised locations.

Published
2 Jan 2024
Last modified
26 Nov 2026
Assigned by
secalert@redhat.com
NVD status
Modified
Weakness
CWE-122CWE-787
Sources
NVDJSONCVE ListJSON

Scores

SourceScored byVersionScoreVector / decision
NVD secalert@redhat.com (Secondary) CVSS 3.1 HIGH 7.8 CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
NVD nvd@nist.gov (Primary) CVSS 3.1 HIGH 7.8 CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
CVE List redhat CVSS 3.1 HIGH 7.8 CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
CVE List CISA-ADP SSVC Exploitation: none; Automatable: no; Technical Impact: total

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD perl perl
cpe:2.3:a:perl:perl:*:*:*:*:*:*:*:*
< 5.32.1 5.32.1
CVE List https://github.com/Perl/perl5 perl < 5.34.3; >= 5.36.0, < 5.36.3; >= 5.38.0, < 5.38.2 5.34.3, 5.36.3, 5.38.2
CVE List https://access.redhat.com/downloads/content/package-browser/ perl
cpe:/o:redhat:rhel_els:6
CVE List https://access.redhat.com/downloads/content/package-browser/ perl
cpe:/o:redhat:rhel_els:7
CVE List https://access.redhat.com/downloads/content/package-browser/ perl
cpe:/o:redhat:enterprise_linux:8
CVE List https://access.redhat.com/downloads/content/package-browser/ perl:5.30/perl
cpe:/o:redhat:enterprise_linux:8
CVE List https://access.redhat.com/downloads/content/package-browser/ perl:5.32/perl
cpe:/o:redhat:enterprise_linux:8
CVE List https://access.redhat.com/downloads/content/package-browser/ perl
cpe:/o:redhat:enterprise_linux:9

References

History

  • 26 Nov 2026 18:37 UTC · NVD: updated (other details)
  • 26 Nov 2026 17:37 UTC · CVE List: first stored (published 2 Jan 2024)
  • 25 Nov 2026 20:37 UTC · NVD: first stored (published 2 Jan 2024)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.