[wp-trac] [WordPress Trac] #64669: AVIF files with empty iref box fail parsing with older PHP versions

WordPress Trac noreply at wordpress.org
Wed Feb 18 15:32:14 UTC 2026


#64669: AVIF files with empty iref box fail parsing with older PHP versions
--------------------------+-----------------------------
 Reporter:  yguyon        |      Owner:  (none)
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  Media         |    Version:
 Severity:  minor         |   Keywords:
  Focuses:                |
--------------------------+-----------------------------
 libavifinfo is used for PHP versions until 8.2 (1) to extract a few image
 features from AVIF files.

 The current version of libavifinfo in WordPress rejects files with an
 empty 'iref' box. An empty 'iref' box is pointless but is allowed by the
 specification. See
 https://aomedia.g-issues.chromium.org/issues/466109759#comment3.

 (1) https://github.com/WordPress/wordpress-
 develop/blob/5b7a3ad163b5b5aad890c1e7098d746bccf1012d/src/wp-includes
 /class-avif-info.php#L16

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/64669>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list