CVE-2025-68160Heap out-of-bounds write in BIO_f_linebuffer on short writes
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.
What to do
Fixed builds are available from AlmaLinux, Alpine, Debian, Red Hat, Rocky Linux, Ubuntu: see the table below for the fixed version per release.
Red Hat, Ubuntu have not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 26.10 | edk2 | Fix pending | UBUNTU-CVE-2025-68160 | |
| Ubuntu 26.10 | edk2-hwe | Fix pending | UBUNTU-CVE-2025-68160 | |
| Ubuntu 26.04 | edk2 | Under investigation | UBUNTU-CVE-2025-68160 | |
| Ubuntu 26.04 | edk2-hwe | Under investigation | UBUNTU-CVE-2025-68160 | |
| Ubuntu 26.04 | nodejs | Not affected vulnerable_code_not_present | ||
| Ubuntu 26.04 | openssl | Fixed | 3.5.5-1ubuntu1 | UBUNTU-CVE-2025-68160 |
| Ubuntu 25.10 | edk2 | Will not fix edk2 in jammy embeds OpenSSL 1.1.1j edk2 in noble embeds OpenSSL 3.0.9 edk2 in plucky embeds OpenSSL 3.4.0 edk2 in questing embeds OpenSSL 3.4.0 3.6, 3.5,… | UBUNTU-CVE-2025-68160 | |
| Ubuntu 25.10 | nodejs | Not affected vulnerable_code_not_present | ||
| Ubuntu 25.10 | openssl | Fixed | 3.5.3-1ubuntu3 | UBUNTU-CVE-2025-68160 |
| Ubuntu 24.04 | edk2 | Under investigation | UBUNTU-CVE-2025-68160 | |
| Ubuntu 24.04 | nodejs | Not affected vulnerable_code_not_present | ||
| Ubuntu 24.04 | openssl | Fixed | 3.0.13-0ubuntu3.7 | UBUNTU-CVE-2025-68160 |
| Ubuntu 22.04 | edk2 | Under investigation | UBUNTU-CVE-2025-68160 | |
| Ubuntu 22.04 | nodejs | Fix pending | UBUNTU-CVE-2025-68160 | |
| Ubuntu 22.04 | openssl | Fixed | 3.0.2-0ubuntu1.21 | UBUNTU-CVE-2025-68160 |
| Ubuntu 20.04 | edk2 | Fix pending | UBUNTU-CVE-2025-68160 | |
| Ubuntu 20.04 | openssl | Fix pending | 1.1.1f-1ubuntu2.24+esm2 (Ubuntu Pro) | UBUNTU-CVE-2025-68160 |
| Ubuntu 18.04 | edk2 | Fix pending | UBUNTU-CVE-2025-68160 | |
| Ubuntu 18.04 | nodejs | Fix pending | UBUNTU-CVE-2025-68160 | |
| Ubuntu 18.04 | openssl | Fix pending | 1.1.1-1ubuntu2.1~18.04.23+esm7 (Ubuntu Pro) | UBUNTU-CVE-2025-68160 |
| Ubuntu 18.04 | openssl1.0 | Fix pending | 1.0.2n-1ubuntu5.13+esm3 (Ubuntu Pro) | UBUNTU-CVE-2025-68160 |
| Ubuntu 16.04 | edk2 | Fix pending | UBUNTU-CVE-2025-68160 | |
| Ubuntu 16.04 | nodejs | Fix pending | UBUNTU-CVE-2025-68160 | |
| Ubuntu 16.04 | openssl | Fix pending | 1.0.2g-1ubuntu4.20+esm14 (Ubuntu Pro) | UBUNTU-CVE-2025-68160 |
| Ubuntu 14.04 | openssl | Fix pending | 1.0.1f-1ubuntu2.27+esm12 (Ubuntu Pro) | UBUNTU-CVE-2025-68160 |
| Debian 14 | openssl | Fixed | 3.5.5-1 | DEBIAN-CVE-2025-68160 |
| Debian 13 | openssl | Fixed | 3.5.4-1~deb13u2 | DEBIAN-CVE-2025-68160 |
| Debian 12 | openssl | Fixed | 3.0.18-1~deb12u2 | DEBIAN-CVE-2025-68160 |
| Red Hat Enterprise Linux 10 | edk2 | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | edk2-aarch64 | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | edk2-ovmf | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | edk2-tools | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | edk2-tools-doc | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | mokutil | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | openssl | Fixed | 1:3.5.1-7.el10_1 | RHSA-2026:1472 |
| Red Hat Enterprise Linux 10 | openssl-devel | Fixed | 1:3.5.1-7.el10_1 | RHSA-2026:1472 |
| Red Hat Enterprise Linux 10 | openssl-libs | Fixed | 1:3.5.1-7.el10_1 | RHSA-2026:1472 |
| Red Hat Enterprise Linux 10 | openssl-perl | Fixed | 1:3.5.1-7.el10_1 | RHSA-2026:1472 |
| Red Hat Enterprise Linux 10 | shim-aa64 | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | shim-unsigned-aarch64 | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | shim-unsigned-x64 | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | shim-x64 | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | compat-openssl11 | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | edk2 | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | edk2-aarch64 | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | edk2-ovmf | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | edk2-tools | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | edk2-tools-doc | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | openssl | Fixed | 1:3.5.1-7.el9_7 | RHSA-2026:1473 |
| Red Hat Enterprise Linux 9 | openssl-devel | Fixed | 1:3.5.1-7.el9_7 | RHSA-2026:1473 |
| Red Hat Enterprise Linux 9 | openssl-libs | Fixed | 1:3.5.1-7.el9_7 | RHSA-2026:1473 |
| Red Hat Enterprise Linux 9 | openssl-perl | Fixed | 1:3.5.1-7.el9_7 | RHSA-2026:1473 |
| Red Hat Enterprise Linux 9 | shim | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | shim-aa64 | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | shim-unsigned-aarch64 | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | shim-unsigned-x64 | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | shim-x64 | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | compat-openssl10 | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | edk2 | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | edk2-aarch64 | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | edk2-ovmf | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | mingw-openssl | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | mingw32-openssl | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | mingw64-openssl | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | openssl | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | openssl-devel | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | openssl-libs | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | openssl-perl | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | openssl-static | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | shim | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | shim-aa64 | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | shim-ia32 | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | shim-unsigned-x64 | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | shim-x64 | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 7 | AAVMF | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 7 | OVMF | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 7 | openssl | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 7 | openssl-devel | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 7 | openssl-libs | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 7 | openssl-perl | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 7 | openssl-static | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 7 | ovmf | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 6 | openssl | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 6 | openssl-devel | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 6 | openssl-perl | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 6 | openssl-static | Fix pending Fix deferred | ||
| AlmaLinux 10 | openssl | Fixed | 1:3.5.1-7.el10_1.alma.1 | ALSA-2026:1472 |
| AlmaLinux 10 | openssl-devel | Fixed | 1:3.5.1-7.el10_1.alma.1 | ALSA-2026:1472 |
| AlmaLinux 10 | openssl-libs | Fixed | 1:3.5.1-7.el10_1.alma.1 | ALSA-2026:1472 |
| AlmaLinux 10 | openssl-perl | Fixed | 1:3.5.1-7.el10_1.alma.1 | ALSA-2026:1472 |
| AlmaLinux 9 | openssl | Fixed | 1:3.5.1-7.el9_7 | ALSA-2026:1473 |
| AlmaLinux 9 | openssl-devel | Fixed | 1:3.5.1-7.el9_7 | ALSA-2026:1473 |
| AlmaLinux 9 | openssl-libs | Fixed | 1:3.5.1-7.el9_7 | ALSA-2026:1473 |
| AlmaLinux 9 | openssl-perl | Fixed | 1:3.5.1-7.el9_7 | ALSA-2026:1473 |
| Rocky Linux 10 | openssl | Fixed | 1:3.5.1-7.el10_1 | RLSA-2026:1472 |
| Rocky Linux 9 | openssl | Fixed | 1:3.5.1-7.el9_7 | RLSA-2026:1473 |
| Alpine Linux 3.24 | openssl | Fixed | 3.5.5-r0 | ALPINE-CVE-2025-68160 |
| Alpine Linux 3.23 | openssl | Fixed | 3.5.5-r0 | ALPINE-CVE-2025-68160 |
| Alpine Linux 3.22 | openssl | Fixed | 3.5.5-r0 | ALPINE-CVE-2025-68160 |
| Alpine Linux 3.21 | openssl | Fixed | 3.3.6-r0 | ALPINE-CVE-2025-68160 |
| Alpine Linux 3.20 | openssl | Fixed | 3.3.6-r0 | ALPINE-CVE-2025-68160 |
| Alpine Linux 3.17 | openssl | Fixed | 3.0.19-r0 | ALPINE-CVE-2025-68160 |
What the vendor says
As published in the CVE record by openssl, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- OpenSSL: affected: 3.6.0 to before 3.6.1, 3.5.0 to before 3.5.5, 3.4.0 to before 3.4.4, 3.3.0 to before 3.3.6, 3.0.0 to before 3.0.19, 1.1.1 to before 1.1.1ze; fixed in
3.6.1,3.5.5,3.4.4,3.3.6,3.0.19,1.1.1ze
Vendor advisories:
- https://openssl-library.org/news/secadv/20260127.txt (vendor-advisory)
- https://github.com/openssl/openssl/commit/4c96fbba618e1940f038012506ee9e21d32ee12c (patch)
- https://github.com/openssl/openssl/commit/6845c3b6460a98b1ec4e463baa2ea1a63a32d7c0 (patch)
- https://github.com/openssl/openssl/commit/68a7cd2e2816c3a02f4d45a2ce43fc04fac97096 (patch)
- https://github.com/openssl/openssl/commit/384011202af92605d926fafe4a0bcd6b65d162ad (patch)
- https://github.com/openssl/openssl/commit/475c466ef2fbd8fc1df6fae1c3eed9c813fc8ff6 (patch)
References
- https://openssl-library.org/news/secadv/20260127.txt
- https://github.com/openssl/openssl/commit/4c96fbba618e1940f038012506ee9e21d32ee12c
- https://github.com/openssl/openssl/commit/6845c3b6460a98b1ec4e463baa2ea1a63a32d7c0
- https://github.com/openssl/openssl/commit/68a7cd2e2816c3a02f4d45a2ce43fc04fac97096
- https://github.com/openssl/openssl/commit/384011202af92605d926fafe4a0bcd6b65d162ad
- https://github.com/openssl/openssl/commit/475c466ef2fbd8fc1df6fae1c3eed9c813fc8ff6
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.