CVE-2025-68160

Source
https://cve.org/CVERecord?id=CVE-2025-68160
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-68160.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2025-68160
Downstream
Related
Published
2026-01-27T16:16:15.900Z
Modified
2026-01-30T22:53:08.792112Z
Severity
  • 4.7 (Medium) CVSS_V3 - CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H CVSS Calculator
Summary
[none]
Details

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 (BIOflinebuffer) 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 BIOflinebuffer 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.

References

Affected packages

Git / github.com/openssl/openssl

Affected ranges

Type
GIT
Repo
https://github.com/openssl/openssl
Events

Affected versions

3.*

3.0-POST-CLANG-FORMAT-WEBKIT
3.0-PRE-CLANG-FORMAT-WEBKIT
3.3-POST-CLANG-FORMAT-WEBKIT
3.3-PRE-CLANG-FORMAT-WEBKIT
3.4-POST-CLANG-FORMAT-WEBKIT
3.4-PRE-CLANG-FORMAT-WEBKIT
3.5-POST-CLANG-FORMAT-WEBKIT
3.5-PRE-CLANG-FORMAT-WEBKIT
3.6-POST-CLANG-FORMAT-WEBKIT
3.6-PRE-CLANG-FORMAT-WEBKIT

Other

BEFORE_engine
OpenSSL_0_9_1c
OpenSSL_0_9_2b
OpenSSL_0_9_3
OpenSSL_0_9_3a
OpenSSL_0_9_3beta2
OpenSSL_0_9_4
OpenSSL_0_9_5a
OpenSSL_0_9_5a-beta1
OpenSSL_0_9_5a-beta2
OpenSSL_0_9_5beta1
OpenSSL_0_9_5beta2
OpenSSL_0_9_6-beta3
OpenSSL_1_1_0-pre1
OpenSSL_1_1_0-pre2
OpenSSL_1_1_0-pre3
OpenSSL_1_1_0-pre4
OpenSSL_1_1_0-pre5
OpenSSL_1_1_0-pre6
OpenSSL_1_1_1
OpenSSL_1_1_1-pre1
OpenSSL_1_1_1-pre2
OpenSSL_1_1_1-pre3
OpenSSL_1_1_1-pre4
OpenSSL_1_1_1-pre5
OpenSSL_1_1_1-pre6
OpenSSL_1_1_1-pre7
OpenSSL_1_1_1-pre8
OpenSSL_1_1_1-pre9
master-post-auto-reformat
master-post-reformat
master-pre-auto-reformat
master-pre-reformat

openssl-3.*

openssl-3.0.0
openssl-3.0.0-alpha1
openssl-3.0.0-alpha10
openssl-3.0.0-alpha11
openssl-3.0.0-alpha12
openssl-3.0.0-alpha13
openssl-3.0.0-alpha14
openssl-3.0.0-alpha15
openssl-3.0.0-alpha16
openssl-3.0.0-alpha17
openssl-3.0.0-alpha2
openssl-3.0.0-alpha3
openssl-3.0.0-alpha4
openssl-3.0.0-alpha5
openssl-3.0.0-alpha6
openssl-3.0.0-alpha7
openssl-3.0.0-alpha8
openssl-3.0.0-alpha9
openssl-3.0.0-beta1
openssl-3.0.0-beta2
openssl-3.0.1
openssl-3.0.10
openssl-3.0.11
openssl-3.0.12
openssl-3.0.13
openssl-3.0.14
openssl-3.0.15
openssl-3.0.16
openssl-3.0.17
openssl-3.0.18
openssl-3.0.2
openssl-3.0.3
openssl-3.0.4
openssl-3.0.5
openssl-3.0.6
openssl-3.0.7
openssl-3.0.8
openssl-3.0.9
openssl-3.2.0-alpha1
openssl-3.2.0-alpha2
openssl-3.3.0
openssl-3.3.0-alpha1
openssl-3.3.0-beta1
openssl-3.3.1
openssl-3.3.2
openssl-3.3.3
openssl-3.3.4
openssl-3.3.5
openssl-3.4.0
openssl-3.4.0-alpha1
openssl-3.4.0-beta1
openssl-3.4.1
openssl-3.4.2
openssl-3.4.3
openssl-3.5.0
openssl-3.5.0-alpha1
openssl-3.5.0-beta1
openssl-3.5.1
openssl-3.5.2
openssl-3.5.3
openssl-3.5.4
openssl-3.6.0
openssl-3.6.0-alpha1
openssl-3.6.0-beta1

Database specific

source

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

vanir_signatures

[
    {
        "source": "https://github.com/openssl/openssl/commit/475c466ef2fbd8fc1df6fae1c3eed9c813fc8ff6",
        "digest": {
            "line_hashes": [
                "326706324675548840343059491432175579308",
                "114844763854417187951168206090197510366",
                "167345785719281904993519213285676239194",
                "257263426464193822686404804161157532412",
                "50859066439319194516902197275909064518",
                "18456403878150118977756109076675068777",
                "52375315159804342268105767276256543041",
                "58506114754643604034222004329137803376"
            ],
            "threshold": 0.9
        },
        "signature_version": "v1",
        "deprecated": false,
        "signature_type": "Line",
        "target": {
            "file": "crypto/bio/bf_lbuf.c"
        },
        "id": "CVE-2025-68160-11f3e179"
    },
    {
        "source": "https://github.com/openssl/openssl/commit/6845c3b6460a98b1ec4e463baa2ea1a63a32d7c0",
        "digest": {
            "line_hashes": [
                "326706324675548840343059491432175579308",
                "114844763854417187951168206090197510366",
                "167345785719281904993519213285676239194",
                "257263426464193822686404804161157532412",
                "50859066439319194516902197275909064518",
                "18456403878150118977756109076675068777",
                "52375315159804342268105767276256543041",
                "58506114754643604034222004329137803376"
            ],
            "threshold": 0.9
        },
        "signature_version": "v1",
        "deprecated": false,
        "signature_type": "Line",
        "target": {
            "file": "crypto/bio/bf_lbuf.c"
        },
        "id": "CVE-2025-68160-193f929b"
    },
    {
        "source": "https://github.com/openssl/openssl/commit/384011202af92605d926fafe4a0bcd6b65d162ad",
        "digest": {
            "length": 1836.0,
            "function_hash": "91143076051739638548163354092603980205"
        },
        "signature_version": "v1",
        "deprecated": false,
        "signature_type": "Function",
        "target": {
            "file": "crypto/bio/bf_lbuf.c",
            "function": "linebuffer_write"
        },
        "id": "CVE-2025-68160-371c2c54"
    },
    {
        "source": "https://github.com/openssl/openssl/commit/384011202af92605d926fafe4a0bcd6b65d162ad",
        "digest": {
            "line_hashes": [
                "326706324675548840343059491432175579308",
                "114844763854417187951168206090197510366",
                "167345785719281904993519213285676239194",
                "257263426464193822686404804161157532412",
                "50859066439319194516902197275909064518",
                "18456403878150118977756109076675068777",
                "52375315159804342268105767276256543041",
                "58506114754643604034222004329137803376"
            ],
            "threshold": 0.9
        },
        "signature_version": "v1",
        "deprecated": false,
        "signature_type": "Line",
        "target": {
            "file": "crypto/bio/bf_lbuf.c"
        },
        "id": "CVE-2025-68160-5f322883"
    },
    {
        "source": "https://github.com/openssl/openssl/commit/475c466ef2fbd8fc1df6fae1c3eed9c813fc8ff6",
        "digest": {
            "length": 1836.0,
            "function_hash": "91143076051739638548163354092603980205"
        },
        "signature_version": "v1",
        "deprecated": false,
        "signature_type": "Function",
        "target": {
            "file": "crypto/bio/bf_lbuf.c",
            "function": "linebuffer_write"
        },
        "id": "CVE-2025-68160-6544ee0a"
    },
    {
        "source": "https://github.com/openssl/openssl/commit/4c96fbba618e1940f038012506ee9e21d32ee12c",
        "digest": {
            "line_hashes": [
                "326706324675548840343059491432175579308",
                "114844763854417187951168206090197510366",
                "167345785719281904993519213285676239194",
                "257263426464193822686404804161157532412",
                "50859066439319194516902197275909064518",
                "18456403878150118977756109076675068777",
                "52375315159804342268105767276256543041",
                "58506114754643604034222004329137803376"
            ],
            "threshold": 0.9
        },
        "signature_version": "v1",
        "deprecated": false,
        "signature_type": "Line",
        "target": {
            "file": "crypto/bio/bf_lbuf.c"
        },
        "id": "CVE-2025-68160-6dcc1b10"
    },
    {
        "source": "https://github.com/openssl/openssl/commit/4c96fbba618e1940f038012506ee9e21d32ee12c",
        "digest": {
            "length": 1842.0,
            "function_hash": "177227187165901619068025629445574661809"
        },
        "signature_version": "v1",
        "deprecated": false,
        "signature_type": "Function",
        "target": {
            "file": "crypto/bio/bf_lbuf.c",
            "function": "linebuffer_write"
        },
        "id": "CVE-2025-68160-cd92b258"
    },
    {
        "source": "https://github.com/openssl/openssl/commit/6845c3b6460a98b1ec4e463baa2ea1a63a32d7c0",
        "digest": {
            "length": 1836.0,
            "function_hash": "91143076051739638548163354092603980205"
        },
        "signature_version": "v1",
        "deprecated": false,
        "signature_type": "Function",
        "target": {
            "file": "crypto/bio/bf_lbuf.c",
            "function": "linebuffer_write"
        },
        "id": "CVE-2025-68160-d2ec84eb"
    },
    {
        "source": "https://github.com/openssl/openssl/commit/68a7cd2e2816c3a02f4d45a2ce43fc04fac97096",
        "digest": {
            "line_hashes": [
                "326706324675548840343059491432175579308",
                "114844763854417187951168206090197510366",
                "167345785719281904993519213285676239194",
                "257263426464193822686404804161157532412",
                "50859066439319194516902197275909064518",
                "18456403878150118977756109076675068777",
                "52375315159804342268105767276256543041",
                "58506114754643604034222004329137803376"
            ],
            "threshold": 0.9
        },
        "signature_version": "v1",
        "deprecated": false,
        "signature_type": "Line",
        "target": {
            "file": "crypto/bio/bf_lbuf.c"
        },
        "id": "CVE-2025-68160-d7ed1c09"
    },
    {
        "source": "https://github.com/openssl/openssl/commit/68a7cd2e2816c3a02f4d45a2ce43fc04fac97096",
        "digest": {
            "length": 1836.0,
            "function_hash": "91143076051739638548163354092603980205"
        },
        "signature_version": "v1",
        "deprecated": false,
        "signature_type": "Function",
        "target": {
            "file": "crypto/bio/bf_lbuf.c",
            "function": "linebuffer_write"
        },
        "id": "CVE-2025-68160-ddc49f75"
    }
]