CVE-2025-38068
crypto: lzo - Fix compression buffer overrun
Mitigation
- No fix listed yet: follow the vendor advisory.
Who should check
- Anyone running Linux >= 64c70b1cf43de158282bc1675918d503e5b15cc1, < 4b173bb2c4665c23f8fcf5241c7b06dfa6b5b111; >= 64c70b1cf43de158282bc1675918d503e5b15cc1, < a98bd864e16f91c70b2469adf013d713d04d1d13; >= 64c70b1cf43de158282bc1675918d503e5b15cc1, < 0acdc4d6e679ba31d01e3e7e2e4124b76d6d8e2a; >= 64c70b1cf43de158282bc1675918d503e5b15cc1, < 7caad075acb634a74911830d6386c50ea12566cd; >= 64c70b1cf43de158282bc1675918d503e5b15cc1, < 167373d77c70c2b558aae3e327b115249bb2652c; >= 64c70b1cf43de158282bc1675918d503e5b15cc1, < cc47f07234f72cbd8e2c973cdbf2a6730660a463
- Anyone running Linux 2.6.23
Vulnerability facts
- Affected
- Linux >= 64c70b1cf43de158282bc1675918d503e5b15cc1, < 4b173bb2c4665c23f8fcf5241c7b06dfa6b5b111; >= 64c70b1cf43de158282bc1675918d503e5b15cc1, < a98bd864e16f91c70b2469adf013d713d04d1d13; >= 64c70b1cf43de158282bc1675918d503e5b15cc1, < 0acdc4d6e679ba31d01e3e7e2e4124b76d6d8e2a; >= 64c70b1cf43de158282bc1675918d503e5b15cc1, < 7caad075acb634a74911830d6386c50ea12566cd; >= 64c70b1cf43de158282bc1675918d503e5b15cc1, < 167373d77c70c2b558aae3e327b115249bb2652c; >= 64c70b1cf43de158282bc1675918d503e5b15cc1, < cc47f07234f72cbd8e2c973cdbf2a6730660a463; Linux 2.6.23
- Fixed in
- Linux 4b173bb2c4665c23f8fcf5241c7b06dfa6b5b111, Linux 0acdc4d6e679ba31d01e3e7e2e4124b76d6d8e2a, Linux 7caad075acb634a74911830d6386c50ea12566cd, Linux 167373d77c70c2b558aae3e327b115249bb2652c
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Not remotely exploitable (local or adjacent access needed)
- CVSS
- 7.8 (v3.1, CNA)CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HOpen in CVSS calculator
Show all 8 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
- EPSS
- 0.31% chance of exploitation in 30 days (percentile 16, 2026-11-26)
- CWE
- CWE-787
- Modified
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 and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Linux | >= 64c70b1cf43de158282bc1675918d503e5b15cc1, < 4b173bb2c4665c23f8fcf5241c7b06dfa6b5b111; >= 64c70b1cf43de158282bc1675918d503e5b15cc1, < a98bd864e16f91c70b2469adf013d713d04d1d13; >= 64c70b1cf43de158282bc1675918d503e5b15cc1, < 0acdc4d6e679ba31d01e3e7e2e4124b76d6d8e2a; >= 64c70b1cf43de158282bc1675918d503e5b15cc1, < 7caad075acb634a74911830d6386c50ea12566cd; >= 64c70b1cf43de158282bc1675918d503e5b15cc1, < 167373d77c70c2b558aae3e327b115249bb2652c; >= 64c70b1cf43de158282bc1675918d503e5b15cc1, < cc47f07234f72cbd8e2c973cdbf2a6730660a463 | — | cvelist |
| Linux | 2.6.23 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2025-38068. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2025-38068.md Affected: Linux >= 64c70b1cf43de158282bc1675918d503e5b15cc1, < 4b173bb2c4665c23f8fcf5241c7b06dfa6b5b111; >= 64c70b1cf43de158282bc1675918d503e5b15cc1, < a98bd864e16f91c70b2469adf013d713d04d1d13; >= 64c70b1cf43de158282bc1675918d503e5b15cc1, < 0acdc4d6e679ba31d01e3e7e2e4124b76d6d8e2a; >= 64c70b1cf43de158282bc16… Fixed in: Linux 4b173bb2c4665c23f8fcf5241c7b06dfa6b5b111, Linux 0acdc4d6e679ba31d01e3e7e2e4124b76d6d8e2a, Linux 7caad075acb634a74911830d6386c50ea12566cd, Linux 167373d77c70c2b558aae3e327b115249bb2652c 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.
References
Patches
- https://git.kernel.org/stable/c/4b173bb2c4665c23f8fcf5241c7b06dfa6b5b111
- https://git.kernel.org/stable/c/a98bd864e16f91c70b2469adf013d713d04d1d13
- https://git.kernel.org/stable/c/0acdc4d6e679ba31d01e3e7e2e4124b76d6d8e2a
- https://git.kernel.org/stable/c/7caad075acb634a74911830d6386c50ea12566cd
- https://git.kernel.org/stable/c/167373d77c70c2b558aae3e327b115249bb2652c
- https://git.kernel.org/stable/c/cc47f07234f72cbd8e2c973cdbf2a6730660a463
FAQ
Is CVE-2025-38068 being exploited?
There is no confirmed exploitation: CVE-2025-38068 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.31% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2025-38068?
High: CVSS 7.8 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).
Which versions are affected by CVE-2025-38068?
Linux >= 64c70b1cf43de158282bc1675918d503e5b15cc1, < 4b173bb2c4665c23f8fcf5241c7b06dfa6b5b111; >= 64c70b1cf43de158282bc1675918d503e5b15cc1, < a98bd864e16f91c70b2469adf013d713d04d1d13; >= 64c70b1cf43de158282bc1675918d503e5b15cc1, < 0acdc4d6e679ba31d01e3e7e2e4124b76d6d8e2a; >= 64c70b1cf43de158282bc1675918d503e5b15cc1, < 7caad075acb634a74911830d6386c50ea12566cd; >= 64c70b1cf43de158282bc1675918d503e5b15cc1, < 167373d77c70c2b558aae3e327b115249bb2652c; >= 64c70b1cf43de158282bc1675918d503e5b15cc1, < cc47f07234f72cbd8e2c973cdbf2a6730660a463; Linux 2.6.23.
Is there a fix for CVE-2025-38068?
Yes. Fixed in Linux 4b173bb2c4665c23f8fcf5241c7b06dfa6b5b111, Linux 0acdc4d6e679ba31d01e3e7e2e4124b76d6d8e2a, Linux 7caad075acb634a74911830d6386c50ea12566cd, Linux 167373d77c70c2b558aae3e327b115249bb2652c. No fix listed yet: follow the vendor advisory.
How do I check if I'm affected by CVE-2025-38068?
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.