CVE-2025-68160 Heap out-of-bounds write in BIO_f_linebuffer on short writes
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: no · technical impact: partial
- Technology
- OpenSSLUbuntuDebianRed Hat
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.
Upgrade path
59 packages: 16 fixed, 43 with no fix yet.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| azure linux openvmm(Azure Linux 3.0) | All versions | No fix listed | No fix yet |
| redhat openssl(Red Hat enterprise_linux 8) | All versions | No fix listed | No fix yet |
| redhat openssl(Red Hat jboss_core_services 1) | All versions | No fix listed | No fix yet |
| redhat openssl(Red Hat rhel_els 6) | All versions | No fix listed | No fix yet |
| redhat openssl(Red Hat rhel_els 7) | All versions | No fix listed | No fix yet |
| redhat/cert-manager/cert-manager-istio-csr-rhel9:1791459759(Red Hat cert_manager 1.18 el9) | All versions | No fix listed | No fix yet |
| redhat/cert-manager/cert-manager-operator-bundle:1791966259(Red Hat cert_manager 1.18 el9) | All versions | No fix listed | No fix yet |
| redhat/cert-manager/cert-manager-operator-rhel9:1789029076(Red Hat cert_manager 1.18 el9) | All versions | No fix listed | No fix yet |
| redhat/cert-manager/jetstack-cert-manager-acmesolver-rhel9:1791459707(Red Hat cert_manager 1.18 el9) | All versions | No fix listed | No fix yet |
| redhat/cert-manager/jetstack-cert-manager-rhel9:1791459711(Red Hat cert_manager 1.18 el9) | All versions | No fix listed | No fix yet |
| redhat/compat-openssl10(Red Hat enterprise_linux 8) | All versions | No fix listed | No fix yet |
| redhat/compat-openssl11(Red Hat enterprise_linux 9) | All versions | No fix listed | No fix yet |
| redhat/costmanagement/costmanagement-metrics-rhel9-operator:1770836349(Red Hat cost_management 4 el9) | All versions | No fix listed | No fix yet |
| redhat/discovery/discovery-server-rhel9:1769104765(Red Hat discovery 2 el9) | All versions | No fix listed | No fix yet |
| redhat/discovery/discovery-ui-rhel9:1769111774(Red Hat discovery 2 el9) | All versions | No fix listed | No fix yet |
| redhat/edk2(Red Hat enterprise_linux 10) | All versions | No fix listed | No fix yet |
| redhat/edk2(Red Hat enterprise_linux 8) | All versions | No fix listed | No fix yet |
| redhat/edk2(Red Hat enterprise_linux 9) | All versions | No fix listed | No fix yet |
| redhat/insights-proxy/insights-proxy-container-rhel9:1770740405(Red Hat insights_proxy 1.5 el9) | All versions | No fix listed | No fix yet |
| redhat/mingw-openssl(Red Hat enterprise_linux 8) | All versions | No fix listed | No fix yet |
| redhat/openshift/ose-rhel-coreos-8(Red Hat openshift 4) | All versions | No fix listed | No fix yet |
| redhat/openshift/ose-rhel-coreos-9(Red Hat openshift 4) | All versions | No fix listed | No fix yet |
| redhat/ovmf(Red Hat rhel_els 7) | All versions | No fix listed | No fix yet |
| redhat/rhui5/cds-rhel9:1773670073(Red Hat rhui 5 el9) | All versions | No fix listed | No fix yet |
| redhat/rhui5/haproxy-rhel9:1773672059(Red Hat rhui 5 el9) | All versions | No fix listed | No fix yet |
| redhat/rhui5/installer-rhel9:1770646925(Red Hat rhui 5 el9) | All versions | No fix listed | No fix yet |
| redhat/rhui5/rhua-rhel9:1773670137(Red Hat rhui 5 el9) | All versions | No fix listed | No fix yet |
| redhat/shim(Red Hat enterprise_linux 10) | All versions | No fix listed | No fix yet |
| redhat/shim(Red Hat enterprise_linux 8) | All versions | No fix listed | No fix yet |
| redhat/shim(Red Hat enterprise_linux 9) | All versions | No fix listed | No fix yet |
… and 29 more packages.
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| azure linux openvmm(Azure Linux:3.0) | All versions | No fix listed |
| debian/openssl(Debian:12) | < 3.0.18-1~deb12u2 | 3.0.18-1~deb12u2 |
| debian/openssl(Debian:12) | = 3.0.10-1 | No fix listed |
| debian/openssl(Debian:12) | = 3.0.10-1~deb12u1 | No fix listed |
| debian/openssl(Debian:12) | = 3.0.11-1 | No fix listed |
| debian/openssl(Debian:12) | = 3.0.11-1~deb12u1 | No fix listed |
| debian/openssl(Debian:12) | = 3.0.11-1~deb12u2 | No fix listed |
| debian/openssl(Debian:12) | = 3.0.12-1 | No fix listed |
| debian/openssl(Debian:12) | = 3.0.12-2 | No fix listed |
| debian/openssl(Debian:12) | = 3.0.13-1~deb12u1 | No fix listed |
| debian/openssl(Debian:12) | = 3.0.13-1~deb12u2 | No fix listed |
| debian/openssl(Debian:12) | = 3.0.14-1~deb12u1 | No fix listed |
| debian/openssl(Debian:12) | = 3.0.14-1~deb12u2 | No fix listed |
| debian/openssl(Debian:12) | = 3.0.15-1~deb12u1 | No fix listed |
| debian/openssl(Debian:12) | = 3.0.16-1~deb12u1 | No fix listed |
| debian/openssl(Debian:12) | = 3.0.17-1~deb12u1 | No fix listed |
| debian/openssl(Debian:12) | = 3.0.17-1~deb12u2 | No fix listed |
| debian/openssl(Debian:12) | = 3.0.17-1~deb12u3 | No fix listed |
| debian/openssl(Debian:12) | = 3.0.18-1~deb12u1 | No fix listed |
| debian/openssl(Debian:12) | = 3.0.9-1 | No fix listed |
| debian/openssl(Debian:13) | < 3.5.4-1~deb13u2 | 3.5.4-1~deb13u2 |
| debian/openssl(Debian:13) | = 3.5.1-1 | No fix listed |
| debian/openssl(Debian:13) | = 3.5.1-1+deb13u1 | No fix listed |
| debian/openssl(Debian:13) | = 3.5.2-1 | No fix listed |
| debian/openssl(Debian:13) | = 3.5.3-1 | No fix listed |
Show 71 more
| Product | Affected versions | Fixed in |
|---|---|---|
| debian/openssl(Debian:13) | = 3.5.4-1~deb13u1 | No fix listed |
| debian/openssl(Debian:14) | < 3.5.5-1 | 3.5.5-1 |
| debian/openssl(Debian:14) | = 3.5.1-1 | No fix listed |
| debian/openssl(Debian:14) | = 3.5.2-1 | No fix listed |
| debian/openssl(Debian:14) | = 3.5.3-1 | No fix listed |
| debian/openssl(Debian:14) | = 3.5.4-1 | No fix listed |
| debian/openssl(Debian:14) | = 3.5.4-1~deb13u1 | No fix listed |
| debian/openssl(Debian:14) | = 3.5.4-1~deb13u2 | No fix listed |
| debian/openssl(Debian:14) | = 3.5.5-1~deb13u1 | No fix listed |
| debian/openssl(Debian:14) | = 3.5.5-1~deb13u2 | No fix listed |
| OpenSSL | >= 3.6.0, < 3.6.1 | 3.6.1 |
| OpenSSL | >= 3.5.0, < 3.5.5 | 3.5.5 |
| OpenSSL | >= 3.4.0, < 3.4.4 | 3.4.4 |
| OpenSSL | >= 3.3.0, < 3.3.6 | 3.3.6 |
| OpenSSL | >= 3.0.0, < 3.0.19 | 3.0.19 |
| OpenSSL | >= 1.1.1, < 1.1.1ze | 1.1.1ze |
| OpenSSL | >= 1.0.2, < 1.0.2zn | 1.0.2zn |
| Siemens SIMATIC S7-1500 TM MFP - GNU/Linux subsystem | All versions | No fix listed |
| ubuntu/edk2(Ubuntu:22.04) | All versions | No fix listed |
| ubuntu/openssl(Ubuntu:22.04) | < 3.0.2-0ubuntu1.21 | 3.0.2-0ubuntu1.21 |
| ubuntu/nodejs(Ubuntu:22.04) | All versions | No fix listed |
| redhat openssl(Red Hat:enterprise_linux:10.1) | < 1:3.5.1-7.el10_1 | 1:3.5.1-7.el10_1 |
| redhat openssl(Red Hat:enterprise_linux:9) | < 1:3.5.1-7.el9_7 | 1:3.5.1-7.el9_7 |
| redhat/cert-manager/jetstack-cert-manager-acmesolver-rhel9:1791459707(Red Hat:cert_manager:1.18::el9) | All versions | No fix listed |
| redhat/cert-manager/jetstack-cert-manager-rhel9:1791459711(Red Hat:cert_manager:1.18::el9) | All versions | No fix listed |
| redhat/cert-manager/cert-manager-istio-csr-rhel9:1791459759(Red Hat:cert_manager:1.18::el9) | All versions | No fix listed |
| redhat/cert-manager/cert-manager-operator-rhel9:1789029076(Red Hat:cert_manager:1.18::el9) | All versions | No fix listed |
| redhat/cert-manager/cert-manager-operator-bundle:1791966259(Red Hat:cert_manager:1.18::el9) | All versions | No fix listed |
| redhat/costmanagement/costmanagement-metrics-rhel9-operator:1770836349(Red Hat:cost_management:4::el9) | All versions | No fix listed |
| redhat/discovery/discovery-server-rhel9:1769104765(Red Hat:discovery:2::el9) | All versions | No fix listed |
| redhat/discovery/discovery-ui-rhel9:1769111774(Red Hat:discovery:2::el9) | All versions | No fix listed |
| redhat/openssl-main(Red Hat:hummingbird:1) | < 3.5.6-0.1.hum1 | 3.5.6-0.1.hum1 |
| redhat/insights-proxy/insights-proxy-container-rhel9:1770740405(Red Hat:insights_proxy:1.5::el9) | All versions | No fix listed |
| redhat/rhui5/installer-rhel9:1770646925(Red Hat:rhui:5::el9) | All versions | No fix listed |
| redhat/rhui5/cds-rhel9:1773670073(Red Hat:rhui:5::el9) | All versions | No fix listed |
| redhat/rhui5/haproxy-rhel9:1773672059(Red Hat:rhui:5::el9) | All versions | No fix listed |
| redhat/rhui5/rhua-rhel9:1773670137(Red Hat:rhui:5::el9) | All versions | No fix listed |
| redhat/edk2(Red Hat:enterprise_linux:10) | All versions | No fix listed |
| redhat/shim(Red Hat:enterprise_linux:10) | All versions | No fix listed |
| redhat/shim-unsigned-aarch64(Red Hat:enterprise_linux:10) | All versions | No fix listed |
| redhat/shim-unsigned-x64(Red Hat:enterprise_linux:10) | All versions | No fix listed |
| redhat openssl(Red Hat:rhel_els:6) | All versions | No fix listed |
| redhat openssl(Red Hat:rhel_els:7) | All versions | No fix listed |
| redhat/ovmf(Red Hat:rhel_els:7) | All versions | No fix listed |
| redhat/compat-openssl10(Red Hat:enterprise_linux:8) | All versions | No fix listed |
| redhat/edk2(Red Hat:enterprise_linux:8) | All versions | No fix listed |
| redhat/mingw-openssl(Red Hat:enterprise_linux:8) | All versions | No fix listed |
| redhat openssl(Red Hat:enterprise_linux:8) | All versions | No fix listed |
| redhat/shim(Red Hat:enterprise_linux:8) | All versions | No fix listed |
| redhat/shim-unsigned-x64(Red Hat:enterprise_linux:8) | All versions | No fix listed |
| redhat/compat-openssl11(Red Hat:enterprise_linux:9) | All versions | No fix listed |
| redhat/edk2(Red Hat:enterprise_linux:9) | All versions | No fix listed |
| redhat/shim(Red Hat:enterprise_linux:9) | All versions | No fix listed |
| redhat/shim-unsigned-aarch64(Red Hat:enterprise_linux:9) | All versions | No fix listed |
| redhat/shim-unsigned-x64(Red Hat:enterprise_linux:9) | All versions | No fix listed |
| redhat openssl(Red Hat:jboss_core_services:1) | All versions | No fix listed |
| redhat/openshift/ose-rhel-coreos-8(Red Hat:openshift:4) | All versions | No fix listed |
| redhat/openshift/ose-rhel-coreos-9(Red Hat:openshift:4) | All versions | No fix listed |
| ubuntu/edk2(Ubuntu:24.04) | All versions | No fix listed |
| ubuntu/openssl(Ubuntu:24.04) | < 3.0.13-0ubuntu3.7 | 3.0.13-0ubuntu3.7 |
| ubuntu/edk2(Ubuntu:26.04) | All versions | No fix listed |
| ubuntu/edk2-hwe(Ubuntu:26.04) | All versions | No fix listed |
| ubuntu/openssl(Ubuntu:26.04) | < 3.5.5-1ubuntu1 | 3.5.5-1ubuntu1 |
| ubuntu/edk2(Ubuntu:26.10) | All versions | No fix listed |
| ubuntu/edk2-hwe(Ubuntu:26.10) | All versions | No fix listed |
| alpine/openssl(Alpine:v3.17) | >= 3.0.0, < 3.0.19-r0 | 3.0.19-r0 |
| alpine/openssl(Alpine:v3.20) | >= 3.3.0, < 3.3.6-r0 | 3.3.6-r0 |
| alpine/openssl(Alpine:v3.21) | >= 3.3.0, < 3.3.6-r0 | 3.3.6-r0 |
| alpine/openssl(Alpine:v3.22) | >= 3.5.0, < 3.5.5-r0 | 3.5.5-r0 |
| alpine/openssl(Alpine:v3.23) | >= 3.5.0, < 3.5.5-r0 | 3.5.5-r0 |
| alpine/openssl(Alpine:v3.24) | >= 3.5.0, < 3.5.5-r0 | 3.5.5-r0 |
References
- MSRC Security Update Guide vendor-advisory
- Release Notes vendor-advisory
- Debian Security Tracker CVE-2025-68160 vendor-advisory
- OpenSSL Advisory vendor-advisory
- 3.6.1 git commit patch
- 3.5.5 git commit patch
- 3.4.4 git commit patch
- 3.3.6 git commit patch
- 3.0.19 git commit patch
- cert-portal.siemens.com
- Ubuntu CVE tracker vendor-advisory
- USN-7980-1 vendor-advisory
- USN-7980-2 vendor-advisory
- www.cve.org
- Red Hat CVE page mitigation vendor-advisory
- RHSA-2026:1472 patch vendor-advisory
- RHSA-2026:1473 patch vendor-advisory
- RHSA-2026:82347 patch vendor-advisory
- RHSA-2026:82354 patch vendor-advisory
- RHSA-2026:82372 patch vendor-advisory
- RHSA-2026:82857 patch vendor-advisory
- RHSA-2026:3228 patch vendor-advisory
- RHSA-2026:1736 patch vendor-advisory
- RHSA-2026:7261 patch vendor-advisory
- RHSA-2026:2485 patch vendor-advisory
- RHSA-2026:2563 patch vendor-advisory
- RHSA-2026:4943 patch vendor-advisory
- Red Hat Bugzilla 2430380 issue-tracking
- nvd.nist.gov
- security.alpinelinux.org vendor-advisory
- Release and Advisory Timeline vendor-advisory
- Security advisory list (json) vendor-advisory
- ENISA EUVD EUVD-2025-206397 third-party-advisory