PHP 8.5.7 `levenshtein()` signed-integer overflow (opens in new tab)
Posted by Khashayar Fereidani on Jun 20# PHP 8.5.7 `levenshtein()` signed-integer overflow **Author:** Khashayar Fereidani **Disclosure Date:** 2026-06-18 **Advisory:** ## Description The `levenshtein()` function calculates the Levenshtein distance between two strings, optionally accepting custom costs for insertion, replacement, and deletion operations. In PHP 8.5.7, the...
Read the original article