CVE-2018-18311 in Apple Mac Os X and 17 more products
Perl before 5.26.3 and 5.28.x before 5.28.1 has a buffer overflow via a crafted regular expression that triggers invalid write operations.
Affects 18 products from 8 vendors. Facts below cite their sources.
Remotely exploitable over the network, low complexity, no authentication required, no user interaction needed, impact contained to the vulnerable component, full confidentiality impact, full integrity impact, full availability impact.
Affected products and versions
| Vendor | Product | Affected versions |
|---|---|---|
| Apple | Mac Os X | < 10.14.4 |
| Canonical | Ubuntu Linux | 12.04 14.04 16.04 18.04 18.10 |
| Debian | Debian Linux | 8.0 9.0 |
| Fedoraproject | Fedora | 29 |
| Mcafee | Web Gateway | ≥ 7.7.2, < 7.7.2.21 ≥ 7.8.2, < 7.8.2.8 ≥ 8.0.0, < 8.1.1 |
| Netapp | Snapdriver | No version listed by the source |
| Netapp | Snapcenter | No version listed by the source |
| Netapp | Snap Creator Framework | No version listed by the source |
| Netapp | E-Series Santricity Os Controller | No version listed by the source |
| Perl | Perl | < 5.26.3 ≥ 5.28.0, < 5.28.1 |
| Redhat | Enterprise Linux Eus | 7.6 |
| Redhat | Enterprise Linux | 6.0 7.0 7.4 7.5 7.6 |
| Redhat | Enterprise Linux Workstation | 7.0 |
| Redhat | Enterprise Linux Server | 7.0 |
| Redhat | Enterprise Linux Server Aus | 7.6 |
| Redhat | Enterprise Linux Server Tus | 7.6 |
| Redhat | Enterprise Linux Desktop | 7.0 |
| Redhat | Openshift Container Platform | 3.11 |
A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.
Fix and vendor advisory
No official vendor advisory link on record. See the CVE record.
Exploitation
| CISA known-exploited | Not in the CISA KEV catalog |
|---|---|
| Public exploit | Not confirmed |
Official description
Perl before 5.26.3 and 5.28.x before 5.28.1 has a buffer overflow via a crafted regular expression that triggers invalid write operations.
Source: NIST NVD / MITRE CVE.
Record details
| CVE ID | CVE-2018-18311 |
|---|---|
| BreachSpider ID | BS-2018-GLOBAL-216079-C |
| CVSS vector | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| Published | 2018-12-07 |
| Last modified | 2026-06-17 |
| Weakness (CWE) | |
| Source | NVD |
Weakness definitions
CWE-190: Integer Overflow or Wraparound
Arithmetic operation exceeds the maximum integer value, wrapping around and often leading to undersized allocations.
CWE-787: Out-of-Bounds Write
Software writes data past buffer boundaries, corrupting memory and potentially enabling code execution.
Related attack patterns (CAPEC)
CAPEC-92 Forced Integer Overflow via CWE-190
Mapping is CWE to CAPEC per MITRE CAPEC 3.9.
Analysis AI-written, not human-reviewed
This vulnerability was disclosed in 2018. A critical vulnerability affects Apple systems (CVE-2018-18311). No public exploit code is currently available. Isolate affected systems if patching is not feasible.
Vulnerability details: Perl before 5.26.3 and 5.28.x 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:H.
Questions
What is CVE-2018-18311?
This vulnerability was disclosed in 2018. A critical vulnerability affects Apple systems (CVE-2018-18311). No public exploit code is currently available. Isolate affected systems if patching is not feasible.
What is the CVSS score for CVE-2018-18311?
CVE-2018-18311 has CVSS 9.8 (Critical). Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H. EPSS: 11.7%.
Is CVE-2018-18311 actively exploited?
No confirmed active exploitation of CVE-2018-18311 as of 2026-09-25.
How do I remediate CVE-2018-18311?
Priority: MEDIUM.
What systems are affected by CVE-2018-18311?
CVE-2018-18311 affects Apple Mac Os X; Canonical Ubuntu Linux; Debian Debian Linux; Fedoraproject Fedora; Mcafee Web Gateway; Netapp Snapdriver, Snapcenter, Snap Creator Framework, E-Series Santricity Os Controller; Perl Perl (plus 8 more products across 1 more vendor).
For developers and AI agents
Run this check from your own code or agent
REST API
curl -s https://breachspider.com/api/v1/assets/correlate-cves \
-H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
-H "Content-Type: application/json" \
-d '{"assets":[{"asset_id":"dev-1","vendor":"Apple","product":"Mac Os X","version":"1.0"}]}'
MCP for AI agents
# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp
Free trial: 14 days, 750 device checks, no card.
Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-06-17.