CVE Catalog

CVE-2017-12837

High
Published: Translated: NVD NIST

Summary

In Perl 5 before version 5.24.3-RC1 and 5.26.x before 5.26.1-RC1, a heap-based buffer overflow vulnerability was discovered in the S_regatom function in regcomp.c. An attacker can remotely cause a denial of service (DoS) by sending a regular expression containing the '\N{}' escape sequence with the case-insensitive modifier.

Risk Assessment

The risk involves the possibility of remote code execution or application disruption when using a vulnerable Perl version to process regular expressions from untrusted sources.

Recommendation

Immediately update Perl to version 5.24.3-RC1, 5.26.1-RC1, or later. If an update is not possible, restrict processing of untrusted regular expressions with the '\N{}' sequence and the 'i' modifier.

Related vulnerabilities

Original NVD description (English source)

Heap-based buffer overflow in the S_regatom function in regcomp.c in Perl 5 before 5.24.3-RC1 and 5.26.x before 5.26.1-RC1 allows remote attackers to cause a denial of service (out-of-bounds write) via a regular expression with a '\N{}' escape and the case-insensitive modifier.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS