SecLists.Org | Full Disclosure 日本語 フォロー PHP 8.5.7 'mb_substr()' 'SJIS-mac' size_t underflow 投稿者 Khashayar Fereidani 2026年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エンコーディングの早期の空の戻りガードを意図的にスキップします。その結果、それは...