CVE-2017-12814

critical
Published 2017-09-28 · Modified 2026-05-13
CVSS v3
9.8
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CVSS v2
7.5
VIR risk
9.8

Description

Stack-based buffer overflow in the CPerlHost::Add method in win32/perlhost.h in Perl before 5.24.3-RC1 and 5.26.x before 5.26.1-RC1 on Windows allows attackers to execute arbitrary code via a long environment variable.

Predictions

Exploit likelihood
97%
Patch ETA

Heuristic predictions, AS-IS, for prioritization only.

Mitigations

vendor Authored 2026-05-27

Vendor advisory: debian — https://security-tracker.debian.org/tracker/CVE-2017-12814

vendor Authored 2026-05-27

Vendor advisory: cve@mitre.org — https://rt.perl.org/Public/Bug/Display.html?id=131665

vendor Authored 2026-05-27

Vendor advisory: cve@mitre.org — https://perl5.git.perl.org/perl.git/log/refs/tags/v5.26.1-RC1

vendor Authored 2026-05-27

Vendor advisory: cve@mitre.org — https://perl5.git.perl.org/perl.git/log/refs/tags/v5.24.3-RC1

OS impact

OSVersionStatusFixed in
debian debianbookwormfixed0
debian debianbullseyefixed0
debian debianforkyfixed0
debian debiansidfixed0
debian debiantrixiefixed0

Application impact

VendorProductVersionsFixed
perlperl{"endIncluding":"5.24.2"}
perlperl5.26.0

References

CWEs

CWE-119

Verify integrity in audit chain (admin only). AS-IS.