CVE-2010-1158: Integer Overflow

Published Apr 8, 2010
·
Updated

Bruce Merry reported: [1] http://bugs.gentoo.org/showbug.cgi?id=313565

an integer overflow, leading to stack overflow in the way Perl regular expression engine processed certain regular expression(s). Remote attacker could use this flaw to cause a denial of service (crash of an application, using the Perl regular expression engine).

Public PoC from [1]: -------------------- perl -e 'if ((("a " x 100000) . "a\n") =~ /\A\S+(?: \S+)\n\z/) {}'

Other sources

Integer overflow in the regular expression engine in Perl 5.8.x allows context-dependent attackers to cause a denial of service (stack consumption and application crash) by matching a crafted regular expression against a long string.

MITRE

Affected Software

9 affected components
Perl Perl=5.8.1
Perl Perl=5.8.2
Perl Perl=5.8.3
Perl Perl=5.8.4
Perl Perl=5.8.5
Perl Perl=5.8.6
Perl Perl=5.8.7
Perl Perl=5.8.8
Perl Perl=5.8.9

Event History

Apr 8, 2010
Data Sourced
via Red Hat·03:47 PM
DescriptionSeverityAffected Software
Apr 20, 2010
CVE Published
via MITRE·03:00 PM
Data Sourced
via MITRE·03:00 PM
Description
Data Sourced
via NVD·03:30 PM
DescriptionSeverityWeaknessAffected Software

Frequently Asked Questions

1

What is the severity of CVE-2010-1158?

The severity of CVE-2010-1158 is classified as high due to the potential for remote code execution.

2

How do I fix CVE-2010-1158?

To fix CVE-2010-1158, update Perl to a version later than 5.8.9, which addresses the integer overflow issue.

3

What versions of Perl are affected by CVE-2010-1158?

CVE-2010-1158 affects Perl versions 5.8.1 through 5.8.9.

4

Can CVE-2010-1158 lead to a system compromise?

Yes, CVE-2010-1158 can allow a remote attacker to execute arbitrary code, potentially leading to a system compromise.

5

Is CVE-2010-1158 a local or remote vulnerability?

CVE-2010-1158 is a remote vulnerability that can be exploited by attackers over the network.

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