Title: 5.5.1 security patch causing database issues
Last modified: July 15, 2021

---

# 5.5.1 security patch causing database issues

 *  Resolved [jimmy27](https://wordpress.org/support/users/jimmy27/)
 * (@jimmy27)
 * [4 years, 10 months ago](https://wordpress.org/support/topic/5-5-1-security-patch-causing-database-issues/)
 * Hi,
 * My website database crashed after receiving the automatic security patch 5.5.1.
 * My database is filled with these processes:
 * ‘SELECT SQL_CALC_FOUND_ROWS wp_posts.*, low_stock_amount_meta.meta_value AS low_stock_amount,
   MAX…’
 * I have been told this has happened to other website also.
 * Is there a fix for this?
 * Thanks,
    James

Viewing 10 replies - 1 through 10 (of 10 total)

 *  Thread Starter [jimmy27](https://wordpress.org/support/users/jimmy27/)
 * (@jimmy27)
 * [4 years, 10 months ago](https://wordpress.org/support/topic/5-5-1-security-patch-causing-database-issues/#post-14663358)
 * Solution (No security patch) – Only until Woocommerce fixes the patch
 * I had to use the wp rollback plugin to rollback to Woocommerce version 5.4.2
 *  [jedkirby](https://wordpress.org/support/users/jedkirby/)
 * (@jedkirby)
 * [4 years, 10 months ago](https://wordpress.org/support/topic/5-5-1-security-patch-causing-database-issues/#post-14663497)
 * I’ve opened an issue on the WooCommerce Admin repository for this as i’m also
   having this problem. The issue can be found here: [https://github.com/woocommerce/woocommerce-admin/issues/7358](https://github.com/woocommerce/woocommerce-admin/issues/7358).
 *  Plugin Support [Thu P. a11n](https://wordpress.org/support/users/thup90/)
 * (@thup90)
 * [4 years, 10 months ago](https://wordpress.org/support/topic/5-5-1-security-patch-causing-database-issues/#post-14663581)
 * Hi all,
 * Thank you for reporting this issue. We’re investigating into this and will update
   you once we have more information.
 * Meanwhile, please downgrade WooCommerce to one of the “safe” versions which has
   been patched for the security issue:
 *     ```
       3.3.6
       3.4.8
       3.5.9
       3.6.6
       3.7.2
       3.8.2
       3.9.4
       4.0.2
       4.1.2
       4.2.3
       4.3.4
       4.4.2
       4.5.3
       4.6.3
       4.7.2
       4.8.1
       4.9.3
       5.0.1
       5.1.1
       5.2.3
       5.3.1
       5.4.2
       ```
   
 * Please let us know how it goes. We’re here to help further!
 *  Plugin Support [Thu P. a11n](https://wordpress.org/support/users/thup90/)
 * (@thup90)
 * [4 years, 10 months ago](https://wordpress.org/support/topic/5-5-1-security-patch-causing-database-issues/#post-14663774)
 * Hi [@esconderijo](https://wordpress.org/support/users/esconderijo/) ,
 * To downgrade, you can go to our versions page and find a patch version for each
   release since 3.3. Download the patch and upload it at WP Admin > Plugins.
 * [https://developer.woocommerce.com/releases/](https://developer.woocommerce.com/releases/)
 *  [Riacrdo Ferreira](https://wordpress.org/support/users/esconderijo/)
 * (@esconderijo)
 * [4 years, 10 months ago](https://wordpress.org/support/topic/5-5-1-security-patch-causing-database-issues/#post-14663891)
 * It worked. Thanks!
 *  Moderator [Yui](https://wordpress.org/support/users/fierevere/)
 * (@fierevere)
 * 永子
 * [4 years, 10 months ago](https://wordpress.org/support/topic/5-5-1-security-patch-causing-database-issues/#post-14664660)
 * **Please see [Forum FAQ](https://wordpress.org/support/forum-user-guide/faq/#i-have-the-same-problem-can-i-just-reply-to-someone-elses-post-with-me-too)
   before replying** “I have same issue”
 *  [anunaydahal](https://wordpress.org/support/users/anunaydahal/)
 * (@anunaydahal)
 * [4 years, 10 months ago](https://wordpress.org/support/topic/5-5-1-security-patch-causing-database-issues/#post-14681317)
 * Same here for me,
 *  [con](https://wordpress.org/support/users/conschneider/)
 * (@conschneider)
 * Engineer
 * [4 years, 10 months ago](https://wordpress.org/support/topic/5-5-1-security-patch-causing-database-issues/#post-14683522)
 * Hello everyone,
 * A new version of [https://wordpress.org/plugins/woocommerce-admin/](https://wordpress.org/plugins/woocommerce-admin/)
   was released a few hours ago. It contains a fix based on the work done at: [https://github.com/woocommerce/woocommerce-admin/issues/7358](https://github.com/woocommerce/woocommerce-admin/issues/7358)
 * This fix will be implemented in WooCommerce core next.
 * Kind regards,
 *  [thinkp](https://wordpress.org/support/users/thinkp/)
 * (@thinkp)
 * [4 years, 10 months ago](https://wordpress.org/support/topic/5-5-1-security-patch-causing-database-issues/#post-14683947)
 * Hi,
    I downgraded to woocommerce version 5.4.2 and still facing with the issue
   Woocommerce Admin Version 2.4.4
 *  [3 Sons Development](https://wordpress.org/support/users/3sonsdevelopment/)
 * (@3sonsdevelopment)
 * [4 years, 9 months ago](https://wordpress.org/support/topic/5-5-1-security-patch-causing-database-issues/#post-14731162)
 * Hi there,
 * This issue has been fixed in 5.5.2. If you haven’t updated, go on and update 
   and see if that fixes the problem for you.
 * Cheers!

Viewing 10 replies - 1 through 10 (of 10 total)

The topic ‘5.5.1 security patch causing database issues’ is closed to new replies.

 * ![](https://ps.w.org/woocommerce/assets/icon.svg?rev=3234504)
 * [WooCommerce](https://wordpress.org/plugins/woocommerce/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/woocommerce/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/woocommerce/)
 * [Active Topics](https://wordpress.org/support/plugin/woocommerce/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/woocommerce/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/woocommerce/reviews/)

 * 10 replies
 * 12 participants
 * Last reply from: [3 Sons Development](https://wordpress.org/support/users/3sonsdevelopment/)
 * Last activity: [4 years, 9 months ago](https://wordpress.org/support/topic/5-5-1-security-patch-causing-database-issues/#post-14731162)
 * Status: resolved