CVE-2025-38068

crypto: lzo - Fix compression buffer overrun

HIGH
7.8
CVSS Score
Published: June 18, 2025 at 09:33 AM UTC
Updated: August 5, 2026 at 12:44 PM UTC
2 products affected across 2 vendorsLinux KernelDebian Linux

Using Linux by Linux?

Get instant alerts when new vulnerabilities affect Linux - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
HIGH7.8
Exploit prediction
EPSS 0.2%

Description

In the Linux kernel, the following vulnerability has been resolved: crypto: lzo - Fix compression buffer overrun Unlike the decompression code, the compression code in LZO never checked for output overruns. It instead assumes that the caller always provides enough buffer space, disregarding the buffer length provided by the caller. Add a safe compression interface that checks for the end of buffer before each write. Use the safe interface in crypto/lzo.

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

v < 5.15.1852.6.23 ≤ v < 5.15.1852.6.23 ≤ v < 6.1.1412.6.23 ≤ v < 6.12.312.6.23 ≤ v < 6.14.92.6.23 ≤ v < 6.152.6.23 ≤ v < 6.6.935.16 ≤ v < 6.1.1416.13 ≤ v < 6.14.96.2 ≤ v < 6.6.936.7 ≤ v < 6.12.312.6.2364c70b1cf43de158282bc1675918d503e5b15cc1
Vendor states this is fixed in 0acdc4d6e679ba31d01e3e7e2e4124b76d6d8e2a (fixed)
Vendor states this is fixed in 167373d77c70c2b558aae3e327b115249bb2652c (fixed)
Vendor states this is fixed in 4b173bb2c4665c23f8fcf5241c7b06dfa6b5b111 (fixed)
Vendor states this is fixed in 7caad075acb634a74911830d6386c50ea12566cd (fixed)
Vendor states this is fixed in a98bd864e16f91c70b2469adf013d713d04d1d13 (fixed)
Vendor states this is fixed in cc47f07234f72cbd8e2c973cdbf2a6730660a463 (fixed)
Vendor states this is fixed in 2.6.23 (unaffected)
Vendor states this is fixed in 5.15.185 (unaffected)
Vendor states this is fixed in 6.1.141 (unaffected)
Vendor states this is fixed in 6.12.31 (unaffected)
Vendor states this is fixed in 6.14.9 (unaffected)
Vendor states this is fixed in 6.15 (unaffected)
Vendor states this is fixed in 6.6.93 (unaffected)

References (7)

Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/0acdc4d6e679ba31d01e3e7e2e4124b76d6d8e2a
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/167373d77c70c2b558aae3e327b115249bb2652c
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/4b173bb2c4665c23f8fcf5241c7b06dfa6b5b111
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/7caad075acb634a74911830d6386c50ea12566cd
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/a98bd864e16f91c70b2469adf013d713d04d1d13
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/cc47f07234f72cbd8e2c973cdbf2a6730660a463
Third Party Advisory
Source: af854a3a-2127-422b-91ae-364da2661108
https://lists.debian.org/debian-lts-announce/2025/10/msg00008.html

CVSS

7.8HIGHLinux
Vector?

Quick Info

StatusMODIFIED
CWE
CWE-787

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card