kcve.ai취약점 정보 · 내 자산 확인

CVE-2026-0819 Stack buffer overflow in PKCS7 SignedData encoding with custom signed attributes

설명

A stack buffer overflow vulnerability exists in wolfSSL's PKCS7 SignedData encoding functionality. In wc_PKCS7_BuildSignedAttributes(), when adding custom signed attributes, the code passes an incorrect capacity value (esd->signedAttribsCount) to EncodeAttributes() instead of the remaining available space in the fixed-size signedAttribs[7] array. When an application sets pkcs7->signedAttribsSz to a value greater than MAX_SIGNED_ATTRIBS_SZ (default 7) minus the number of default attributes already added, EncodeAttributes() writes beyond the array bounds, causing stack memory corruption. In WOLFSSL_SMALL_STACK builds, this becomes heap corruption. Exploitation requires an application that allows untrusted input to control the signedAttribs array size when calling wc_PKCS7_EncodeSignedData() or related signing functions.

영향 받는 제품 제품 1개

  • wolfSSL

    wolfSSL

    해결 버전 있음

    영향 받는 버전

    • 5.5.0 이상 5.9.0 미만

    해결 버전

    • 5.9.0 이상

참고 자료 1건

‹ 목록

점검 지원 범위 문의

도입 문의