CVE Vulnerabilities

CVE-2017-2518

Use After Free

Published: May 22, 2017 | Modified: Apr 20, 2025
CVSS 3.x
9.8
CRITICAL
Source:
NVD
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CVSS 2.x
7.5 HIGH
AV:N/AC:L/Au:N/C:P/I:P/A:P
RedHat/V2
RedHat/V3
Ubuntu
LOW
root.io logo minimus.io logo echo.ai logo

An issue was discovered in certain Apple products. iOS before 10.3.2 is affected. macOS before 10.12.5 is affected. tvOS before 10.2.1 is affected. watchOS before 3.2.2 is affected. The issue involves the SQLite component. It allows remote attackers to execute arbitrary code or cause a denial of service (buffer overflow and application crash) via a crafted SQL statement.

Weakness

The product reuses or references memory after it has been freed. At some point afterward, the memory may be allocated again and saved in another pointer, while the original pointer references a location somewhere within the new allocation. Any operations using the original pointer are no longer valid because the memory “belongs” to the code that operates on the new pointer.

Affected Software

NameVendorStart VersionEnd Version
Iphone_osApple*10.3.2 (excluding)
Mac_os_xApple*10.12.5 (excluding)
TvosApple*10.2.1 (excluding)
WatchosApple*3.2.2 (excluding)
Sqlite3Ubuntuesm-infra-legacy/trusty*
Sqlite3Ubuntuesm-infra/xenial*
Sqlite3Ubuntutrusty*
Sqlite3Ubuntutrusty/esm*
Sqlite3Ubuntuvivid/ubuntu-core*
Sqlite3Ubuntuxenial*
Sqlite3Ubuntuzesty*

Potential Mitigations

References