Description
Zetetic SQLCipher 4.x before 4.4.1 has a use-after-free, related to sqlcipher_codec_pragma and sqlite3Strlen30 in sqlite3.c. A remote denial of service attack can be performed. For example, a SQL injection can be used to execute the crafted SQL command sequence. After that, some unexpected RAM data is read.
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 24.04 LTS | sqlcipher | No fix yet | — |
| Ubuntu 22.04 LTS | sqlcipher | No fix yet | — |
| Ubuntu 20.04 LTS | sqlcipher | No fix yet | — |
| Ubuntu 18.04 LTS | sqlcipher | No fix yet | — |
| Ubuntu 16.04 LTS | sqlcipher | No fix yet | — |