The getNodeSize function in ext/rtree/rtree.c in SQLite mishandles undersized RTree blobs in a crafted database, leading to a heap-based buffer over-read or possibly unspecified other impact. References: https://bugs.launchpad.net/ubuntu/+source/sqlite3/+bug/1700937 http://marc.info/?l=sqlite-users&m=149933696214713&w=2 Upstream patch: https://sqlite.org/src/info/66de6f4a
Created mingw-sqlite tracking bugs for this issue: Affects: epel-7 [bug 1469674] Affects: fedora-all [bug 1469676] Created sqlite tracking bugs for this issue: Affects: fedora-all [bug 1469673] Created sqlite2 tracking bugs for this issue: Affects: epel-all [bug 1469677] Affects: fedora-all [bug 1469675]
This seems to only affect sqlite versions older than 3.17 as, according to the sqlite developers and the reporter of the Ubuntu bug, the issue has been indirectly fixed in version 3.17. For later versions the patch serves only to detect the issue earlier and to provide the user with a more useful error message.