CVE-2018-18312
published 2018-12-05CVE-2018-18312: 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.
PriorityP352critical9.8CVSS 3.0
AVNACLPRNUINSUCHIHAH
EPSS
12.09%
95.7th percentile
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.
Affected
21 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| canonical | ubuntu_linux | — | — |
| canonical | ubuntu_linux | — | — |
| canonical | ubuntu_linux | — | — |
| canonical | ubuntu_linux | — | — |
| debian | debian_linux | — | — |
| debian | perl | < perl 5.28.1-1 (bookworm) | perl 5.28.1-1 (bookworm) |
| netapp | e-series_santricity_os_controller | 11.0 – 11.40 | — |
| perl | perl | < 5.26.3 | 5.26.3 |
| perl | perl | >= 0 < 5.28.1-1 | 5.28.1-1 |
| perl | perl | >= 0 < 5.28.1-1 | 5.28.1-1 |
| perl | perl | >= 0 < 5.28.1-1 | 5.28.1-1 |
| perl | perl | >= 0 < 5.28.1-1 | 5.28.1-1 |
| perl | perl | >= 0 < 5.18.2-2ubuntu1.7 | 5.18.2-2ubuntu1.7 |
| perl | perl | >= 0 < 5.22.1-9ubuntu0.6 | 5.22.1-9ubuntu0.6 |
| perl | perl | >= 0 < 5.26.1-6ubuntu0.3 | 5.26.1-6ubuntu0.3 |
| perl | perl | >= 5.28.0 < 5.28.1 | 5.28.1 |
| redhat | enterprise_linux | — | — |
| redhat | enterprise_linux | — | — |
| redhat | enterprise_linux | — | — |
| redhat | enterprise_linux | — | — |
| redhat | enterprise_linux | — | — |
CVSS provenance
nvdv3.09.8CRITICALCVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
nvdv2.07.5HIGHAV:N/AC:L/Au:N/C:P/I:P/A:P
osv9.8CRITICAL
vendor_debian9.8CRITICAL
vendor_redhat9.8CRITICAL
vendor_ubuntu9.8CRITICAL
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
Ubuntu
Perl vulnerabilities
vendor_ubuntu·2018-12-03·CVSS 9.8
CVE-2018-18311 [CRITICAL] Perl vulnerabilities
Title: Perl vulnerabilities
Summary: Several security issues were fixed in Perl.
Jayakrishna Menon discovered that Perl incorrectly handled Perl_my_setenv.
An attacker could use this issue to cause Perl to crash, resulting in a
denial of service, or possibly execute arbitrary code. (CVE-2018-18311)
Eiichi Tsukata discovered that Perl incorrectly handled certain regular
expressions. An attacker could use this issue to cause Perl to crash,
resulting in a denial of service, or possibly execute arbitrary code. This
issue only affected Ubuntu 16.04 LTS, Ubuntu 18.04 LTS, and Ubuntu 18.10.
(CVE-2018-18312)
Eiichi Tsukata discovered that Perl incorrectly handled certain regular
expressions. An attacker could use this issue to cause Perl to crash,
resulting in a denial of service. (CVE-2018-18
Red Hat
perl: Heap-based buffer overflow in S_handle_regex_sets()
vendor_redhat·2018-11-29·CVSS 9.8
CVE-2018-18312 [CRITICAL] CWE-22 perl: Heap-based buffer overflow in S_handle_regex_sets()
perl: Heap-based buffer overflow in S_handle_regex_sets()
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.
Package: perl (Red Hat Enterprise Linux 5) - Not affected
Package: perl (Red Hat Enterprise Linux 6) - Not affected
Package: perl (Red Hat Enterprise Linux 7) - Not affected
Package: perl (Red Hat Enterprise Linux 8) - Not affected
Package: perl:5.24/perl (Red Hat Enterprise Linux 8) - Not affected
Package: perl (Red Hat OpenShift Enterprise 3) - Not affected
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 ...
vendor_debian·2018·CVSS 9.8
CVE-2018-18312 [CRITICAL] CVE-2018-18312: perl - Perl before 5.26.3 and 5.28.0 before 5.28.1 has a buffer overflow via a crafted ...
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.
Scope: local
bookworm: resolved (fixed in 5.28.1-1)
bullseye: resolved (fixed in 5.28.1-1)
forky: resolved (fixed in 5.28.1-1)
sid: resolved (fixed in 5.28.1-1)
trixie: resolved (fixed in 5.28.1-1)
GHSA
GHSA-qj2w-cj4c-5f2g: Perl before 5
ghsa_unreviewed·2022-05-13
CVE-2018-18312 [CRITICAL] CWE-119 GHSA-qj2w-cj4c-5f2g: Perl before 5
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.
OSV
CVE-2018-18312: Perl before 5
osv·2018-12-05·CVSS 9.8
CVE-2018-18312 [CRITICAL] CVE-2018-18312: Perl before 5
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.
OSV
perl vulnerabilities
osv·2018-12-03·CVSS 9.8
CVE-2018-18311 [CRITICAL] perl vulnerabilities
perl vulnerabilities
Jayakrishna Menon discovered that Perl incorrectly handled Perl_my_setenv.
An attacker could use this issue to cause Perl to crash, resulting in a
denial of service, or possibly execute arbitrary code. (CVE-2018-18311)
Eiichi Tsukata discovered that Perl incorrectly handled certain regular
expressions. An attacker could use this issue to cause Perl to crash,
resulting in a denial of service, or possibly execute arbitrary code. This
issue only affected Ubuntu 16.04 LTS, Ubuntu 18.04 LTS, and Ubuntu 18.10.
(CVE-2018-18312)
Eiichi Tsukata discovered that Perl incorrectly handled certain regular
expressions. An attacker could use this issue to cause Perl to crash,
resulting in a denial of service. (CVE-2018-18313)
Jakub Wilk discovered that Perl incorrectly handled cer
No detection rules found.
No public exploits indexed.
HackerOne
[CVE-2018-18312] regcomp: heap-buffer-overflow write / reg_node overrun
hackerone·2019-09-25·CVSS 9.8
CVE-2018-18312 [CRITICAL] [CVE-2018-18312] regcomp: heap-buffer-overflow write / reg_node overrun
[CVE-2018-18312] regcomp: heap-buffer-overflow write / reg_node overrun
See: https://rt.perl.org/Public/Bug/Display.html?id=133423
CVE ID: CVE-2018-18312
## Impact
Potential RCE
Bugzilla
CVE-2018-18312 perl: Heap-based buffer overflow in S_handle_regex_sets() [fedora-all]
bugzilla·2018-11-30·CVSS 9.8
CVE-2018-18312 [CRITICAL] CVE-2018-18312 perl: Heap-based buffer overflow in S_handle_regex_sets() [fedora-all]
CVE-2018-18312 perl: Heap-based buffer overflow in S_handle_regex_sets() [fedora-all]
This is an automatically created tracking bug! It was created to ensure
that one or more security vulnerabilities are fixed in affected versions
of fedora-all.
For comments that are specific to the vulnerability please use bugs filed
against the "Security Response" product referenced in the "Blocks" field.
For more information see:
http://fedoraproject.org/wiki/Security/TrackingBugs
When submitting as an update, use the fedpkg template provided in the next
comment(s). This will include the bug IDs of this tracking bug as well as
the relevant top-level CVE bugs.
Please also mention the CVE IDs being fixed in the RPM changelog and the
fedpkg commit message.
NOTE: this issue affects multiple supported
Bugzilla
CVE-2018-18312 perl: Heap-based buffer overflow in S_handle_regex_sets()
bugzilla·2018-11-05·CVSS 9.8
CVE-2018-18312 [CRITICAL] CVE-2018-18312 perl: Heap-based buffer overflow in S_handle_regex_sets()
CVE-2018-18312 perl: Heap-based buffer overflow in S_handle_regex_sets()
A flaw was found in Perl versions 5.18 through 5.26. A Heap-buffer-overflow write / reg_node overrun
Discussion:
Upstream ticket:
https://rt.perl.org/Public/Bug/Display.html?id=133423
---
Acknowledgments:
Name: the Perl project
Upstream: Eiichi Tsukata
---
Created perl tracking bugs for this issue:
Affects: fedora-all [bug 1654919]
---
Upstream commit:
https://github.com/Perl/perl5/commit/4db502b8711307951dfadc62a8f2c2eda922ca22
---
This issue has been addressed in the following products:
Red Hat Software Collections for Red Hat Enterprise Linux 7
Red Hat Software Collections for Red Hat Enterprise Linux 7.4 EUS
Red Hat Software Collections for Red Hat Enterprise Linux 7.5 EUS
Red Hat Software Collecti
http://www.securityfocus.com/bid/106179http://www.securitytracker.com/id/1042181https://access.redhat.com/errata/RHSA-2019:0001https://access.redhat.com/errata/RHSA-2019:0010https://bugzilla.redhat.com/show_bug.cgi?id=1646734https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/RWQGEB543QN7SSBRKYJM6PSOC3RLYGSM/https://metacpan.org/changes/release/SHAY/perl-5.26.3https://metacpan.org/changes/release/SHAY/perl-5.28.1https://rt.perl.org/Public/Bug/Display.html?id=133423https://security.gentoo.org/glsa/201909-01https://security.netapp.com/advisory/ntap-20190221-0003/https://usn.ubuntu.com/3834-1/https://www.debian.org/security/2018/dsa-4347https://www.oracle.com/security-alerts/cpujul2020.htmlhttp://www.securityfocus.com/bid/106179http://www.securitytracker.com/id/1042181https://access.redhat.com/errata/RHSA-2019:0001https://access.redhat.com/errata/RHSA-2019:0010https://bugzilla.redhat.com/show_bug.cgi?id=1646734https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/RWQGEB543QN7SSBRKYJM6PSOC3RLYGSM/https://metacpan.org/changes/release/SHAY/perl-5.26.3https://metacpan.org/changes/release/SHAY/perl-5.28.1https://rt.perl.org/Public/Bug/Display.html?id=133423https://security.gentoo.org/glsa/201909-01https://security.netapp.com/advisory/ntap-20190221-0003/https://usn.ubuntu.com/3834-1/https://www.debian.org/security/2018/dsa-4347https://www.oracle.com/security-alerts/cpujul2020.html
2018-12-05
Published