Skip to content

SIGABRT in zend_ast_get_zval() (zend_ast.h:383) #20990

Closed

Description

@iany0

Description

The following code:

<?php

function foo(string $key): utring {
    throw new \Exception('Test');
}

array_filter(
         array_map(foo(...), ['a']),   array_combie(
       array_map(foo(...)(...), ['a']),
    ),
      array_map(foo, ['a']),
   ['a'],
  );

?>

Resulted in this output:

Running LLVMFuzzerInitialize ...
continue...
Reading 242 bytes from poc_3
php-fuzz-parser: /php-src/Zend/zend_ast.h:383: zval *zend_ast_get_zval(zend_ast *): Assertion `ast->kind == ZEND_AST_ZVAL' failed.
Aborted

This reproduces with php-fuzz-parser (fuzzing harness).

PHP Version

PHP 8.6.0-dev

Operating System

No response

Activity

  1. iluuu1994 commented on Jan 21, 2026

    @iluuu1994
    Member

    Looks related to GH-20934. /cc @TimWolla

  2. added a commit that references this issue on Jan 23, 2026
    3497dbb
  3. self-assigned this
    on Jan 23, 2026
  4. added a commit that references this issue on Jan 26, 2026
    6a17feb
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions