Skip to content

#3356 Bound untrusted OpenPGP message processing - #3357

Draft
martgil wants to merge 4 commits into
masterfrom
issue-3356-bound-pgp-message-processing
Draft

martgil wants to merge 4 commits into
masterfrom
issue-3356-bound-pgp-message-processing

Conversation

@martgil

@martgil martgil commented Nov 24, 2026

Copy link
Copy Markdown
Collaborator

This PR bounds the size of untrusted OpenPGP content buffered during message rendering and attachment decryption, so an oversized message produces a bounded error instead of exhausting memory.

close #3356


Tests (delete all except exactly one):

  • Tests added or updated

To be filled by reviewers

I have reviewed that this PR... (tick whichever items you personally focused on during this review):

  • addresses the issue it closes (if any)
  • code is readable and understandable
  • is accompanied with tests, or tests are not needed
  • is free of vulnerabilities

@martgil
martgil marked this pull request as draft November 24, 2026 12:20
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.

Improve limits when processing OpenPGP message attachments

1 participant