Mentioned in [56186] on Core SVN: Filesystem API: Ensure `wp_tempnam()` does not produce file names longer than 255 characters as this is the limit on most filesystems.
Created ticket #35755 on Core Trac: wp_tempnam produces filenames longer than 255 characters