Skip to content

Reject negative CRL numbers when decoding#10087

Draft
padelsbach wants to merge 1 commit intowolfSSL:masterfrom
padelsbach:crl-num-negative
Draft

Reject negative CRL numbers when decoding#10087
padelsbach wants to merge 1 commit intowolfSSL:masterfrom
padelsbach:crl-num-negative

Conversation

@padelsbach
Copy link
Copy Markdown
Contributor

Description

Ensure negative ASN.1 integers are not allowed for CRLs (most significant bit is set in the CRL num field). Fixes an overflow which corrupts the adjacent hash field during decode.

Fixes zd21425

Testing

How did you test?

Checklist

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

@padelsbach padelsbach force-pushed the crl-num-negative branch 2 times, most recently from 0c5b920 to e737e3b Compare March 27, 2026 18:06
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