CVE-2018-6798: High severity Debian Debian Linux vulnerability

Published Feb 21, 2018
·
Updated

A flaw was found in Perl 5. A heap read overflow in regexec.c file may allow an attacker to cause a segmentation fault which might lead to a Denial of Service (DoS) or, possibly, heap memory disclosure.

Matching a crafted locale dependent regular expression can cause a heap buffer read overflow and potentially information disclosure while reporting an error message. That error message includes bytes beyond the end of the string, and possibly beyond the end of the buffer, providing a potential information disclosure if the memory had contained any sensitive information.

Other sources

An issue was discovered in Perl 5.22 through 5.26. Matching a crafted locale dependent regular expression can cause a heap-based buffer over-read and potentially information disclosure.

Launchpad

Affected Software

17 affected componentsFixes available
redhat/perl<5.26.2
5.26.2
redhat/perl<5.24.4
5.24.4
Debian Debian Linux=7.0
Debian Debian Linux=8.0
Debian Debian Linux=9.0
Perl Perl>=5.22<=5.26
Canonical Ubuntu Linux=14.04
Canonical Ubuntu Linux=16.04
Canonical Ubuntu Linux=17.10
redhat Enterprise Linux Server=6.0
redhat Enterprise Linux Server=7.0
redhat Enterprise Linux Server=7.3
redhat Enterprise Linux Server=7.4
redhat Enterprise Linux Server=7.5
redhat Enterprise Linux Workstation=6.0
redhat Enterprise Linux Workstation=7.0
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.26.2
  2. Upgrade

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

    Fixed in 5.24.4
  3. 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

Event History

Apr 17, 2018
CVE Published
via MITRE·08:00 PM
Data Sourced
via MITRE·08:00 PM
Description
Data Sourced
via NVD·08:29 PM
DescriptionSeverityWeaknessAffected Software
Jan 11, 2024
Data Sourced
via Launchpad·11:09 PM
Description
Feb 19, 2026
Data Sourced
via Ubuntu·12:13 AM
RemedyDescriptionSeverityAffected Software
Jul 3, 2026
Data Sourced
via Debian·02:45 AM
DescriptionAffected Software

Frequently Asked Questions

1

What is CVE-2018-6798?

CVE-2018-6798 is a vulnerability in Perl versions 5.22 through 5.26 that can cause a heap-based buffer over-read and potentially information disclosure.

2

How severe is CVE-2018-6798?

CVE-2018-6798 has a severity rating of 7.5 (high).

3

Which software versions are affected by CVE-2018-6798?

Perl versions 5.22 through 5.26 are affected by CVE-2018-6798.

4

What is the remedy for CVE-2018-6798 in Ubuntu?

For Ubuntu, the remedy for CVE-2018-6798 is to update the 'perl' package to version 5.22.1-9ubuntu0.3 or 5.26.0-8ubuntu1.1 depending on the Ubuntu version.

5

Where can I find more information about CVE-2018-6798?

More information about CVE-2018-6798 can be found at the following references: [CVE-2018-6798](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2018-6798), [Ubuntu Security Notice USN-3625-1](https://ubuntu.com/security/notices/USN-3625-1), [NVD CVE-2018-6798](https://nvd.nist.gov/vuln/detail/CVE-2018-6798).

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