Performance and Security Analysis of Canary Size Adjustment in WebAssembly 


Vol. 14,  No. 4, pp. 224-230, Apr.  2025
https://doi.org/10.3745/TKIPS.2025.14.4.224


PDF
  Abstract

In this study, we quantitatively evaluate the performance and security effects of adjusting Canary size in a WebAssembly environment. Although WebAssembly has built-in security mechanisms, it remains vulnerable to stack overflow attacks. To address this, we utilized Fuzzm to insert Canary values and conducted experiments with Canary sizes of 8, 16, 32, and 64 bytes. The results indicate that as the Canary size increases, insertion and verification operations also increase, leading to higher performance overhead. Conversely, the frequency of crashes increased, enhancing security. This confirms the existence of a trade-off between performance degradation and security enhancement, highlighting the importance of selecting an appropriate Canary size based on the operational environment.

  Statistics


  Cite this article

[IEEE Style]

H. G. Won, S. C. Won, K. D. Hyun, "Performance and Security Analysis of Canary Size Adjustment in WebAssembly," The Transactions of the Korea Information Processing Society, vol. 14, no. 4, pp. 224-230, 2025. DOI: https://doi.org/10.3745/TKIPS.2025.14.4.224.

[ACM Style]

Han Go Won, Shin Chae Won, and Kwon Dong Hyun. 2025. Performance and Security Analysis of Canary Size Adjustment in WebAssembly. The Transactions of the Korea Information Processing Society, 14, 4, (2025), 224-230. DOI: https://doi.org/10.3745/TKIPS.2025.14.4.224.