🔍 CVE-2026-57163

9.1
CVSS Score
CRITICAL
2026-09-04
2026-09-11 15:51
✅ 완료

🇰🇷 한글 설명

PJSIP의 GnuTLS TLS 백엔드에서 피어 인증서의 Subject Alternative Name(SAN) 확장을 파싱할 때 스택 버퍼 오버플로가 발생합니다. 공격자가 조작된 인증서를 제시할 경우 TLS 핸드셰이크 과정에서 메모리 오염이나 제어 흐름 탈취가 발생할 수 있습니다.

💡 쉬운 설명

인증서 정보를 읽어오는 과정에서 정해진 공간보다 더 큰 데이터를 입력받아 프로그램이 망가지는 보안 약점입니다. 해커가 가짜 인증서를 보내면 프로그램이 강제로 종료되거나 해커의 명령이 실행될 위험이 있습니다.

🇺🇸 원문 (English)

PJSIP is a free and open source multimedia communication library written in C. Prior to commit c4a151a, a stack buffer overflow exists in the GnuTLS TLS backend when parsing the Subject Alternative Name extension of a peer certificate (tls_cert_get_info() in ssl_sock_gtls.c). Only GnuTLS builds are affected (--with-gnutls); OpenSSL and Apple SecureTransport/Network.framework builds are not affected. While extracting certificate information after a TLS handshake, an incorrect buffer-size value can cause an oversized SubjectAltName entry to be written past the end of a fixed-size stack buffer. A network-positioned attacker presenting a crafted certificate — a malicious server to a connecting client, or a malicious client to a server that requests certificates — can trigger this during the TLS handshake, before any SIP-level authentication. Impact may range from unexpected application termination to control flow hijack/memory corruption. This issue has been patched via commit c4a151a.

📍 영향받는 시스템

GnuTLS 백엔드(--with-gnutls)를 사용하는 PJSIP 라이브러리 (OpenSSL 및 Apple SecureTransport 사용 시 제외)

⚔️ 공격 벡터

네트워크를 통해 조작된 인증서를 제시하는 악의적인 서버 또는 클라이언트로부터의 TLS 핸드셰이크 공격

🛡️ 대응 방법

커밋 c4a151a가 적용된 최신 버전의 PJSIP로 업데이트

🔧 검증 코드

출력된 PJSIP 버전이 커밋 c4a151a가 포함된 패치 버전 이후인지 확인하십시오.

Shell / Script
pjsip_version_check=$(pkg-config --modversion libpjproject 2>/dev/null || echo 'unknown'); echo $pjsip_version_check

📊 CVSS Vector String

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

💻 영향받는 소프트웨어

IBM WebSphere Application Server