cbcvebase.
CVE-2018-4318
published 2019-04-03

CVE-2018-4318: A use after free issue was addressed with improved memory management. This issue affected versions prior to iOS 12, tvOS 12, Safari 12, iTunes 12.9 for…

PriorityP261high8.8CVSS 3.0
AVNACLPRNUIRSUCHIHAH
EXPLOIT
EPSS
9.35%
94.9th percentile
A use after free issue was addressed with improved memory management. This issue affected versions prior to iOS 12, tvOS 12, Safari 12, iTunes 12.9 for Windows, iCloud for Windows 7.7.

Affected

11 ranges
VendorProductVersion rangeFixed in
appleicloud< 7.77.7
appleicloud_for_windows
appleios
appleiphone_os< 12.012.0
appleitunes< 12.912.9
appleitunes_12.9_for_windows
applesafari< 1212
applesafari
appletvos< 1212
appletvos
debianwebkit2gtk< webkit2gtk 2.22.0-2 (bookworm)webkit2gtk 2.22.0-2 (bookworm)

Detection & IOCsextracted from sources · hover to see the quote

commandvar var00006 = htmlvar00002.getSVGDocument();
commandvar00162.replaceWith(htmlvar00022);
  • The UAF is triggered in WebCore::SVGTextLayoutAttributes::context during SVG text layout; monitor for crashes or heap corruption in WebCore's SVG text rendering pipeline (RenderSVGText::layout → SVGRenderSupport::layoutChildren).
  • Exploit PoC uses SVG-related HTML elements (tref, feMerge, title) combined with CSS float and getSVGDocument() JS call to trigger the UAF; detect pages combining SVG element manipulation with getSVGDocument() and DOM replacement (replaceWith) in close proximity.
  • The crash occurs in the WebContent XPC process (com.apple.WebKit.WebContent); monitor for abnormal termination of this process when processing web content containing SVG text elements.
  • Impact is arbitrary code execution via processing maliciously crafted web content; treat any WebKit crash in RenderSVGText::layout or SVGTextLayoutAttributes as high-severity.
  • ·Affected versions are iOS prior to 12, tvOS prior to 12, Safari prior to 12, iTunes prior to 12.9 for Windows, and iCloud for Windows prior to 7.7; patched in those releases.
  • ·On Debian-based Linux systems (webkit2gtk), the vulnerability is resolved in version 2.22.0-2 across all tracked suites.

CVSS provenance

nvdv3.08.8HIGHCVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
nvdv2.06.8MEDIUMAV:N/AC:M/Au:N/C:P/I:P/A:P
osv8.8HIGH
vendor_debian8.8LOW
CVEs like this are exactly what “Exploited This Week” covers.

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.