SecLists.Org | Full Disclosure 中文 关注 PHP 8.5.7 'mb_substr()' 'SJIS-mac' size_t underflow Khashayar Fereidani 于 6 月 20 日发布# PHP 8.5.7 mb_substr() 'SJIS-mac' size_t 下溢作者: Khashayar Fereidani 披露日期: 2026-06-18 建议报告: https://fereidani.com/php-857-mbsubstr-sjis-mac-sizet-underflow 联系方式: https://fereidani.com/contact 描述 ext/mbstring/mbstring.c 中的 mb_get_substr() 函数在 from >= in_len 时,故意跳过了针对 SJIS-mac 编码的早期空值返回保护。因此,它随后…… PHP 8.5.7 `mb_substr()` 'SJIS-mac' size_t underflow seclists.org Hacker & Security News on Bluesky @hacker.at.thenote.app bsky.app
mb_substr()'SJIS-mac' size_t 下溢作者: Khashayar Fereidani 披露日期: 2026-06-18 建议报告: https://fereidani.com/php-857-mbsubstr-sjis-mac-sizet-underflow 联系方式: https://fereidani.com/contact 描述ext/mbstring/mbstring.c中的mb_get_substr()函数在from >= in_len时,故意跳过了针对SJIS-mac编码的早期空值返回保护。因此,它随后……