Skip to content

Pacaya inbox verification pointer corruption

High
ggonzalez94 published GHSA-5mxh-r33p-6h5x Dec 4, 2025

Package

No package listed

Affected versions

2.3.1

Patched versions

None

Description

TaikoInbox._verifyBatches (packages/protocol/contracts/layer1/based/TaikoInbox.sol:627-678) advanced the local tid to whatever transition matched the current blockHash before knowing whether that batch would actually be verified. When the loop later broke (e.g., cooldown window not yet passed or transition invalidated), the function still wrote that newer tid into batches[lastVerifiedBatchId].verifiedTransitionId after decrementing batchId. Result: the last verified batch could end up pointing at a transition index from the next batch (often zeroed), corrupting the verified chain pointer.

Severity

High

CVE ID

CVE-2025-66559

Weaknesses

No CWEs