CVE-2025-38068

Source
https://cve.org/CVERecord?id=CVE-2025-38068
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2025-38068.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2025-38068
Downstream
Related
Published
2025-06-18T09:33:46.125Z
Modified
2026-03-20T12:42:40.196178Z
Summary
crypto: lzo - Fix compression buffer overrun
Details

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.

Database specific
{
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/38xxx/CVE-2025-38068.json",
    "cna_assigner": "Linux"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
64c70b1cf43de158282bc1675918d503e5b15cc1
Fixed
4b173bb2c4665c23f8fcf5241c7b06dfa6b5b111
Fixed
a98bd864e16f91c70b2469adf013d713d04d1d13
Fixed
0acdc4d6e679ba31d01e3e7e2e4124b76d6d8e2a
Fixed
7caad075acb634a74911830d6386c50ea12566cd
Fixed
167373d77c70c2b558aae3e327b115249bb2652c
Fixed
cc47f07234f72cbd8e2c973cdbf2a6730660a463

Database specific

source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2025-38068.json"