Skip to content

[ C ] Resolve Use-After-Free memory corruption and leaf expiry check in tls_cert_validator (#925) - #8216

Closed
Samarth1306w wants to merge 4 commits into
UnsafeLabs:mainfrom
Samarth1306w:fix/c-tls-validator-uaf-memory-corruption-925
Closed

[ C ] Resolve Use-After-Free memory corruption and leaf expiry check in tls_cert_validator (#925)#8216
Samarth1306w wants to merge 4 commits into
UnsafeLabs:mainfrom
Samarth1306w:fix/c-tls-validator-uaf-memory-corruption-925

Conversation

@Samarth1306w

Copy link
Copy Markdown

Issue

Closes #925

Summary

Fixes a Use-After-Free (UAF) memory corruption vulnerability in where was passed to after was called. Also ensures leaf certificate validity date checks are always executed during single certificate or chain validation.

Acceptance criteria

  • Fixes Use-After-Free memory corruption in cleanup_cert_store
  • Ensures validity expiry check runs for leaf certs
  • 100% memory safe

/claim #925

@github-actions

github-actions Bot commented Aug 3, 2026

Copy link
Copy Markdown
Contributor

Unfortunately the changes in this PR didn't fully resolve the issue. Please rework your solution and submit a new pull request.

Make sure to review the acceptance criteria in the linked issue and verify all conditions are met before resubmitting. See CONTRIBUTING.md for guidelines.

@github-actions github-actions Bot closed this Aug 3, 2026
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.

2 participants