3.6 CVE-2025-61985

Enriched by CISA
 

ssh in OpenSSH before 10.1 allows the '' character in an ssh:// URI, potentially leading to code execution when a ProxyCommand is used.
https://nvd.nist.gov/vuln/detail/CVE-2025-61985

Categories

CWE-158 : Improper Neutralization of Null Byte or NUL Character
As data is parsed, an injected NUL character or null byte may cause the product to believe the input is terminated earlier than it actually is, or otherwise cause the input to be misinterpreted. This could then be used to inject potentially dangerous input that occurs after the null byte or otherwise bypass validation routines and other protection mechanisms.

References


 

AFFECTED (from MITRE)


Vendor Product Versions
OpenBSD OpenSSH
  • < 10.1 [affected]
© 2022 The MITRE Corporation. This work is reproduced and distributed with the permission of The MITRE Corporation.

CPE

cpe start end
Configuration 1
cpe:2.3:a:openbsd:openssh:*:*:*:*:*:*:*:* < 10.1


REMEDIATION




EXPLOITS


Exploit-db.com

id description date
No known exploits

POC Github

Url
No known exploits

Other Nist (github, ...)

Url
No known exploits


CAPEC


Common Attack Pattern Enumerations and Classifications

id description severity
52 Embedding NULL Bytes
High
53 Postfix, Null Terminate, and Backslash
High