CVE-2018-18314

Exp

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

Published: 2018-12-07 Last update: 2024-11-21 Assigner: [email protected] Source: [email protected]

Conclusion & alert: CVE-2018-18314 is rated High Exploit Risk (87.3/100): CVSS Critical severity, with medium exploitation likelihood (EPSS 5.21%). Core evidence: 1 public exploit reference(s) are indexed (Exploit-DB). EPSS rose +1.77% over the last day, indicating growing attacker interest. Mandatory action: Public exploits are available—assess exposure, apply mitigations, and prioritize patching.

Risk is dynamic; we continuously reassess and refresh what is shown on this page as upstream context changes.

Public exploit references (Exploit-DB) for CVE-2018-18314

EDB-ID Source Kind Published Link
nvd_ref exploit_tag Exploit-DB ↗

Exploit prediction scoring system (EPSS) score for CVE-2018-18314

EPSS lead: Daily EPSS estimates relative likelihood of exploitation; percentile ranks this CVE among scored vulnerabilities (higher = more severe relative rank).

# Date Old EPSS score New EPSS score Delta (New - Old)
1 2025-12-28 3.44% 5.21% +1.77%
2 2025-12-27 5.21% 3.44% -1.77%
3 2025-12-10 5.21%

Full EPSS history (21 records total)

Common vulnerability scoring system (CVSS) metrics for CVE-2018-18314

CVSS metrics for this CVE.

Base score Version Severity Vector Exploitability Impact Score source
9.8 3.0 CRITICAL
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H Click to expand
Attack vector (AV:N)
Could be attacked over the internet or any normal routed network—not just someone sitting at the machine.
Attack complexity (AC:L)
Once they can reach the bug, pulling it off is straightforward—no weird race conditions or rare setup.
Privileges required (PR:N)
No account or special rights needed—anonymous or random user is enough.
User interaction (UI:N)
Nobody has to click “OK” or open a trap file; it can work without a victim helping.
Scope (S:U)
Damage stays in the same “trust bubble” as the broken component—no big spill into unrelated systems.
Confidentiality (C:H)
Serious risk that confidential data gets exposed in a big way.
Integrity (I:H)
They could widely tamper with or forge data—trust in the data is badly hurt.
Availability (A:H)
Could take the service down hard or make it unusable for people who depend on it.
3.9 5.9 [email protected]
7.5 2.0 HIGH
AV:N/AC:L/Au:N/C:P/I:P/A:P Click to expand
Access vector (AV:N)
Can be exploited remotely over network reachability.
Access complexity (AC:L)
Exploitation conditions are straightforward and predictable.
Authentication (AU:N)
No authentication is required.
Confidentiality impact (C:P)
Partial confidentiality impact.
Integrity impact (I:P)
Partial integrity impact.
Availability impact (A:P)
Partial availability impact.
10.0 6.4 [email protected]

Weakness enumeration for CVE-2018-18314

OS Trackers for CVE-2018-18314

vendor priority summary link
alpine critical CVE-2018-18314: 1 source package rows (perl); 25 state rows across 10 repos (3.10-main, 3.11-main, 3.12-main, 3.17-main, 3.18-main, 3.19-main, 3.20-main, 3.21-main, 3.22-main, edge-main); fixed 10, open 15. https://security.alpinelinux.org/vuln/CVE-2018-18314
debian not yet assigned CVE-2018-18314 not yet assigned priority: Debian including 1 source packages (perl), 5 status rows across 5 suites (bookworm, bullseye, forky, sid, trixie): resolved 5. https://security-tracker.debian.org/tracker/CVE-2018-18314
gentoo normal CVE-2018-18314: 1 GLSA(s) (201909-01), 1 atom(s) (dev-lang/perl); latest impact normal. https://bugs.gentoo.org/buglist.cgi?quicksearch=CVE-2018-18314
redhat medium https://access.redhat.com/security/cve/CVE-2018-18314
suse low CVE-2018-18314 severity low: SUSE including 336 source package names (0.1.0:perl-base-5.26.1-7.6.1, 0.1.75:perl-base-5.26.1-7.6.1, …), 469 product×package rows across 117 product lines (Container caasp/v4/389-ds, Container caasp/v4/busybox, … (117 product lines)): Fixed 211, Known Affected 157, Known Not Affected 101. https://www.suse.com/security/cve/CVE-2018-18314/
ubuntu medium CVE-2018-18314 medium priority: Ubuntu including 1 source packages (perl), 5 status rows across 5 suites (bionic, cosmic, trusty, upstream, xenial): released 4, not-affected 1. https://ubuntu.com/security/CVE-2018-18314

Affected software / configurations for CVE-2018-18314

Vendor Product Version Raw CPE
perl perl < 5.26.3 cpe:2.3:a:perl:perl:*:*:*:*:*:*:*:*
canonical ubuntu_linux 14.04 cpe:2.3:o:canonical:ubuntu_linux:14.04:*:*:*:lts:*:*:*
canonical ubuntu_linux 16.04 cpe:2.3:o:canonical:ubuntu_linux:16.04:*:*:*:lts:*:*:*
canonical ubuntu_linux 18.04 cpe:2.3:o:canonical:ubuntu_linux:18.04:*:*:*:lts:*:*:*
canonical ubuntu_linux 18.10 cpe:2.3:o:canonical:ubuntu_linux:18.10:*:*:*:*:*:*:*
debian debian_linux 9.0 cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:*
netapp e-series_santricity_os_controller >= 11.0, <= 11.40 cpe:2.3:a:netapp:e-series_santricity_os_controller:*:*:*:*:*:*:*:*
netapp snap_creator_framework cpe:2.3:a:netapp:snap_creator_framework:-:*:*:*:*:*:*:*
netapp snapcenter cpe:2.3:a:netapp:snapcenter:-:*:*:*:*:*:*:*
netapp snapdrive cpe:2.3:a:netapp:snapdrive:-:*:*:*:*:unix:*:*
redhat enterprise_linux 6.0 cpe:2.3:o:redhat:enterprise_linux:6.0:*:*:*:*:*:*:*
redhat enterprise_linux 7.0 cpe:2.3:o:redhat:enterprise_linux:7.0:*:*:*:*:*:*:*
redhat enterprise_linux 7.4 cpe:2.3:o:redhat:enterprise_linux:7.4:*:*:*:*:*:*:*
redhat enterprise_linux 7.5 cpe:2.3:o:redhat:enterprise_linux:7.5:*:*:*:*:*:*:*
redhat enterprise_linux 7.6 cpe:2.3:o:redhat:enterprise_linux:7.6:*:*:*:*:*:*:*

References for CVE-2018-18314

URL Tags
http://www.securityfocus.com/bid/106145 Third Party Advisory VDB Entry
http://www.securitytracker.com/id/1042181 Third Party Advisory VDB Entry
https://access.redhat.com/errata/RHSA-2019:0001 Third Party Advisory
https://access.redhat.com/errata/RHSA-2019:0010 Third Party Advisory
https://bugzilla.redhat.com/show_bug.cgi?id=1646751 Issue Tracking Patch Third Party Advisory
https://github.com/Perl/perl5/commit/19a498a461d7c81ae3507c450953d1148efecf4f Patch Third Party Advisory
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/RWQGEB543QN7SSBRKYJM6PSOC3RLYGSM/
https://metacpan.org/changes/release/SHAY/perl-5.26.3 Third Party Advisory
https://rt.perl.org/Ticket/Display.html?id=131649 Exploit Patch Third Party Advisory
https://security.gentoo.org/glsa/201909-01
https://security.netapp.com/advisory/ntap-20190221-0003/ Patch Third Party Advisory
https://usn.ubuntu.com/3834-1/ Third Party Advisory
https://www.debian.org/security/2018/dsa-4347 Third Party Advisory
https://www.oracle.com/security-alerts/cpujul2020.html
cvelogic Threat Intelligence