🔍 CVE-2026-50161

0.0
CVSS Score
UNKNOWN
2026-08-18
2026-10-22 22:10
✅ 완료

🇰🇷 한글 설명

libre 라이브러리 4.8.1 미만 버전의 websock_decode() 함수에서 64비트 확장 길이 인코딩을 사용하는 마스크된 WebSocket 프레임을 검증할 때 정수 오버플로가 발생합니다. 이로 인해 mbuf_get_left() 경계 검사를 우회하여 힙 버퍼를 초과하는 쓰기 작업이 수행될 수 있으며, 공격자가 제어하는 힙 손상이나 서비스 거부를 유발할 수 있습니다.

💡 쉬운 설명

웹소켓 통신을 처리하는 라이브러리에서 숫자를 계산할 때 오류가 발생하여 메모리 영역을 침범하는 문제입니다. 이를 통해 해커가 시스템을 마비시키거나 악성 코드를 실행할 위험이 있습니다.

🇺🇸 원문 (English)

libre is a generic library for real-time communications with asynchronous input and output support. Prior to 4.8.1, the websock_decode() function in src/websock/websock.c contains an integer overflow when validating a masked WebSocket frame that uses the 64-bit extended length encoding. The expression 4 + hdr->len can wrap when hdr->len is close to UINT64_MAX, causing the mbuf_get_left() bounds check to pass. The subsequent XOR unmasking loop then writes beyond the heap buffer. Applications using websock_accept() or websock_accept_proto() to implement a WebSocket server are affected, and exploitation can cause attacker-controlled heap corruption or denial of service after the HTTP WebSocket upgrade handshake. This issue is fixed in version 4.8.1.

📍 영향받는 시스템

libre library versions prior to 4.8.1

⚔️ 공격 벡터

HTTP WebSocket 업그레이드 핸드셰이크 이후 조작된 64비트 확장 길이의 WebSocket 프레임을 전송

🛡️ 대응 방법

libre 라이브러리를 4.8.1 버전 이상으로 업데이트

🔧 검증 코드

출력된 버전 번호가 4.8.1보다 낮은지 확인하십시오.

Shell / Script
pkg-config --modversion libre 2>/dev/null || echo 'Not installed'

💻 영향받는 소프트웨어

IBM WebSphere Application Server