CWE
189 190
Advisory Published
CVE Published
Updated

CVE-2010-1158: Integer Overflow

First published: Thu Apr 08 2010(Updated: )

Bruce Merry reported: [1] <a href="http://bugs.gentoo.org/show_bug.cgi?id=313565">http://bugs.gentoo.org/show_bug.cgi?id=313565</a> 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/) {}'

Credit: secalert@redhat.com

Affected SoftwareAffected VersionHow to fix
Perl 5.30.0=5.8.1
Perl 5.30.0=5.8.2
Perl 5.30.0=5.8.3
Perl 5.30.0=5.8.4
Perl 5.30.0=5.8.5
Perl 5.30.0=5.8.6
Perl 5.30.0=5.8.7
Perl 5.30.0=5.8.8
Perl 5.30.0=5.8.9

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Frequently Asked Questions

  • 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.

  • 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.

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

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

  • 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.

  • 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.
© 2025 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203