Skip to content

[arrow-buffer] Integer overflow in BitChunks::new leads to undefined behavior #9903

Description

@ksj1230

Description

This issue was previously reported privately and is now being disclosed following coordination with maintainers.

BitChunks::new() computes offset + length without overflow checking.
When the sum wraps, bounds validation may be bypassed, leading to an inconsistent internal state.

This can result in a potential out-of-bounds read via safe Rust APIs.

Fix

See PR #9818

Reported by Sungjin Kim (@ksj1230)

Metadata

Metadata

Assignees

No one assigned

    Labels

    arrowChanges to the arrow crate

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions