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

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 7.8
- **CVSS:** 7.8 (v3.1, CNA) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: High; Integrity impact: High; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.36% (percentile 23, 2026-11-26)
- **CWE:** CWE-120
- **Published:** 2024-03-18T10:07:47.204Z
- **Modified:** 2026-10-15T01:17:14.500Z

## Who should check

- Anyone running Linux \>= 1ab53a77b772bf7369464a0e4fa6fd6499acf8f1, \< 1142d65c5b881590962ad763f94505b6dd67d2fe; \>= 1ab53a77b772bf7369464a0e4fa6fd6499acf8f1, \< e0e3f4a18784182cfe34e20c00eca11e78d53e76; \>= 1ab53a77b772bf7369464a0e4fa6fd6499acf8f1, \< 4518dc468cdd796757190515a9be7408adc8911e; \>= 1ab53a77b772bf7369464a0e4fa6fd6499acf8f1, \< a5f2f91b3fd7387e5102060809316a0f8f0bc625; \>= 1ab53a77b772bf7369464a0e4fa6fd6499acf8f1, \< 4df0c942d04a67df174195ad8082f6e30e7f71a5; \>= 1ab53a77b772bf7369464a0e4fa6fd6499acf8f1, \< 7d9e5bed036a7f9e2062a137e97e3c1e77fb8759; \>= 1ab53a77b772bf7369464a0e4fa6fd6499acf8f1, \< 71c6670f9f032ec67d8f4e3f8db4646bf5a62883; \>= 1ab53a77b772bf7369464a0e4fa6fd6499acf8f1, \< 744e1885922a9943458954cfea917b31064b4131
- Anyone running Linux 4.10

## 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.

## Affected and fixed versions

- Linux: \>= 1ab53a77b772bf7369464a0e4fa6fd6499acf8f1, \< 1142d65c5b881590962ad763f94505b6dd67d2fe; \>= 1ab53a77b772bf7369464a0e4fa6fd6499acf8f1, \< e0e3f4a18784182cfe34e20c00eca11e78d53e76; \>= 1ab53a77b772bf7369464a0e4fa6fd6499acf8f1, \< 4518dc468cdd796757190515a9be7408adc8911e; \>= 1ab53a77b772bf7369464a0e4fa6fd6499acf8f1, \< a5f2f91b3fd7387e5102060809316a0f8f0bc625; \>= 1ab53a77b772bf7369464a0e4fa6fd6499acf8f1, \< 4df0c942d04a67df174195ad8082f6e30e7f71a5; \>= 1ab53a77b772bf7369464a0e4fa6fd6499acf8f1, \< 7d9e5bed036a7f9e2062a137e97e3c1e77fb8759; \>= 1ab53a77b772bf7369464a0e4fa6fd6499acf8f1, \< 71c6670f9f032ec67d8f4e3f8db4646bf5a62883; \>= 1ab53a77b772bf7369464a0e4fa6fd6499acf8f1, \< 744e1885922a9943458954cfea917b31064b4131 (cvelist)
- Linux: 4.10 (cvelist)

## Mitigation

- Upgrade Linux to 744e1885922a9943458954cfea917b31064b4131 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2023-52612. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2023-52612.md
Affected: Linux >= 1ab53a77b772bf7369464a0e4fa6fd6499acf8f1, < 1142d65c5b881590962ad763f94505b6dd67d2fe; >= 1ab53a77b772bf7369464a0e4fa6fd6499acf8f1, < e0e3f4a18784182cfe34e20c00eca11e78d53e76; >= 1ab53a77b772bf7369464a0e4fa6fd6499acf8f1, < 4518dc468cdd796757190515a9be7408adc8911e; >= 1ab53a77b772bf7369464a0…
Fixed in: Linux 1142d65c5b881590962ad763f94505b6dd67d2fe, Linux 4518dc468cdd796757190515a9be7408adc8911e, Linux 4df0c942d04a67df174195ad8082f6e30e7f71a5, Linux 7d9e5bed036a7f9e2062a137e97e3c1e77fb8759, Linux 71c6670f9f032ec67d8f4e3f8db4646bf5a62883, Linux 744e1885922a9943458954cfea917b31064b4131

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2023-52612 being exploited?

There is no confirmed exploitation: CVE-2023-52612 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.36% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2023-52612?

High: CVSS 7.8 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2023-52612?

Linux \>= 1ab53a77b772bf7369464a0e4fa6fd6499acf8f1, \< 1142d65c5b881590962ad763f94505b6dd67d2fe; \>= 1ab53a77b772bf7369464a0e4fa6fd6499acf8f1, \< e0e3f4a18784182cfe34e20c00eca11e78d53e76; \>= 1ab53a77b772bf7369464a0e4fa6fd6499acf8f1, \< 4518dc468cdd796757190515a9be7408adc8911e; \>= 1ab53a77b772bf7369464a0e4fa6fd6499acf8f1, \< a5f2f91b3fd7387e5102060809316a0f8f0bc625; \>= 1ab53a77b772bf7369464a0e4fa6fd6499acf8f1, \< 4df0c942d04a67df174195ad8082f6e30e7f71a5; \>= 1ab53a77b772bf7369464a0e4fa6fd6499acf8f1, \< 7d9e5bed036a7f9e2062a137e97e3c1e77fb8759; \>= 1ab53a77b772bf7369464a0e4fa6fd6499acf8f1, \< 71c6670f9f032ec67d8f4e3f8db4646bf5a62883; \>= 1ab53a77b772bf7369464a0e4fa6fd6499acf8f1, \< 744e1885922a9943458954cfea917b31064b4131; Linux 4.10.

### Is there a fix for CVE-2023-52612?

Yes. Fixed in Linux 1142d65c5b881590962ad763f94505b6dd67d2fe, Linux 4518dc468cdd796757190515a9be7408adc8911e, Linux 4df0c942d04a67df174195ad8082f6e30e7f71a5, Linux 7d9e5bed036a7f9e2062a137e97e3c1e77fb8759, Linux 71c6670f9f032ec67d8f4e3f8db4646bf5a62883, Linux 744e1885922a9943458954cfea917b31064b4131. Upgrade Linux to 744e1885922a9943458954cfea917b31064b4131 or later.

### How do I check if I'm affected by CVE-2023-52612?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- patch: <https://git.kernel.org/stable/c/1142d65c5b881590962ad763f94505b6dd67d2fe>
- patch: <https://git.kernel.org/stable/c/e0e3f4a18784182cfe34e20c00eca11e78d53e76>
- patch: <https://git.kernel.org/stable/c/4518dc468cdd796757190515a9be7408adc8911e>
- patch: <https://git.kernel.org/stable/c/a5f2f91b3fd7387e5102060809316a0f8f0bc625>
- patch: <https://git.kernel.org/stable/c/4df0c942d04a67df174195ad8082f6e30e7f71a5>
- patch: <https://git.kernel.org/stable/c/7d9e5bed036a7f9e2062a137e97e3c1e77fb8759>
- patch: <https://git.kernel.org/stable/c/71c6670f9f032ec67d8f4e3f8db4646bf5a62883>
- patch: <https://git.kernel.org/stable/c/744e1885922a9943458954cfea917b31064b4131>
- other: <https://lists.debian.org/debian-lts-announce/2024/06/msg00016.html>
- other: <https://lists.debian.org/debian-lts-announce/2024/06/msg00020.html>
- other: <https://cert-portal.siemens.com/productcert/html/ssa-398330.html>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2023-52612>

HTML: <https://flawdb.com/CVE-2023-52612> · JSON: <https://flawdb.com/api/v1/entries/CVE-2023-52612>
