CVE-2015-8853: Input Validation

Published Apr 21, 2016
·
Updated

A vulnerability was found in perl. The regex engine got into an infinite loop because of the malformation. It is trying to back-up over a sequence of UTF-8 continuation bytes. The character just before the sequence should be a start byte. If it's not, there is a malformation which results in "hang" of regexp matching and CPU exhaustion.

External references:

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

Upstream fix:

http://perl5.git.perl.org/perl.git/commitdiff/22b433eff9a1ffa2454e18405a56650f07b385b5

Other sources

The (1) Sreghop3, (2) Sreghop4, and (3) Sreghopmaybe3 functions in regexec.c in Perl before 5.24.0 allow context-dependent attackers to cause a denial of service (infinite loop) via crafted utf-8 data, as demonstrated by "a\x80."

Launchpad

Affected Software

4 affected componentsFixes available
redhat/perl<5.22.1
5.22.1
Fedoraproject Fedora=22
Perl Perl<=5.23.9
debian/perl
5.32.1-4+deb11u35.32.1-4+deb11u55.36.0-7+deb12u35.36.0-7+deb12u25.40.1-65.40.1-8

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade redhat/perl to a version that resolves this vulnerability.

    Fixed in 5.22.1
  2. Upgrade

    Upgrade debian/perl to a version that resolves this vulnerability.

    Fixed in 5.32.1-4+deb11u3Fixed in 5.32.1-4+deb11u5Fixed in 5.36.0-7+deb12u3Fixed in 5.36.0-7+deb12u2Fixed in 5.40.1-6Fixed in 5.40.1-8
  3. Upgrade

    Upgrade perl to a version that resolves this vulnerability.

    Fixed in 5.24.0Patch 22b433eff9a1ffa2454e18405a56650f07b385b5
  4. Compensating control

    Mitigate the denial-of-service risk by throttling or rate-limiting requests that include crafted UTF-8 input affecting Perl regexp matching, since the vulnerability can cause an infinite loop/CPU exhaustion when processing malformed UTF-8 continuation-byte sequences like "a\x80".

Event History

May 25, 2016
CVE Published
via MITRE·03:00 PM
Data Sourced
via MITRE·03:00 PM
Description
Data Sourced
via NVD·03:59 PM
DescriptionSeverityWeaknessAffected Software
Jan 11, 2024
Data Sourced
via Launchpad·10:13 PM
Description
Feb 20, 2026
Data Sourced
via Ubuntu·12:14 AM
RemedyDescriptionSeverityAffected Software
Jul 3, 2026
Data Sourced
via Debian·02:45 AM
DescriptionAffected Software

Frequently Asked Questions

1

What is CVE-2015-8853?

CVE-2015-8853 is a vulnerability in Perl before version 5.24.0 that allows context-dependent attackers to cause a denial of service by triggering an infinite loop with crafted UTF-8 data.

2

Who is affected by CVE-2015-8853?

The vulnerability affects Perl versions before 5.24.0.

3

What is the severity of CVE-2015-8853?

CVE-2015-8853 has a severity rating of 7.5 (High).

4

How do I fix CVE-2015-8853 on Ubuntu?

To fix CVE-2015-8853 on Ubuntu, upgrade the 'perl' package to version 5.18.2-2ubuntu1.4 or later.

5

Where can I find more information about CVE-2015-8853?

You can find more information about CVE-2015-8853 at the following references: 1. CVE-2015-8853 on MITRE: https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2015-8853 2. OSS Security mailing list post: http://www.openwall.com/lists/oss-security/2016/04/20/5 3. Ubuntu Security Notice: https://ubuntu.com/security/notices/USN-3625-1

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