# SQLCipher 4.0.1 Release

**URL:** <https://discuss.zetetic.net/t/sqlcipher-4-0-1-release/3298>\
**Category:** Updates\
**Created:** [December 18, 2018, 9:45pm UTC](https://discuss.zetetic.net/t/sqlcipher-4-0-1-release/3298 "2018-12-18T21:45:58Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![sjlombardo](https://sea2.discourse-cdn.com/flex016/user_avatar/discuss.zetetic.net/sjlombardo/32/3_2.png) [@sjlombardo](https://discuss.zetetic.net/u/sjlombardo)\
**Post date:** [December 18, 2018, 9:45pm UTC](https://discuss.zetetic.net/t/sqlcipher-4-0-1-release/3298/1 "2018-12-18T21:45:58Z")

</div>

SQLCipher 4.0.1 is now available. **Please read the [full release announcement](https://www.zetetic.net/blog/2018/12/18/sqlcipher-401-release/) for important details about the “Magellan” vulnerability, updates, and library compatibility.**

The following is a summary of the pertinent changes:

- Based on upstream SQLite 3.26.0, which addresses the [SQLite “Magellan”](https://blade.tencent.com/magellan/index_en.html) vulnerability
- Adds `PRAGMA cipher_compatibility` and `PRAGMA cipher_default_compatibility` which simplify configuration of appropriate compatibility settings for different major SQLCipher major versions
- Filters out `ATTACH` statements which contain `KEY` parameters from `readline` history when using the command line shell
- Fixes a crash in the command line shell when it is provided empty input (e.g. `^D` )
- Fixes various compiler warnings related to `strict-prototypes`

---

<div class="post-metadata">

**Author:** ![sjlombardo](https://sea2.discourse-cdn.com/flex016/user_avatar/discuss.zetetic.net/sjlombardo/32/3_2.png) [@sjlombardo](https://discuss.zetetic.net/u/sjlombardo)\
**Post date:** [December 18, 2018, 10:10pm UTC](https://discuss.zetetic.net/t/sqlcipher-4-0-1-release/3298/2 "2018-12-18T22:10:14Z")

</div>


