CVE-2025-38068 json
crypto: lzo - Fix compression buffer overrun
published last yr. modified 3mo ago also EUVD-2025-18585
- cvss
- 7.8
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.2%
- EPSS 0.2% chance of exploitation in 30 days, percentile 10%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- Linux Linux 5.15.185, 6.1.141, 6.6.93, 6.12.31, 6.14.9, 6.15
- linux Debian 12 6.1.147-1
- linux Debian 14, Debian 13 6.12.32-1
debian advisories DEBIAN-CVE-2025-38068
- linux Ubuntu 22.04 LTS 5.15.0-152.162
- linux Ubuntu 24.04 LTS 6.8.0-100.100
- linux-aws Ubuntu 22.04 LTS 5.15.0-1090.97
- linux-aws Ubuntu 24.04 LTS 6.8.0-1046.49
- linux-gcp Ubuntu 22.04 LTS 5.15.0-1090.99
- linux-gcp Ubuntu 24.04 LTS 6.8.0-1047.50
- linux-gke Ubuntu 22.04 LTS 5.15.0-1087.93
- linux-gke Ubuntu 24.04 LTS 6.8.0-1043.48
ubuntu advisories UBUNTU-CVE-2025-38068
Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- kernel-64kb SLES 15 SP4-LTSS, SLE High Performance Computing 15 SP4-LTSS, SLE High Performance Computing 15 SP4-ESPOS 5.14.21-150400.24.194.1
- kernel-syms SLES for SAP 15 SP4, SLES 15 SP4-LTSS, SLE High Performance Computing 15 SP4-LTSS +1 more 5.14.21-150400.24.194.1
- kernel-source SLES for SAP 15 SP4, SLES 15 SP4-LTSS, SLE High Performance Computing 15 SP4-LTSS +1 more 5.14.21-150400.24.194.1
- kernel-default SLES for SAP 15 SP4, SLES 15 SP4-LTSS, SLE Micro 5.4 +5 more 5.14.21-150400.24.194.1
- kernel-obs-build SLES for SAP 15 SP4, SLES 15 SP4-LTSS, SLE High Performance Computing 15 SP4-LTSS +1 more 5.14.21-150400.24.194.1
- kernel-default-base SLES for SAP 15 SP4, SLES 15 SP4-LTSS, SLE Micro 5.4 +3 more 5.14.21-150400.24.194.1.150400.24.98.3
- kernel-rt SLE Micro 5.5 5.14.21-150500.13.121.1
- kernel-source-rt SLE Micro 5.5 5.14.21-150500.13.121.1
suse advisories SUSE-SU-2026:0617-1SUSE-SU-2026:0496-1SUSE-SU-2026:0474-1SUSE-SU-2026:0411-1SUSE-SU-2026:0369-1SUSE-SU-2026:0350-1
- git.kernel.org/stable/c/4b173bb2c4665c23f8fcf5241c7b06dfa6b5b111 commit
- git.kernel.org/stable/c/a98bd864e16f91c70b2469adf013d713d04d1d13 commit
- git.kernel.org/stable/c/0acdc4d6e679ba31d01e3e7e2e4124b76d6d8e2a commit
- git.kernel.org/stable/c/7caad075acb634a74911830d6386c50ea12566cd commit
- git.kernel.org/stable/c/167373d77c70c2b558aae3e327b115249bb2652c commit
- git.kernel.org/stable/c/cc47f07234f72cbd8e2c973cdbf2a6730660a463 commit
Is CVE-2025-38068 in your stack? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.
Check with FencerVendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2025-38068 updated cvss 7.0
kernel: Linux kernel: LZO compression buffer overrun due to insufficient output buffer checks
-
Red Hat Enterprise Linux 7 kernel-rt, kernel-rt-kvm, kernel-rt-trace, kernel-rt-debug-kvm, kernel-rt-trace-kvm Red Hat Enterprise Linux 8 kernel-rt, kernel-rt-kvm, kernel-rt-core, kernel-rt-modules, kernel-rt-debug-kvm, kernel-rt-debug-core, +6 more Red Hat Enterprise Linux 9 kernel-rt, kernel-rt-selftests-internalaffected: workaround, no fix available
-
Red Hat Enterprise Linux 6 perf, kernel, python-perf, kernel-kdump, kernel-firmware, kernel-bootwrapper, +1 morenot affected: vulnerable code not present
-
Red Hat Enterprise Linux 7 perf, kernel, bpftool, python-perf, kernel-kdump, kernel-tools, +3 more Red Hat Enterprise Linux 8 perf, kernel, bpftool, kernel-core, kernel-tools, python3-perf, +17 more Red Hat Enterprise Linux 9 rv, perf, rtla, kernel, bpftool, libperf, +82 more Red Hat Enterprise Linux 10 kernelnot affected: vulnerable code cannot be controlled by adversary
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Exploit prediction
0.20% chance of exploitation in the next 30 days, higher than 10% of all scored CVEs (FIRST EPSS, 2026-11-09).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 7.8 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| NVD | 3.1 | 7.8 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
Affected products
- Linux Linux
Classification
- Weakness
-
- CWE-787 Out-of-bounds Write
- Technology feeds
References
-
git.kernel.org
/stable/c/4b173bb2c4665c23f8fcf5241c7b06dfa6b5b111
patch
-
git.kernel.org
/stable/c/a98bd864e16f91c70b2469adf013d713d04d1d13
patch
-
git.kernel.org
/stable/c/0acdc4d6e679ba31d01e3e7e2e4124b76d6d8e2a
patch
-
git.kernel.org
/stable/c/7caad075acb634a74911830d6386c50ea12566cd
patch
-
git.kernel.org
/stable/c/167373d77c70c2b558aae3e327b115249bb2652c
patch
-
git.kernel.org
/stable/c/cc47f07234f72cbd8e2c973cdbf2a6730660a463
patch
-
lists.debian.org
/debian-lts-announce/2025/10/msg00008.html
third-party-advisory
Sources
- CVE List CVE-2025-38068
- NVD CVE-2025-38068
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.