CVE-2018-18314: Buffer Overflow
A flaw was found in Perl versions 5.18 through 5.28. A Heap-based buffer overflow
Upstream Patch: https://github.com/Perl/perl5/commit/19a498a461d7c81ae3507c450953d1148efecf4f
Other sources
Perl before 5.26.3 has a buffer overflow via a crafted regular expression that triggers invalid write operations.
— 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.3 - Upgrade
Upgrade
redhat/perlto a version that resolves this vulnerability.Fixed in 5.28.1 - Upgrade
Upgrade
debian/perlto a version that resolves this vulnerability.Fixed in 5.32.1-4+deb11u3Fixed in 5.32.1-4+deb11u4Fixed in 5.36.0-7+deb12u3Fixed in 5.36.0-7+deb12u2Fixed in 5.40.1-6Fixed in 5.40.1-7 - Upgrade
Upgrade
Perlto a version that resolves this vulnerability.Fixed in 5.26.3
Event History
Frequently Asked Questions
What is CVE-2018-18314?
CVE-2018-18314 is a vulnerability in Perl before version 5.26.3 that allows for a buffer overflow through a crafted regular expression.
How severe is CVE-2018-18314?
CVE-2018-18314 has a severity rating of 9.8 (Critical).
Which software versions are affected by CVE-2018-18314?
Perl versions up to and excluding 5.26.3 are affected.
How can I fix CVE-2018-18314?
To fix CVE-2018-18314, update Perl to version 5.26.3 or later.
Where can I find more information about CVE-2018-18314?
You can find more information about CVE-2018-18314 at the following references: [1] [2] [3].