Skip to content

#3348 Bound OpenPGP packet parsing - #3349

Open
martgil wants to merge 2 commits into
masterfrom
issue-3348-bound-openpgp-packet-parsing
Open

martgil wants to merge 2 commits into
masterfrom
issue-3348-bound-openpgp-packet-parsing

Conversation

@martgil

@martgil martgil commented Nov 19, 2026

Copy link
Copy Markdown
Collaborator

This PR bounds OpenPGP packet parsing so a single message cannot allocate unbounded parser state; over-budget messages are rejected as a bounded format error.

close #3348


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 force-pushed the issue-3348-bound-openpgp-packet-parsing branch from 18cb33b to e2d25c4 Compare November 19, 2026 07:41
@DenBond7

Copy link
Copy Markdown
Collaborator

Hi @martgil, just a small note about the PR workflow.

When a PR is marked as Ready for Review, I expect it to be finalized and ready for reviewers to examine.

If you're still making changes, please keep it in Draft status. Once a PR is ready for review, any further changes should be communicated to the reviewers in advance, especially force-pushes.

This helps avoid situations where reviewers spend time reviewing code that changes during the review process.

Thanks for understanding!

@martgil

martgil commented Nov 19, 2026

Copy link
Copy Markdown
Collaborator Author

Thanks for the reminder @DenBond7, This is now ready for a review.

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 on OpenPGP packet parsing

2 participants