🔍 CVE-2026-48095

8.8
CVSS Score
HIGH
2026-06-05
2026-06-17 10:54
✅ 완료

🇰🇷 한글 설명

7-Zip 26.00 이전 버전의 NTFS 핸들러에서 힙 버퍼 오버플로우 취약점이 발견되었습니다. 악의적으로 제작된 이미지는 압축 단위 버퍼 크기 계산 시 정의되지 않은 동작을 유발하여 1바이트의 작은 버퍼에 대량의 데이터를 쓰게 하고, 이를 통해 가상 테이블 포인터를 덮어씌워 임의 코드 실행을 허용합니다.

💡 쉬운 설명

7-Zip 프로그램의 파일 처리 과정에서 보안 결함이 있어 해커가 악성 파일을 통해 컴퓨터를 장악할 수 있습니다. 이 결함을 이용하면 프로그램이 충돌하거나 해커가 원하는 명령어를 실행할 위험이 있습니다.

🇺🇸 원문 (English)

7-Zip is a file archiver with a high compression ratio. Versions 26.00 and prior contain a heap buffer overflow vulnerability caused by an under-allocation in the NTFS compressed stream buffer (GetCuSize shift UB), potentially allowing attackers to cause arbitrary code execution or application crashes. CInStream::GetCuSize() in the NTFS handler computes the compression-unit buffer size as (UInt32)1 << (BlockSizeLog + CompressionUnit), and a crafted image with ClusterSizeLog >= 28 and CompressionUnit == 4 drives the exponent to 32, which is undefined behavior and collapses on x86/x64 so _inBuf is allocated as 1 byte. ReadStream_FALSE then writes up to 256 MB of attacker-controlled data into that 1-byte buffer in 64 KB iterations, and because the CInStream object sits only 304 bytes after _inBuf, its vtable pointer is overwritten and the next dispatched call achieves a vtable hijack. On 32-bit builds the overflow is unconditionally reached; on 64-bit it requires the parallel 8 GB _outBuf allocation to succeed, otherwise failing closed to denial of service. The NTFS handler is enabled by default in stock 7z.dll and, via signature-based fallback matching "NTFS " at offset 3, will open a crafted image regardless of file extension during extraction or testing. Version 26.01 fixes the issue.

📍 영향받는 시스템

7-Zip versions 26.00 and prior

⚔️ 공격 벡터

악성 NTFS 이미지 파일을 추출하거나 테스트할 때 자동 실행

🛡️ 대응 방법

7-Zip을 최신 버전(26.01 이상)으로 즉시 업그레이드하십시오.

🔧 검증 코드

출력된 버전 번호가 26.00 이하이면 취약하며, 26.01 이상이면 안전합니다.

Shell / Script
7z.exe i | findstr /i "Version"

📊 CVSS Vector String

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

💻 영향받는 소프트웨어

7-Zip
🇰🇷 KISA(한국인터넷진흥원) 보안 권고 이 CVE에 대한 한국 공식 권고 (1건)
7-Zip 제품 보안 업데이트 권고 P4
📅 2026-05-28 · sec_notice
7-Zip 제품에서 발생하는 Out-of-bounds Write 취약점(CVE-2026-48095)에 대한 보안 업데이트 권고입니다. 26.01 미만 버전을 사용하는 사용자는 보안 위협 방지를 위해 최신 버전인 26.01 이상으로 업데이트해야 합니다.
KISA 원문 →