CVE-2018-18311: apple mac_os_x Integer Overflow or Wraparound
Vulnerability summary
CVE-2018-18311 is a critical (CVSS 9.8) Integer Overflow or Wraparound vulnerability in apple mac_os_x. EPSS estimates a 11.68% chance of exploitation in the next 30 days, higher than 96% of scored vulnerabilities.
Severe, CVSS 9.8 (NVD); no exploitation reported by the 5 checked sources; EPSS 12% (FIRST, 03-11-2026)
Source freshness unavailable
How is this decided?Advisory lineage
Upstream 0 · Downstream 7 · Related 3Timeline
- 07-12-2018PublishedVulnerability first disclosed.
- 05-08-2024Last modifiedVulnerability information updated.
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.
CVSS metrics
6 scores · 5 sources · 2 versions- OSV · AlpineEcosystem advisory · calculated9.8CriticalCVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- OSV · Red hatEcosystem advisory · calculated8.1HighCVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:HDiffers
- OSV · UbuntuEcosystem advisory · calculated9.8CriticalCVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- OSV · DebianEcosystem advisory · calculated9.8CriticalCVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS trend
Probability
11.68%
Chance of exploitation in the next 30 days
Percentile
96%
Versus all other CVEs
30-day change
No change 0.00 pp
From 11.68% on 04-10-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root cause- CWE-190Integer Overflow or WraparoundThe product performs a calculation that can produce an integer overflow or wraparound when the logic assumes that the resulting value will always be larger than the original value. This occurs when an integer value is incremented to a value that is too large to store in the associated representation. When this occurs, the value may become a very small or negative number.
- CWE-787Out-of-bounds WriteThe product writes data past the end, or before the beginning, of the intended buffer.
Affected systems
Known conditions: network-reachable, no authentication, no user interaction (CVSS vector). Other conditions: not stated in public data.
Redhat28 products
- enterprise_linuxEOL6.0 | 7.0 | 7.4 | 7.5 | 7.6
- enterprise_linux_desktop7.0
- enterprise_linux_eus7.6
- enterprise_linux_server7.0
- enterprise_linux_server_aus7.6
Suse17 products
- perl&distro=HPE Helion OpenStack 8< 5.18.2-12.20.1
- perl&distro=SUSE Enterprise Storage 4< 5.18.2-12.20.1
- perl&distro=SUSE Enterprise Storage 5< 5.18.2-12.20.1
- perl&distro=SUSE Linux Enterprise Desktop 12 SP4< 5.18.2-12.20.1
- perl&distro=SUSE Linux Enterprise Server 12 SP1-LTSS< 5.18.2-12.20.1
Netapp4 products
Debian2 products
- perl< 5.20.2-3+deb8u12 | < 5.28.1-1
- debian_linuxEOL8.0 | 9.0
Alpine1 product
- perl≥ 5.28.0, < 5.26.3-r0 | ≥ 5.28.0, < 5.24.4-r2
Apple1 product
- mac_os_x< 10.14.4
Canonical1 product
- ubuntu_linuxEOL12.04 | 14.04 | 16.04 | 18.04 | 18.10
Fedoraproject1 product
- fedoraEOL29
Mcafee1 product
- web_gateway≥ 7.7.2, < 7.7.2.21 | ≥ 7.8.2, < 7.8.2.8 | ≥ 8.0.0, < 8.1.1
Perl1 product
- perl< 5.26.3 | ≥ 5.28.0, < 5.28.1
Ubuntu1 product
- perl< 5.18.2-2ubuntu1.7 | < 5.22.1-9ubuntu0.6 | < 5.26.1-6ubuntu0.3
11 vendors · 58 products
References
44 links- lists.debian.org/debian-lts-announce/2018/11/msg00039.htmlMailing ListX Refsource MLISTThird Party Advisory
- access.redhat.com/errata/RHSA-2019:0109Vendor AdvisoryX Refsource REDHATThird Party AdvisoryAdvisory
Show all 44 references
- www.oracle.com/security-alerts/cpuapr2020.htmlX Refsource MISC
- www.oracle.com/security-alerts/cpujul2020.htmlX Refsource MISC
- bugzilla.redhat.com/show_bug.cgi?id=1646730X Refsource CONFIRMIssue TrackingPatchThird Party AdvisoryREPORT
- github.com/Perl/perl5/commit/34716e2a6ee2af96078d62b065b7785c001194beX Refsource CONFIRMPatchThird Party Advisory