Skip to content

Fenrir fixes#346

Merged
cconlon merged 11 commits intowolfSSL:masterfrom
JeremiahM37:fenrir-fixes
Mar 30, 2026
Merged

Fenrir fixes#346
cconlon merged 11 commits intowolfSSL:masterfrom
JeremiahM37:fenrir-fixes

Conversation

@JeremiahM37
Copy link
Copy Markdown
Contributor

@JeremiahM37 JeremiahM37 commented Mar 23, 2026

Fixes F-1258, 1259, 1260, 1261, 1262, 1263, 1264, 1265, 1266, 1267, 1268, 1269. (new as of of 3/22/26)

  • Fix bounds check against id_max_len in PSK client identity copy
  • Fix PSK key length validation against max_key_len in client and server callbacks
  • Fix ALPN out-of-bounds read by parsing wire format with length-prefixed entries
  • Fix ALPN substring false matches by comparing protocol length before memcmp
  • Fix NULL pointer dereference in ALPN callback when GetStringUTFChars returns NULL
  • Fix ALPN ReleaseStringUTFChars memory leak on selected protocol string
  • Fix early return on JNI attach failure in missing CRL callbacks
  • Fix XMEMSET using DYNAMIC_TYPE_TMP_BUFFER type tag instead of buffer size
  • Zero private key buffer before free in usePrivateKeyBuffer

Also fixed an issue with the Android CMakeList not excluding asn_orig.c which was added to wolfSSL upstream recently.

@JeremiahM37 JeremiahM37 changed the title Fenrir fixes Fenrir vulnerability fixes Mar 23, 2026
@JeremiahM37 JeremiahM37 self-assigned this Mar 23, 2026
@JeremiahM37 JeremiahM37 force-pushed the fenrir-fixes branch 2 times, most recently from 2ac5939 to 19f8172 Compare March 23, 2026 16:42
@JeremiahM37 JeremiahM37 changed the title Fenrir vulnerability fixes Fenrir fixes Mar 23, 2026
@JeremiahM37 JeremiahM37 assigned cconlon and unassigned JeremiahM37 Mar 25, 2026
@cconlon cconlon merged commit 372f6c2 into wolfSSL:master Mar 30, 2026
100 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.

2 participants