File tree Expand file tree Collapse file tree 3 files changed +19
-0
lines changed Expand file tree Collapse file tree 3 files changed +19
-0
lines changed Original file line number Diff line number Diff line change @@ -34,6 +34,10 @@ PHP NEWS
3434- Sockets:
3535 . Fix some potential crashes on incorrect argument value. (nielsdos)
3636
37+ - Standard:
38+ . Fixed OSS Fuzz #417078295 (Leak in failed unserialize() with opcache).
39+ (ilutov)
40+
374131 Jul 2025, PHP 8.4.11
3842
3943- Calendar:
Original file line number Diff line number Diff line change 1+ --TEST--
2+ OSS-Fuzz #433303828
3+ --FILE--
4+ <?php
5+
6+ unserialize ('O:2:"yy": ' );
7+ unserialize ('O:2:"yy":: ' );
8+
9+ ?>
10+ --EXPECTF--
11+ Warning: unserialize(): Error at offset 9 of 10 bytes in %s on line %d
12+
13+ Warning: unserialize(): Error at offset 10 of 11 bytes in %s on line %d
Original file line number Diff line number Diff line change @@ -1312,10 +1312,12 @@ object ":" uiv ":" ["] {
13121312 YYCURSOR = *p;
13131313
13141314 if (*(YYCURSOR) != ' :' ) {
1315+ zend_string_release_ex (class_name, 0 );
13151316 return 0 ;
13161317 }
13171318 if (*(YYCURSOR+1 ) != ' {' ) {
13181319 *p = YYCURSOR+1 ;
1320+ zend_string_release_ex (class_name, 0 );
13191321 return 0 ;
13201322 }
13211323
You can’t perform that action at this time.
0 commit comments