CVE-2026-44741: Php Unserialize Missing Is Array Check

Data returned from unserialize() is checked with empty() without verifying that it is an array using is_array(). Deserialized non-array scalar values can cause runtime TypeErrors when assigned to typed array properties or used in array operations.

Provally CuratedPublic repositoryMediumMedium confidenceVerifiedApache-2.0PHP
greprules fetch cve-2026-44741-php-unserialize-missing-is-array-check --engine opengrep

Description

Data returned from unserialize() is checked with empty() without verifying that it is an array using is_array(). Deserialized non-array scalar values can cause runtime TypeErrors when assigned to typed array properties or used in array operations.