CVE-2025-38068

crypto: lzo - Fix compression buffer overrun

State
Published
Severity
7.8 High
Published
Jun 18, 2025
Updated
Aug 5, 2026
Reserved
Apr 16, 2025

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
3.17.8 HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HLinux

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • 64c70b1cf43de158282bc1675918d503e5b15cc1 to before 4b173bb2c4665c23f8fcf5241c7b06dfa6b5b111Affected
  • 64c70b1cf43de158282bc1675918d503e5b15cc1 to before a98bd864e16f91c70b2469adf013d713d04d1d13Affected
  • 64c70b1cf43de158282bc1675918d503e5b15cc1 to before 0acdc4d6e679ba31d01e3e7e2e4124b76d6d8e2aAffected
  • 64c70b1cf43de158282bc1675918d503e5b15cc1 to before 7caad075acb634a74911830d6386c50ea12566cdAffected
  • 64c70b1cf43de158282bc1675918d503e5b15cc1 to before 167373d77c70c2b558aae3e327b115249bb2652cAffected
  • 64c70b1cf43de158282bc1675918d503e5b15cc1 to before cc47f07234f72cbd8e2c973cdbf2a6730660a463Affected
LinuxLinux
  • 2.6.23Affected
  • before 2.6.23Not affected
  • 5.15.185 through 5.15.*Not affected
  • 6.1.141 through 6.1.*Not affected
  • 6.6.93 through 6.6.*Not affected
  • 6.12.31 through 6.12.*Not affected
  • 6.14.9 through 6.14.*Not affected
  • 6.15 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.