🔍 CVE-2026-0819

7.1
CVSS Score
HIGH
2026-03-19
2026-06-17 10:11
✅ 완료

🇰🇷 한글 설명

wolfSSL의 PKCS7 SignedData 인코딩 기능 중 wc_PKCS7_BuildSignedAttributes() 함수에서 스택 버퍼 오버플로우 취약점이 발견되었습니다. 사용자 정의 서명 속성을 추가할 때 배열의 남은 공간 대신 잘못된 용량 값을 전달하여, 고정된 크기의 배열 범위를 벗어나 메모리를 손상시킬 수 있습니다.

💡 쉬운 설명

프로그램이 데이터를 저장할 공간보다 더 많은 정보를 억지로 집어넣으려다 메모리 오류를 일으키는 문제입니다. 이를 통해 해커가 프로그램의 동작을 방해하거나 시스템을 장악할 위험이 있습니다.

🇺🇸 원문 (English)

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.

📍 영향받는 시스템

wolfSSL (PKCS7 SignedData 인코딩 기능을 사용하는 버전)

⚔️ 공격 벡터

신뢰할 수 없는 입력값을 통해 서명 속성(signedAttribs)의 크기를 조작하여 wc_PKCS7_EncodeSignedData() 함수를 호출함

🛡️ 대응 방법

wolfSSL을 최신 보안 패치가 적용된 버전으로 업데이트하고, 입력값에 대한 크기 검증 로직을 강화해야 합니다.

🔧 검증 코드

현재 설치된 wolfSSL의 버전을 확인하여 해당 취약점이 해결된 패치 버전인지 대조하십시오.

Shell / Script
wolfssl_version_check_command_placeholder

📊 CVSS Vector String

CVSS Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H

💻 영향받는 소프트웨어

wolfSSL