🔍 CVE-2026-34774

8.1
CVSS Score
HIGH
2026-04-04
2026-07-24 22:10
✅ 완료

🇰🇷 한글 설명

Electron 프레임워크에서 오프스크린 렌더링을 사용하고 window.open()을 통해 자식 창을 허용하는 경우, 부모 창이 파괴된 후 자식 창의 페인트 프레임이 해제된 메모리에 접근하는 Use-After-Free 취약점이 발생합니다. 이로 인해 애플리케이션이 충돌하거나 메모리 오염이 발생할 수 있습니다.

💡 쉬운 설명

프로그램이 이미 삭제된 메모리 공간을 다시 사용하려고 시도할 때 발생하는 오류입니다. 특정 설정을 사용하는 앱에서 창을 닫는 과정 중 프로그램이 갑자기 꺼지거나 해킹될 위험이 있습니다.

🇺🇸 원문 (English)

Electron is a framework for writing cross-platform desktop applications using JavaScript, HTML and CSS. Prior to versions 39.8.1, 40.7.0, and 41.0.0, apps that use offscreen rendering and allow child windows via window.open() may be vulnerable to a use-after-free. If the parent offscreen WebContents is destroyed while a child window remains open, subsequent paint frames on the child dereference freed memory, which may lead to a crash or memory corruption. Apps are only affected if they use offscreen rendering (webPreferences.offscreen: true) and their setWindowOpenHandler permits child windows. Apps that do not use offscreen rendering, or that deny child windows, are not affected. This issue has been patched in versions 39.8.1, 40.7.0, and 41.0.0.

📍 영향받는 시스템

Electron versions prior to 39.8.1, 40.7.0, and 41.0.0 (using offscreen rendering and allowing child windows)

⚔️ 공격 벡터

오프스크린 렌더링을 사용하는 앱에서 부모 창을 파괴한 후 열려 있는 자식 창을 통해 메모리 오염 유도

🛡️ 대응 방법

Electron 버전을 39.8.1, 40.7.0 또는 41.0.0 이상으로 업데이트하십시오.

🔧 검증 코드

출력된 Electron 버전을 확인하여 취약한 버전(39.8.1, 40.7.0, 41.0.0 미만)인지 체크합니다.

Shell / Script
npm list electron

📊 CVSS Vector String

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

💻 영향받는 소프트웨어

Storage Protect Snapshot for Windows