7.8high
crypto: lzo - Fix compression buffer overrun
- Severity
- 7.8high CVSS:3.1 by Linux
- Exploit likelihood
- 0.21% (higher than 12% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- Linux
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
| Product or package | Versions | Reported by |
|---|---|---|
| Linux Linux | from 64c70b1cf43de158282bc1675918d503e5b15cc1 before 4b173bb2c4665c23f8fcf5241c7b06dfa6b5b111, from 64c70b1cf43de158282bc1675918d503e5b15cc1 before a98bd864e16f91c70b2469adf013d713d04d1d13, from 64c70b1cf43de158282bc1675918d503e5b15cc1 before 0acdc4d6e679ba31d01e3e7e2e4124b76d6d8e2a, from 64c70b1cf43de158282bc1675918d503e5b15cc1 before 7caad075acb634a74911830d6386c50ea12566cd, from 64c70b1cf43de158282bc1675918d503e5b15cc1 before 167373d77c70c2b558aae3e327b115249bb2652c, from 64c70b1cf43de158282bc1675918d503e5b15cc1 before cc47f07234f72cbd8e2c973cdbf2a6730660a463, 2.6.23 Not affected: before 2.6.23, from 5.15.185 up to 5.15.*, from 6.1.141 up to 6.1.*, from 6.6.93 up to 6.6.*, from 6.12.31 up to 6.12.*, from 6.14.9 up to 6.14.* | CVE List |
| linux linux_kernel | before 5.15.185, from 5.16 before 6.1.141, from 6.2 before 6.6.93, from 6.7 before 6.12.31, from 6.13 before 6.14.9 | NVD |
| debian debian_linux | 11.0 | NVD |
All scores
| Linux | 7.8high CVSS:3.1 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| NVD | 7.8high CVSS:3.1 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
Classification
What each source says
CVE List
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.
NVD (es)
En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: crypto: lzo - Corrección de saturación del búfer de compresión. A diferencia del código de descompresión, el código de compresión de LZO nunca verifica si hay saturaciones de salida. En su lugar, asume que quien llama siempre proporciona suficiente espacio en el búfer, sin tener en cuenta la longitud del búfer proporcionada por él. Se ha añadido una interfaz de compresión segura que verifica el final del búfer antes de cada escritura. Se ha utilizado la interfaz segura en crypto/lzo.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2025-38068 changed 2026-08-05 | CVE Terms of Use |
| NVD | CVE-2025-38068 changed 2026-07-30 | Public domain |