CVE-2018-20506: SQL Injection

Published Jan 22, 2019
·
Updated

Last updated 25 August 2025

Other sources

SQLite before 3.25.3 when the FTS3 extension is enabled encounters an integer overflow (and resultant buffer overflow) for FTS3 queries in a "merge" operation that occurs after crafted changes to FTS3 shadow tables allowing remote attackers to execute arbitrary code by leveraging the ability to run arbitrary SQL statements (such as in certain WebSQL use cases). This is a different vulnerability than CVE-2018-20346.

Microsoft

SQLite before 3.25.3, when the FTS3 extension is enabled, encounters an integer overflow (and resultant buffer overflow) for FTS3 queries in a "merge" operation that occurs after crafted changes to FTS3 shadow tables, allowing remote attackers to execute arbitrary code by leveraging the ability to run arbitrary SQL statements (such as in certain WebSQL use cases). This is a different vulnerability than CVE-2018-20346.

MITRE

SQLite. Multiple memory corruption issues were addressed with improved input validation.

Credit

Tencent Blade Team

Affected Software

23 affected componentsFixes available
Apple tvOS<12.1.2
12.1.2
Apple macOS Mojave<10.14.3
10.14.3
Apple High Sierra
Apple Sierra
Apple WatchOS<5.1.3
5.1.3
Apple iCloud for Windows<7.10
7.10
Apple iTunes for Windows<12.9.3
12.9.3
Apple iOS<12.1.3
12.1.3
SQLite SQLite<3.25.3
Apple iPhone OS<12.1.3
Apple iOS and macOS<10.14.3
Apple tvOS<12.1.2
Apple WatchOS<5.1.3
All of the following
Any of the following
Apple iCloud<=7.10
Apple iTunes<=12.9.3
Microsoft Windows
openSUSE Leap=42.3
Apple iCloud<=7.10
Apple iTunes<=12.9.3
Microsoft Windows
debian/sqlite3
3.34.1-33.34.1-3+deb11u13.40.1-2+deb12u23.46.1-73.46.1-9
Microsoft azl3 ceph 16.2.10-3
Microsoft azl3 ceph 18.2.1-1

Event History

Apr 3, 2019
CVE Published
via MITRE·05:50 PM
Data Sourced
via MITRE·05:50 PM
Description
Jun 30, 2024
Data Sourced
via Microsoft·02:00 PM
DescriptionSeverityWeakness
Data Sourced
via Microsoft·02:00 PM
Affected Software
Updated
via Microsoft·02:00 PM
DescriptionSeverity
Feb 19, 2026
Data Sourced
via Ubuntu·06:01 PM
RemedyDescriptionSeverityAffected Software
Data Sourced
via Launchpad·06:02 PM
Description
Data Sourced
via Debian·06:02 PM
DescriptionAffected Software

Parent advisories

This vulnerability appears in the following advisories.

Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is CVE-2018-20506?

CVE-2018-20506 is a vulnerability in SQLite that allows remote attackers to execute arbitrary code.

2

What is the severity of CVE-2018-20506?

The severity of CVE-2018-20506 is high with a CVSS score of 8.1.

3

How does CVE-2018-20506 affect SQLite?

CVE-2018-20506 affects SQLite versions prior to 3.25.3.

4

How can I fix CVE-2018-20506?

To fix CVE-2018-20506, update SQLite to version 3.25.3 or later.

5

Where can I find more information about CVE-2018-20506?

You can find more information about CVE-2018-20506 at the following references: https://security.netapp.com/advisory/ntap-20190502-0004/, http://seclists.org/fulldisclosure/2019/Jan/62, http://seclists.org/fulldisclosure/2019/Jan/64

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203