Bug #73822 bundled zlib woefully out of date
Submitted: 6 Sep 2014 9:01
Reporter: Andrew Hutchings Email Updates:
Status: Open Impact on me:
None 
Category:MySQL Server: Packaging Severity:S4 (Feature request)
Version:All OS:Any
Assigned to: CPU Architecture:Any

[6 Sep 2014 9:01] Andrew Hutchings
Description:
MySQL server has a bundled zlib library.  Even in 5.7.4 this is a 9 year old version of zlib now.  Upgrading it will help with your valgrind suppressions and there are some potential (unexploited) security issues fixed in more recent versions.

As a side note, it would be nice for the compiler to detect that the OS has a good zlib and use that instead.  Rather than forcing it.

How to repeat:
.

Suggested fix:
Update the source files in the zlib directory