---
id: CVE-2025-1386
aliases:
  - GHSA-m454-3xv7-qj85
  - GO-2025-3603
title: CVE-2025-1386- Query smuggling in ch-go library
summary: CVE-2025-1386- Query smuggling in ch-go library
severity: medium
vendor: ClickHouse
product: github.com/ClickHouse/ch-go
ecosystem: go
affected:
  - github.com/ClickHouse/ch-go < 0.65.0
patched:
  - github.com/ClickHouse/ch-go 0.65.0
published: '2025-04-12'
updated: '2026-08-13'
source: OSV
sourceUrl: 'https://osv.dev/vulnerability/GHSA-m454-3xv7-qj85'
references:
  - url: >-
      https://github.com/ClickHouse/ch-go/security/advisories/GHSA-m454-3xv7-qj85
  - url: 'https://nvd.nist.gov/vuln/detail/CVE-2025-1386'
  - url: >-
      https://github.com/ClickHouse/ch-go/commit/0e835663df32b09b828528c07a5507686e6d975e
  - url: 'https://github.com/ClickHouse/ch-go'
  - url: 'https://pkg.go.dev/vuln/GO-2025-3603'
tags:
  - osv
  - go
epss: 0.00384
epssPercentile: 0.323
ingestedAt: '2026-08-14T19:18:46.002Z'
---

## Overview

### Impact

When using the ch-go library, under a specific condition when the query includes a large, uncompressed malicious external data, it is possible for an attacker in control of such data to smuggle another query packet into the connection stream.

### Patches

If you are using ch-go library, we recommend you to update to at least version 0.65.0.

### Credit

This issue was found by lixts and reported through our bugcrowd program.

## Affected packages

- `github.com/ClickHouse/ch-go < 0.65.0`

## Remediation

Upgrade to a patched release:

- `github.com/ClickHouse/ch-go 0.65.0`
