CVE-2018-6798: High severity Debian Debian Linux vulnerability
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
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
redhat/perlto a version that resolves this vulnerability.Fixed in 5.26.2 - Upgrade
Upgrade
redhat/perlto a version that resolves this vulnerability.Fixed in 5.24.4 - Upgrade
Upgrade
debian/perlto 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
Frequently Asked Questions
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.
How severe is CVE-2018-6798?
CVE-2018-6798 has a severity rating of 7.5 (high).
Which software versions are affected by CVE-2018-6798?
Perl versions 5.22 through 5.26 are affected by CVE-2018-6798.
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.
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).