🔍 CVE-2026-107816

6.4
CVSS Score
MEDIUM
2026-10-09
2026-10-14 14:12
✅ 완료

🇰🇷 한글 설명

MariaDB의 qc_info 플러그인에서 널 바이트(null bytes)가 포함된 쿼리를 처리할 때 혼동이 발생하는 취약점입니다. 이로 인해 information_schema.query_cache_info를 읽을 때 힙 할당 버퍼의 범위를 벗어난 데이터에 접근하여 인접 메모리가 노출되거나 서버가 충돌할 수 있습니다.

💡 쉬운 설명

데이터베이스에 특수한 문자가 포함된 명령을 보내면, 프로그램이 데이터의 끝을 제대로 인식하지 못해 메모리의 엉뚱한 부분을 읽게 됩니다. 이 과정에서 중요한 정보가 유출되거나 데이터베이스 서비스가 갑자기 멈출 수 있습니다.

🇺🇸 원문 (English)

MariaDB server is a community developed fork of MySQL server. From 10.6.1 until 10.6.28, 10.11.19, 11.4.13, 11.8.9, 12.3.3, and 13.0.2, the qc_info plugin could be confused by a query containing embedded null bytes. Reading information_schema.query_cache_info after such a query was cached could access data beyond the end of a heap-allocated buffer, potentially disclosing adjacent memory or crashing the server. This issue is fixed in versions 10.6.28, 10.11.19, 11.4.13, 11.8.9, 12.3.3, and 13.0.2.

📍 영향받는 시스템

MariaDB 10.6.1~10.6.28, 10.11.19, 11.4.13, 11.8.9, 12.3.3, 13.0.2 미만 버전

⚔️ 공격 벡터

널 바이트가 포함된 악의적인 SQL 쿼리를 실행하여 메모리 경계 초과 접근 유도

🛡️ 대응 방법

MariaDB를 최신 보안 패치 버전(10.6.28, 10.11.19, 11.4.13, 11.8.9, 12.3.3, 13.0.2 이상)으로 업데이트

🔧 검증 코드

출력된 버전 번호가 취약점이 해결된 버전(예: 10.6.28 이상 등)인지 확인

Shell / Script
mariadb --version 2>/dev/null | grep -oE '[0-9]+\.[0-9]+\.[0-9]+'

📊 CVSS Vector String

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

💻 영향받는 소프트웨어

MariaDB