CVE-2018-18312Improper Restriction of Operations within the Bounds of a Memory Buffer in Perl

Severity
9.8CRITICALNVD
EPSS
10.8%
top 6.61%
CISA KEV
Not in KEV
Exploit
No known exploits
Timeline
PublishedDec 5
Latest updateMay 13

Description

Perl before 5.26.3 and 5.28.0 before 5.28.1 has a buffer overflow via a crafted regular expression that triggers invalid write operations.

CVSS vector

CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HExploitability: 3.9 | Impact: 5.9

Affected Packages4 packages

NVDperl/perl5.28.05.28.1+1
Debianperl/perl< 5.28.1-1+3
Ubuntuperl/perl< 5.18.2-2ubuntu1.7+2

Also affects: Debian Linux 9.0, Ubuntu Linux 14.04, 16.04, 18.04, 18.10, Enterprise Linux 6.0, 7.0, 7.4, 7.5, 7.6

Patches

🔴Vulnerability Details

4
GHSA
GHSA-qj2w-cj4c-5f2g: Perl before 52022-05-13
CVEList
CVE-2018-18312: Perl before 52018-12-05
OSV
CVE-2018-18312: Perl before 52018-12-05
OSV
perl vulnerabilities2018-12-03

📋Vendor Advisories

3
Ubuntu
Perl vulnerabilities2018-12-03
Red Hat
perl: Heap-based buffer overflow in S_handle_regex_sets()2018-11-29
Debian
CVE-2018-18312: perl - Perl before 5.26.3 and 5.28.0 before 5.28.1 has a buffer overflow via a crafted ...2018

💬Community

3
HackerOne
[CVE-2018-18312] regcomp: heap-buffer-overflow write / reg_node overrun2019-09-25
Bugzilla
CVE-2018-18312 perl: Heap-based buffer overflow in S_handle_regex_sets() [fedora-all]2018-11-30
Bugzilla
CVE-2018-18312 perl: Heap-based buffer overflow in S_handle_regex_sets()2018-11-05
CVE-2018-18312 — Perl vulnerability | cvebase