Perl up to 5.24.2/5.26.0 win32/perlhost.h CPerlHost::Add Environment Variable memory corruption

CVSS Meta Temp Score
CVSS is a standardized scoring system to determine possibilities of attacks. The Temp Score considers temporal factors like disclosure, exploit and countermeasures. The unique Meta Score calculates the average score of different sources to provide a normalized scoring system.
Current Exploit Price (≈)
Our analysts are monitoring exploit markets and are in contact with vulnerability brokers. The range indicates the observed or calculated exploit price to be seen on exploit markets. A good indicator to understand the monetary effort required for and the popularity of an attack.
CTI Interest Score
Our Cyber Threat Intelligence team is monitoring different web sites, mailing lists, exploit markets and social media networks. The CTI Interest Score identifies the interest of attackers and the security community for this specific vulnerability in real-time. A high score indicates an elevated risk to be targeted for this vulnerability.

A vulnerability was found in Perl up to 5.24.2/5.26.0 (Programming Language Software). It has been rated as critical. Affected by this issue is the function CPerlHost::Add of the file win32/perlhost.h. The manipulation as part of a Environment Variable leads to a memory corruption vulnerability. Using CWE to declare the problem leads to CWE-119. Impacted is confidentiality, integrity, and availability.

The bug was discovered 09/15/2017. The weakness was presented 09/28/2017 by John Leitch as confirmed git commit (GIT Repository). The advisory is available at This vulnerability is handled as CVE-2017-12814 since 08/11/2017. The attack may be launched remotely. No form of authentication is required for exploitation. Technical details are known, but there is no available exploit.

The vulnerability was handled as a non-public zero-day exploit for at least 9 days. During that time the estimated underground price was around $0-$5k. The vulnerability scanner Nessus provides a plugin with the ID 103442 (FreeBSD : perl -- multiple vulnerabilities (d9e82328-a129-11e7-987e-4f174049b30a)), which helps to determine the existence of the flaw in a target environment. It is assigned to the family FreeBSD Local Security Checks and running in the context local.

Upgrading to version 5.24.3-RC1 or 5.26.1-RC1 eliminates this vulnerability. Applying a patch is able to eliminate this problem. The bugfix is ready for download at The best possible mitigation is suggested to be patching the affected component. A possible mitigation has been published before and not just after the disclosure of the vulnerability.

The vulnerability is also documented in the databases at SecurityFocus (BID 101051) and Tenable (103442).




CPE 2.3infoedit

CPE 2.2infoedit


VulDB Meta Base Score: 8.5
VulDB Meta Temp Score: 8.2

VulDB Base Score: 7.3
VulDB Temp Score: 7.0
VulDB Vector: 🔍
VulDB Reliability: 🔍

NVD Base Score: 9.8
NVD Vector: 🔍



VulDB Base Score: 🔍
VulDB Temp Score: 🔍
VulDB Reliability: 🔍

NVD Base Score: 🔍


Class: Memory corruption
CWE: CWE-119
ATT&CK: Unknown

Local: No
Remote: Yes

Availability: 🔍
Status: Not defined

Price Prediction: 🔍
Current Price Estimation: 🔍


Nessus ID: 103442
Nessus Name: FreeBSD : perl -- multiple vulnerabilities (d9e82328-a129-11e7-987e-4f174049b30a)
Nessus File: 🔍
Nessus Risk: 🔍
Nessus Family: 🔍
Nessus Context: 🔍

Threat Intelligenceinfoedit

Threat: 🔍
Adversaries: 🔍
Geopolitics: 🔍
Economy: 🔍
Predictions: 🔍
Remediation: 🔍


Recommended: Patch
Status: 🔍

0-Day Time: 🔍

Upgrade: Perl 5.24.3-RC1/5.26.1-RC1


08/11/2017 🔍
09/15/2017 +35 days 🔍
09/24/2017 +9 days 🔍
09/25/2017 +1 days 🔍
09/27/2017 +2 days 🔍
09/28/2017 +1 days 🔍
09/28/2017 +0 days 🔍
09/28/2017 +0 days 🔍
01/14/2021 +1204 days 🔍


Researcher: John Leitch
Status: Confirmed
Confirmation: 🔍

CVE: CVE-2017-12814 (🔍)
SecurityFocus: 101051 - Perl CVE-2017-12814 Stack Based Buffer Overflow Vulnerability


Created: 09/28/2017 11:11 AM
Updated: 01/14/2021 03:36 PM
Changes: (2) advisory_person_name vulnerability_cvss2_nvd_basescore
Complete: 🔍


No comments yet. Please log in to comment.

Are you interested in using VulDB?

Download the whitepaper to learn more about our service!