{"id":"CVE-2025-68160","state":"PUBLISHED","title":"Heap out-of-bounds write in BIO_f_linebuffer on short writes","description":"Issue summary: Writing large, newline-free data into a BIO chain using the\nline-buffering filter where the next BIO performs short writes can trigger\na heap-based out-of-bounds write.\n\nImpact summary: This out-of-bounds write can cause memory corruption which\ntypically results in a crash, leading to Denial of Service for an application.\n\nThe line-buffering BIO filter (BIO_f_linebuffer) is not used by default in\nTLS/SSL data paths. In OpenSSL command-line applications, it is typically\nonly pushed onto stdout/stderr on VMS systems. Third-party applications that\nexplicitly use this filter with a BIO chain that can short-write and that\nwrite large, newline-free data influenced by an attacker would be affected.\nHowever, the circumstances where this could happen are unlikely to be under\nattacker control, and BIO_f_linebuffer is unlikely to be handling non-curated\ndata controlled by an attacker. For that reason the issue was assessed as\nLow severity.\n\nThe FIPS modules in 3.6, 3.5, 3.4, 3.3 and 3.0 are not affected by this issue,\nas the BIO implementation is outside the OpenSSL FIPS module boundary.\n\nOpenSSL 3.6, 3.5, 3.4, 3.3, 3.0, 1.1.1 and 1.0.2 are vulnerable to this issue.","publishedAt":"2026-01-27T16:01:23.181Z","updatedAt":"2026-10-15T01:09:37.639Z","severity":{"score":4.7,"label":"Medium","version":"3.1","vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H","source":"CISA-ADP"},"assigner":"openssl","products":["OpenSSL OpenSSL"],"affected":[{"vendor":"OpenSSL","product":"OpenSSL","defaultStatus":"unaffected","versions":[{"version":"3.6.0","status":"affected","lessThan":"3.6.1","versionType":"semver"},{"version":"3.5.0","status":"affected","lessThan":"3.5.5","versionType":"semver"},{"version":"3.4.0","status":"affected","lessThan":"3.4.4","versionType":"semver"},{"version":"3.3.0","status":"affected","lessThan":"3.3.6","versionType":"semver"},{"version":"3.0.0","status":"affected","lessThan":"3.0.19","versionType":"semver"},{"version":"1.1.1","status":"affected","lessThan":"1.1.1ze","versionType":"custom"},{"version":"1.0.2","status":"affected","lessThan":"1.0.2zn","versionType":"custom"}]}],"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","https://cert-portal.siemens.com/productcert/html/ssa-265688.html"],"weaknesses":["CWE-787"],"ingestedAt":"2026-10-29T20:09:56.034Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2025/68xxx/CVE-2025-68160.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2025-68160","state":"PUBLISHED","datePublished":"2026-01-27T16:01:23.181Z","dateUpdated":"2026-10-15T01:09:37.639Z","assignerShortName":"openssl","assignerOrgId":"3a12439a-ef3a-4c79-92e6-6081a721f1e5","dateReserved":"2025-12-16T09:20:53.257Z"},"containers":{"cna":{"title":"Heap out-of-bounds write in BIO_f_linebuffer on short writes","descriptions":[{"lang":"en","value":"Issue summary: Writing large, newline-free data into a BIO chain using the\nline-buffering filter where the next BIO performs short writes can trigger\na heap-based out-of-bounds write.\n\nImpact summary: This out-of-bounds write can cause memory corruption which\ntypically results in a crash, leading to Denial of Service for an application.\n\nThe line-buffering BIO filter (BIO_f_linebuffer) is not used by default in\nTLS/SSL data paths. In OpenSSL command-line applications, it is typically\nonly pushed onto stdout/stderr on VMS systems. Third-party applications that\nexplicitly use this filter with a BIO chain that can short-write and that\nwrite large, newline-free data influenced by an attacker would be affected.\nHowever, the circumstances where this could happen are unlikely to be under\nattacker control, and BIO_f_linebuffer is unlikely to be handling non-curated\ndata controlled by an attacker. For that reason the issue was assessed as\nLow severity.\n\nThe FIPS modules in 3.6, 3.5, 3.4, 3.3 and 3.0 are not affected by this issue,\nas the BIO implementation is outside the OpenSSL FIPS module boundary.\n\nOpenSSL 3.6, 3.5, 3.4, 3.3, 3.0, 1.1.1 and 1.0.2 are vulnerable to this issue."}],"affected":[{"vendor":"OpenSSL","product":"OpenSSL","defaultStatus":"unaffected","versions":[{"version":"3.6.0","status":"affected","lessThan":"3.6.1","versionType":"semver"},{"version":"3.5.0","status":"affected","lessThan":"3.5.5","versionType":"semver"},{"version":"3.4.0","status":"affected","lessThan":"3.4.4","versionType":"semver"},{"version":"3.3.0","status":"affected","lessThan":"3.3.6","versionType":"semver"},{"version":"3.0.0","status":"affected","lessThan":"3.0.19","versionType":"semver"},{"version":"1.1.1","status":"affected","lessThan":"1.1.1ze","versionType":"custom"},{"version":"1.0.2","status":"affected","lessThan":"1.0.2zn","versionType":"custom"}]}],"references":[{"url":"https://openssl-library.org/news/secadv/20260127.txt","name":"OpenSSL Advisory","tags":["vendor-advisory"]},{"url":"https://github.com/openssl/openssl/commit/4c96fbba618e1940f038012506ee9e21d32ee12c","name":"3.6.1 git commit","tags":["patch"]},{"url":"https://github.com/openssl/openssl/commit/6845c3b6460a98b1ec4e463baa2ea1a63a32d7c0","name":"3.5.5 git commit","tags":["patch"]},{"url":"https://github.com/openssl/openssl/commit/68a7cd2e2816c3a02f4d45a2ce43fc04fac97096","name":"3.4.4 git commit","tags":["patch"]},{"url":"https://github.com/openssl/openssl/commit/384011202af92605d926fafe4a0bcd6b65d162ad","name":"3.3.6 git commit","tags":["patch"]},{"url":"https://github.com/openssl/openssl/commit/475c466ef2fbd8fc1df6fae1c3eed9c813fc8ff6","name":"3.0.19 git commit","tags":["patch"]}],"metrics":[{"format":"other","other":{"content":{"text":"Low"},"type":"https://openssl-library.org/policies/general/security-policy/"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-787","description":"CWE-787 Out-of-bounds Write","lang":"en","type":"CWE"}]}],"providerMetadata":{"shortName":"openssl","orgId":"3a12439a-ef3a-4c79-92e6-6081a721f1e5","dateUpdated":"2026-01-27T16:01:23.181Z"},"credits":[{"lang":"en","type":"reporter","value":"Petr Šimeček (Aisle Research)"},{"lang":"en","type":"reporter","value":"Stanislav Fort (Aisle Research)"},{"lang":"en","type":"remediation developer","value":"Stanislav Fort (Aisle Research)"},{"lang":"en","type":"remediation developer","value":"Neil Horman"}],"datePublic":"2026-01-27T14:00:00.000Z","source":{"discovery":"UNKNOWN"},"x_generator":{"engine":"Vulnogram 0.2.0"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"cvssV3_1":{"scope":"UNCHANGED","version":"3.1","baseScore":4.7,"attackVector":"LOCAL","baseSeverity":"MEDIUM","vectorString":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H","integrityImpact":"NONE","userInteraction":"NONE","attackComplexity":"HIGH","availabilityImpact":"HIGH","privilegesRequired":"LOW","confidentialityImpact":"NONE"}},{"other":{"type":"ssvc","content":{"timestamp":"2026-01-29T15:04:54.880991Z","id":"CVE-2025-68160","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-01-29T15:06:04.443Z"}},{"affected":[{"vendor":"Siemens","product":"SIMATIC S7-1500 TM MFP - GNU/Linux subsystem","defaultStatus":"unknown","versions":[{"version":"0","status":"affected","lessThan":"*","versionType":"custom"}]}],"references":[{"url":"https://cert-portal.siemens.com/productcert/html/ssa-265688.html"}],"providerMetadata":{"shortName":"siemens-SADP","orgId":"0b142b55-0307-4c5a-b3c9-f314f3fb7c5e","dateUpdated":"2026-10-15T01:09:37.639Z"},"x_adpType":"supplier"}]}}}