Iphone OsOperating system · Apple

CVE-2018-4331

CRITICAL · 9.8 CVSS v3.0 Published 2019-04-03
Fix available
A fix is available. Upgrade to 5.0 / 10.14 or later.
See remediation →
100/100
Remediation priority · Urgent
Remotely reachable No privileges Zero-click

Official description Straight from the sourceThe vendor's or NVD's own wording, published unedited. Authoritative, but often terse — it says what broke, rarely what to do.

NVD · unedited
A memory corruption issue was addressed with improved memory handling. This issue affected versions prior to iOS 12, macOS Mojave 10.14, tvOS 12, watchOS 5.

Technical summary Written by usOur analysis, written from the advisory, the CVSS vector and the affected-version data. It adds context the advisory leaves out, and never invents facts that are not in the source.

dbcve analysis · moderate confidence

Memory corruption vulnerability in Apple iOS, macOS, tvOS, and watchOS that was addressed through improved memory handling. The flaw existed in versions prior to iOS 12, macOS Mojave 10.14, tvOS 12, and watchOS 5. The CVSS 9.8 score indicates trivial exploitability with potential for complete system compromise.

MitigationApply vendor updates to upgrade to iOS 12 or later, macOS Mojave 10.14 or later, tvOS 12 or later, and watchOS 5 or later. For systems that cannot be updated, implement network segmentation and restrict exposure to untrusted networks.

Verify against the referenced sources before acting — the references below are authoritative for this CVE, this summary is not.

Affected products & versions What the vendor confirmedThe version ranges the vendor confirmed as vulnerable. If your version sits inside a range here, treat yourself as exposed until you have upgraded.

NVD · CPE data
Iphone OsOperating system
Affected:< 12.0
Mac Os XOperating system
Affected:< 10.14
TvosOperating system
Affected:< 12
WatchosOperating system
Affected:< 5.0

CVSS breakdown How the score is builtThe industry scoring standard. It rates how the flaw is reached, what it takes to exploit, and what an attacker gains — the score is derived from those, not the other way round.

From the vector
Attack vector
Network
Complexity
Low
Privileges
None
User interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Am I affected? How to checkSteps we derive from the advisory and the affected-version data, so you can decide whether this CVE reaches your setup. They are a guide, not a scan — your own configuration is the authority.

dbcve checks

Work through these to decide whether this CVE applies to you.

  1. Check iOS version on iPhone or iPad
    Open Settings > General > About > Version, or use the command 'sw_vers' via SSH/terminal if available
    Affected if Version number is less than 12.0 (e.g., 11.x or earlier)
  2. Check macOS version on Mac computers
    Click Apple menu > About This Mac, or run 'sw_vers' in Terminal
    Affected if Version is earlier than 10.14 (macOS Mojave)
  3. Check tvOS version on Apple TV
    Go to Settings > General > About > Version on the Apple TV device
    Affected if Version is less than 12.0
  4. Check watchOS version on Apple Watch
    On paired iPhone, open Watch app > My Watch > General > About
    Affected if Version is less than 5.0

A system is affected if it runs any iOS version below 12.0, macOS version below 10.14, tvOS version below 12, or watchOS version below 5.0.

Generated from the published advisory. Verify against your own configuration.

Check your environment

Paste your version and any relevant configuration and it will be compared against the affected criteria above. Do not include secrets or credentials.

AI-assisted, checked against the advisory. Informational, not a guarantee.

Remediation Closing itWhat it takes to close this. Where a vendor fix exists we point at it; where none exists we say so plainly, and can build one. Effort estimates are scoped from the advisory, not from your codebase.

dbcve · scoped
Upgrade available Upgrade to 5.0 / 10.14 / 12 or later
Fixed in 5.010.1412
Interim mitigation

Apply vendor updates to upgrade to iOS 12 or later, macOS Mojave 10.14 or later, tvOS 12 or later, and watchOS 5 or later. For systems that cannot be updated, implement network segmentation and restrict exposure to untrusted networks.

Recommended fix High confidence

iOS 12.0, macOS Mojave 10.14, tvOS 12, watchOS 5.0

  1. For iPhone/iPad: Go to Settings > General > Software Update and install iOS 12.0 or later
  2. For Mac: Go to Apple menu > System Preferences > Software Update and install macOS Mojave 10.14 or later
  3. For Apple TV: Go to Settings > System > Software Updates and install tvOS 12 or later
  4. For Apple Watch: On your iPhone, open the Watch app, go to General > Software Update and install watchOS 5.0 or later
  5. Alternatively, connect each device to power and WiFi and say 'Hey Siri, install the latest software update' on compatible devices
Caveat Major iOS/macOS upgrades may have app compatibility issues with older 32-bit applications; review app compatibility before upgrading

Generated from the published advisory — verify against the referenced sources before acting.

Fix this in Iphone Os Scoped from the published advisory
  • Consultation2.0 h
  • Implementation4.0 h
  • Testing2.0 h
  • Review / QA1.0 h
9.0 hours of engineering $1,600
Get the upgrade done

An estimate, not a bill — we confirm scope with you before any work starts. Need it this week? Rush from $2,560.

Scan for this in your stack

Free · runs locally
dbcve dependency scanner

Check whether your project pulls in CVE-2018-4331 — or any other known-vulnerable package — straight from your lock files. Free and open source; it runs locally and uploads nothing.

References Go to the primary sourcePrimary sources — vendor advisories, patches and trackers. Where our summary and a reference disagree, the reference wins.

Primary sources

Practitioner notes

Contributed

Peer-ranked notes from engineers who’ve handled CVE-2018-4331 in production — separate from our analysis above.

No notes yet

Be the first to add a field note for this CVE — a mitigation you’ve verified, a version caveat, or a link to a working fix. Sign in above to contribute.

What this is

A place for practitioners to share what actually worked: a mitigation you’ve tested, a configuration change, a version- or environment-specific caveat, or a link to a verified patch. The most useful notes rise to the top as peers upvote them, so the signal stays high.

What belongs here
  • Verified mitigations, workarounds, and config changes
  • Version or environment caveats, and links to real fixes
  • No weaponised exploit code, or anything meant to cause harm
  • No spam, self-promotion, credentials, or personal data