Vulnerability · Published Jan 27, 2026 · Assigned by openssl

CVE-2025-68160Heap out-of-bounds write in BIO_f_linebuffer on short writes

Medium 4.7

In plain English

A medium-severity out-of-bounds write in OpenSSL from OpenSSL. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.2% (higher than 9% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)4.7Medium
Exploit odds (30 days)0.2%top 91.4% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

Official 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.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
AlmaLinux:10openssl1:3.5.1-7.el10_1.alma.1ALSA-2026:1472
AlmaLinux:9openssl1:3.5.1-7.el9_7ALSA-2026:1473
AlmaLinux:10openssl-devel1:3.5.1-7.el10_1.alma.1ALSA-2026:1472
AlmaLinux:9openssl-devel1:3.5.1-7.el9_7ALSA-2026:1473
AlmaLinux:10openssl-libs1:3.5.1-7.el10_1.alma.1ALSA-2026:1472
AlmaLinux:9openssl-libs1:3.5.1-7.el9_7ALSA-2026:1473
AlmaLinux:10openssl-perl1:3.5.1-7.el10_1.alma.1ALSA-2026:1472
AlmaLinux:9openssl-perl1:3.5.1-7.el9_7ALSA-2026:1473
Alpine:v3.20openssl3.3.6-r0ALPINE-CVE-2025-68160
Alpine:v3.21openssl3.3.6-r0ALPINE-CVE-2025-68160
Alpine:v3.22openssl3.5.5-r0ALPINE-CVE-2025-68160
Alpine:v3.23openssl3.5.5-r0ALPINE-CVE-2025-68160
Alpine:v3.24openssl3.5.5-r0ALPINE-CVE-2025-68160
Debian:12openssl3.0.18-1~deb12u2DEBIAN-CVE-2025-68160
Debian:12openssl3.0.18-1~deb12u2DSA-6113-1
Debian:13openssl3.5.4-1~deb13u2DSA-6113-1
Debian:13openssl3.5.4-1~deb13u2DEBIAN-CVE-2025-68160
Debian:14openssl3.5.5-1DEBIAN-CVE-2025-68160
Rocky Linux:10openssl1:3.5.1-7.el10_1RLSA-2026:1472
Rocky Linux:9openssl1:3.5.1-7.el9_7RLSA-2026:1473
Ubuntu:22.04:LTSedk2no fix listedUBUNTU-CVE-2025-68160
Ubuntu:24.04:LTSedk2no fix listedUBUNTU-CVE-2025-68160
Ubuntu:25.10edk2no fix listedUBUNTU-CVE-2025-68160
Ubuntu:26.04:LTSedk2no fix listedUBUNTU-CVE-2025-68160
Ubuntu:26.10edk2no fix listedUBUNTU-CVE-2025-68160
Ubuntu:26.04:LTSedk2-hweno fix listedUBUNTU-CVE-2025-68160
Ubuntu:26.10edk2-hweno fix listedUBUNTU-CVE-2025-68160
Ubuntu:22.04:LTSopenssl3.0.2-0ubuntu1.21UBUNTU-CVE-2025-68160
Ubuntu:22.04:LTSopenssl3.0.2-0ubuntu1.21USN-7980-1
Ubuntu:24.04:LTSopenssl3.0.13-0ubuntu3.7UBUNTU-CVE-2025-68160
Ubuntu:24.04:LTSopenssl3.0.13-0ubuntu3.7USN-7980-1
Ubuntu:25.10openssl3.5.3-1ubuntu3USN-7980-1
Ubuntu:25.10openssl3.5.3-1ubuntu3UBUNTU-CVE-2025-68160
Ubuntu:26.04:LTSopenssl3.5.5-1ubuntu1UBUNTU-CVE-2025-68160

Affected products (as reported)

VendorProductVersions
OpenSSL OpenSSL 3.6.0 – before 3.6.13.5.0 – before 3.5.53.4.0 – before 3.4.43.3.0 – before 3.3.63.0.0 – before 3.0.191.1.1 – before 1.1.1ze1.0.2 – before 1.0.2zn

Weakness: CWE-787 · Vector: CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H

References