CVE-2025-68160
Last modified
CVE-2025-68160 is a medium-severity vulnerability rated 4.7/10 on the CVSS scale. Issue summary: Writing large, newline-free data into a BIO chain using the line-buffering filter where the next BIO performs short writes can trigger a heap-based out-of-bounds write. Impact summary: This out-of-bounds write can cause memory corruption which typically results in a crash, leading to Denial of Service for an application. The line-buffering BIO filter (BIO_f_linebuffer) is not used by default in TLS/SSL data paths. In OpenSSL command-line applications, it is typically only pushed onto stdout/stderr on VMS systems. EPSS estimates a 0.15% chance of exploitation in the next 30 days.
Description
Issue summary: Writing large, newline-free data into a BIO chain using the line-buffering filter where the next BIO performs short writes can trigger a heap-based out-of-bounds write. Impact summary: This out-of-bounds write can cause memory corruption which typically results in a crash, leading to Denial of Service for an application. The line-buffering BIO filter (BIO_f_linebuffer) is not used by default in TLS/SSL data paths. In OpenSSL command-line applications, it is typically only pushed onto stdout/stderr on VMS systems. Third-party applications that explicitly use this filter with a BIO chain that can short-write and that write large, newline-free data influenced by an attacker would be affected. However, the circumstances where this could happen are unlikely to be under attacker control, and BIO_f_linebuffer is unlikely to be handling non-curated data controlled by an attacker. For that reason the issue was assessed as Low severity. The FIPS modules in 3.6, 3.5, 3.4, 3.3 and 3.0 are not affected by this issue, as the BIO implementation is outside the OpenSSL FIPS module boundary. OpenSSL 3.6, 3.5, 3.4, 3.3, 3.0, 1.1.1 and 1.0.2 are vulnerable to this issue.
Metrics
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Openssl | Openssl | >= 1.0.2, < 1.0.2zn |
| Openssl | Openssl | >= 1.1.1, < 1.1.1ze |
| Openssl | Openssl | >= 3.0.0, < 3.0.19 |
| Openssl | Openssl | >= 3.3.0, < 3.3.6 |
| Openssl | Openssl | >= 3.4.0, < 3.4.4 |
| Openssl | Openssl | >= 3.5.0, < 3.5.5 |
| Openssl | Openssl | >= 3.6.0, < 3.6.1 |
References
- https://openssl-library.org/news/secadv/20260127.txtVendor Advisory
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2025-68160?
How severe is CVE-2025-68160?
How do I fix CVE-2025-68160?
Are you affected by CVE-2025-68160?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
