Skip to content

wasm2c: (Security) fail closed when table allocation runs out of memory - #2861

Merged
shravanrn merged 1 commit into
WebAssembly:mainfrom
UT-Security:table-alloc-fix
Sep 16, 2026
Merged

shravanrn merged 1 commit into
WebAssembly:mainfrom
UT-Security:table-alloc-fix

Conversation

@shravanrn

Copy link
Copy Markdown
Collaborator

Cleanup of #2858 preserving @sxvncry authorship on commit

@shravanrn
shravanrn requested review from keithw and sbc100 September 16, 2026 04:41
@shravanrn

Copy link
Copy Markdown
Collaborator Author

Will follow up separately on test integration for this along with for #2857 later this week

@sbc100 Please approve as soon as reasonable. We are trying to sync wasm2c in Firefox with the latest version here, and I'd love to get this fix in too (It doesn't affect Firefox, but not including upstream fixes mean there end up being a lot of false security reports filed on using out of date versions)

@shravanrn
shravanrn merged commit e197d0b into WebAssembly:main Sep 16, 2026
17 checks passed
@sxvncry

sxvncry commented Sep 16, 2026

Copy link
Copy Markdown
Contributor

Thanks for merging the fix. Is there anything else I need to do from my side regarding this issue?

@shravanrn

Copy link
Copy Markdown
Collaborator Author

Thanks for merging the fix. Is there anything else I need to do from my side regarding this issue?

@sxvncry Nope, we're all set. If you have time to contribute a test too, that is always appreciated :) If not no worries, I will probably get to it in the next few days!

@sxvncry

sxvncry commented Sep 17, 2026

Copy link
Copy Markdown
Contributor

Hi @shravanrn, one quick follow-up regarding the security issue: since I originally reported #2854 and the fix was merged through #2861, is there any security disclosure or reporter attribution process I should be aware of?

@shravanrn

shravanrn commented Sep 18, 2026 •

Copy link
Copy Markdown
Collaborator Author

Hi @shravanrn, one quick follow-up regarding the security issue: since I originally reported #2854 and the fix was merged through #2861, is there any security disclosure or reporter attribution process I should be aware of?

@sxvncry Nope, unfortunately wasm2c does not have a formal process for security bugs or acknowledgments at the moment. It would be nice to have a better systeen. But for now, it is up to any dependent projects to stay up to date and assess if bugs affect them (For instance, I know this bug does not affect Firefox since Firefox does not compile wasm files from adversarial sources with wasm2c)

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.

3 participants