Skip to content

[C++] Reading a MapArray from invalid IPC stream/file can read memory out of bounds #54936

Open

Description

@pitrou

Describe the bug, including details regarding any error messages, version, and platform.

When loading a MapArray from IPC, we call MapArray::ValidateChildData to avoid a later crash in MapArray::SetData.

Unfortunately MapArray::ValidateChildData calls GetNullCount() which is unsafe if the advertised length is too large for the actual validity buffer size.

Found by OSS-Fuzz in https://issues.oss-fuzz.com/issues/556994537

Component(s)

C++

Activity

  1. added a commit that references this issue on Oct 22, 2026
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