CVE-2017-12883: Buffer Overflow

Published Sep 15, 2017
·
Updated

Buffer overflow in the SgrokbslashN 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 disclose sensitive information or cause a denial of service (application crash) via a crafted regular expression with an invalid '\N{U+...}' escape.

Other sources

For certain types of syntax error in a regular expression pattern, the error message could either contain the contents of a random, possibly large, chunk of memory, or could crash perl.

Upstream patch:

https://perl5.git.perl.org/perl.git/commitdiff/2be4edede4ae226e2eebd4eff28cedd2041f300f

Bug report :

https://rt.perl.org/Public/Bug/Display.html?id=131598

Red Hat

Affected Software

5 affected componentsFixes available
redhat/perl<5.24.3
5.24.3
redhat/perl<5.26.1
5.26.1
redhat/perl<5.27.4
5.27.4
Perl Perl<=5.24.2
Perl Perl=5.26.0

Event History

Sep 19, 2017
CVE Published
via MITRE·06:00 PM
Data Sourced
via MITRE·06:00 PM
Description

Frequently Asked Questions

1

What is the severity of CVE-2017-12883?

CVE-2017-12883 has a critical severity rating due to its ability to cause denial of service and potential information disclosure.

2

How do I fix CVE-2017-12883?

To fix CVE-2017-12883, upgrade Perl to version 5.24.3 or later, or to version 5.26.1 or later.

3

Which versions of Perl are affected by CVE-2017-12883?

Perl versions prior to 5.24.3-RC1 and 5.26.1-RC1 are affected by CVE-2017-12883.

4

Can CVE-2017-12883 be exploited remotely?

Yes, CVE-2017-12883 can be exploited remotely through crafted regular expressions containing invalid '\N{U+...}' escapes.

5

What types of issues can CVE-2017-12883 cause?

CVE-2017-12883 can lead to application crashes or disclosure of sensitive information.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203