Intel

AIKIDO-2026-643290

inout is vulnerable to Out-of-bounds Write

GHSA-3832-PRH6-8CPMPublished 4 days ago
November 5, 2026

55

CVE Score

Medium

Out-of-bounds Write

Are you affected? Scan for Free

TL;DR

Before the fix, into_padded_blocks accepted an output buffer only as long as the input and still built a padded buffer containing a padding tail block; when the caller then used get_tail_block or into_out, the crate wrote or read one block past the output allocation. Any crate consumer calling this public API with the optional block-padding feature enabled and an output buffer without room for the padding tail hit the out-of-bounds access. The missing check existed only in 0.2.3; earlier releases rejected undersized output buffers with PadError. The fix counts the output buffer's full blocks and returns PadError before building the padded buffer when the output cannot hold the padded data.

How do I fix this?

Upgrade the inout crate to 0.2.4 or later.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range and enable the block-padding feature and pass an output buffer without room for the padding tail to into_padded_blocks.

Package

Versions

0.2.3 - 0.2.3

Fixed in 0.2.4

Background info

inout is vulnerable to Out-of-bounds Write in versions 0.2.3 - 0.2.3.

Get secure today,
quickly and for free.

Secure your code, cloud, and runtime in one central system. Connect a repo to discover what the reasoning agents find in your codebase.

No credit card required | Scan results in 32 seconds.

Trusted by 150k+ orgs
  • Revolut
  • n8n
  • Lovable
  • Deel
  • Prove
  • Omnea