Skip to content

Fix OOB possibility in PKCS7_VerifySignedData#10441

Merged
SparkiDev merged 1 commit into
wolfSSL:masterfrom
padelsbach:pkcs7-verify-fix
May 13, 2026
Merged

Fix OOB possibility in PKCS7_VerifySignedData#10441
SparkiDev merged 1 commit into
wolfSSL:masterfrom
padelsbach:pkcs7-verify-fix

Conversation

@padelsbach

@padelsbach padelsbach commented May 8, 2026

Copy link
Copy Markdown
Contributor

Description

Add checks and test cases to PKCS7_VerifySignedData to prevent out-of-bounds memory accesses.

Fixes zd 21778, 21797

Thanks to Feng Ning / Innora for reporting issue and reviewing the fix.

Testing

TDD approach using new tests.

Checklist

  • added tests
  • updated/added doxygen
  • updated appropriate READMEs
  • Updated manual and documentation

@padelsbach

padelsbach commented May 8, 2026

Copy link
Copy Markdown
Contributor Author

jenkins retest this please

@wolfSSL-Fenrir-bot wolfSSL-Fenrir-bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fenrir Automated Review — PR #10441

Scan targets checked: wolfcrypt-bugs, wolfcrypt-src

No new issues found in the changed files. ✅

@github-actions

github-actions Bot commented May 9, 2026

Copy link
Copy Markdown

MemBrowse Memory Report

No memory changes detected for:

@padelsbach
padelsbach marked this pull request as ready for review May 11, 2026 01:35
@SparkiDev
SparkiDev merged commit 2670a4f into wolfSSL:master May 13, 2026
443 checks passed
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.

4 participants