What’s Vulnerable › Vulnerabilities

CVE-2025-38068: crypto: lzo - Fix compression buffer overrun

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 products

How to fix

Upgrade to a fixed version: Linux kernel 5.15.185, 6.1.141, 6.12.31, 6.14.9. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2025-38068 or the next vulnerability affects your stack