The URL has the details.
The updates already have been placed into portage as versions kdelibs-3.1.5-r1 and kdelibs-3.2.2-r1. Upgrading to either of those versions will fix the problem. All that we need here is a GLSA advising users to upgrade.
Steps to Reproduce:
*** Bug 51274 has been marked as a duplicate of this bug. ***
*** Bug 51295 has been marked as a duplicate of this bug. ***