---
id: CVE-2026-51936
title: Zetetic SQLCipher before 4.15.0 allows SQL injection
summary: >-
  Zetetic SQLCipher before 4.15.0 allows SQL injection. The sqlcipher_export
  convenience function can be used to copy the contents of one attached database
  into another. It is most often used to convert between plaintext and encrypted
  data…
severity: low
cvss: 2.1
cvssVector: 'CVSS:4.0/AV:L/AC:L/AT:P/PR:N/UI:N/VC:N/VI:L/VA:L/SC:N/SI:N/SA:L'
cwe:
  - CWE-89
vendor: Zetetic
product: SQLCipher
affected:
  - SQLCipher < 4.15.0
published: '2026-09-30'
updated: '2026-09-30'
sourceUpdated: '2026-09-30T01:16:37.520'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-51936'
references:
  - url: >-
      https://github.com/sqlcipher/sqlcipher/commit/30842cda35c88cdfc7a8adba1c9b20821d2c08d1
    label: cve@mitre.org
  - url: 'https://www.zetetic.net/blog/2026/04/28/sqlcipher-4.15.0-release/'
    label: cve@mitre.org
tags:
  - nvd
  - cve.org
cvssSource: cna
ingestedAt: '2026-09-30T00:53:47.824Z'
---

## Overview

Zetetic SQLCipher before 4.15.0 allows SQL injection. The sqlcipher_export convenience function can be used to copy the contents of one attached database into another. It is most often used to convert between plaintext and encrypted databases. It needs to do dynamic schema manipulation, and thus the function temporarily clears defensive restrictions during operation. A vulnerability in the handling of the source database name parameter made it possible for a caller to supply a crafted source name, which could execute statements that defensive mode would otherwise block. This could allow direct modifications to the sqlite_schema table and database corruption. SQLCipher 4.15.0 now strictly validates the source database name and prevents the bypass.

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
