← CVE Intelligence

CVE-2025-38068

crypto: lzo - Fix compression buffer overrun PUBLISHED

Description (CNA)

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 (CNA)

Vendor / productVersions
Linux / Linuxaffected 64c70b1cf43de158282bc1675918d503e5b15cc1 before 4b173bb2c4665c23f8fcf5241c7b06dfa6b5b111; affected 64c70b1cf43de158282bc1675918d503e5b15cc1 before a98bd864e16f91c70b2469adf013d713d04d1d13; affected 64c70b1cf43de158282bc1675918d503e5b15cc1 before 0acdc4d6e679ba31d01e3e7e2e4124b76d6d8e2a; affected 64c70b1cf43de158282bc1675918d503e5b15cc1 before 7caad075acb634a74911830d6386c50ea12566cd; affected 64c70b1cf43de158282bc1675918d503e5b15cc1 before 167373d77c70c2b558aae3e327b115249bb2652c; affected 64c70b1cf43de158282bc1675918d503e5b15cc1 before cc47f07234f72cbd8e2c973cdbf2a6730660a463
Linux / Linuxaffected 2.6.23; unaffected 0 before 2.6.23; unaffected 5.15.185 through 5.15.*; unaffected 6.1.141 through 6.1.*; unaffected 6.6.93 through 6.6.*; unaffected 6.12.31 through 6.12.*; unaffected 6.14.9 through 6.14.*; unaffected 6.15 through *

CWE

No CWE identifiers supplied.

References

ADP enrichment

CVE

No English description supplied.