Skip to content

bound signature subpacket length against packet size - #323

Open
knQzx wants to merge 1 commit into
ProtonMail:mainfrom
knQzx:bound-subpacket-length
Open

bound signature subpacket length against packet size#323
knQzx wants to merge 1 commit into
ProtonMail:mainfrom
knQzx:bound-subpacket-length

Conversation

@knQzx

@knQzx knQzx commented Aug 12, 2026

Copy link
Copy Markdown
Contributor

A signature subpacket can declare a length far larger than the packet, causing a large allocation from a tiny input. This bounds the declared length against the remaining packet size before allocating.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant