metsw24-max opened a new issue, #49759:
URL: https://github.com/apache/arrow/issues/49759

   ### Describe the bug, including details regarding any error messages, 
version, and platform.
   
   The BinaryView JSON parser relies on DCHECK-based validation for fields such 
as
   SIZE, BUFFER_INDEX, OFFSET, and inline payload lengths.
   
   Since DCHECKs are disabled in release builds, malformed JSON inputs can 
bypass
   validation and propagate unsafe values into buffer operations.
   
   This can lead to out-of-bounds access or incorrect memory usage when parsing
   untrusted input.
   
   This issue proposes adding strict runtime validation for:
   - SIZE bounds
   - Inline payload length consistency
   - BUFFER_INDEX and OFFSET validity
   - Buffer range checks
   
   A corresponding patch with regression tests has been opened.
   
   ### Component(s)
   
   C++


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to