CVE-2025-61985: Medium severity OpenSSH OpenSSH vulnerability

Published Oct 6, 2025
·
Updated

ssh in OpenSSH before 10.1 allows the '\0' character in an ssh:// URI, potentially leading to code execution when a ProxyCommand is used.

Affected Software

3 affected componentsFixes available
OpenSSH OpenSSH<10.1
Microsoft cbl2 openssh 8.9p1-8
Microsoft azl3 openssh 9.8p1-4

Event History

Oct 6, 2025
CVE Published
via MITRE·12:00 AM
Data Sourced
via MITRE·12:00 AM
DescriptionSeverityWeakness
Data Sourced
via Red Hat·07:01 PM
DescriptionSeverityAffected Software
Data Sourced
via NVD·07:15 PM
DescriptionSeverityWeakness
Oct 8, 2025
Data Sourced
via Microsoft·01:02 AM
DescriptionSeverityWeakness
Data Sourced
via Microsoft·01:02 AM
Affected Software
Updated
via Microsoft·01:02 AM
DescriptionSeverity
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2025-61985?

CVE-2025-61985 is classified as a high severity vulnerability due to the potential for code execution.

2

How do I fix CVE-2025-61985?

To fix CVE-2025-61985, upgrade OpenSSH to version 10.1 or later.

3

What does CVE-2025-61985 affect?

CVE-2025-61985 affects OpenSSH versions prior to 10.1, specifically regarding the handling of '\0' characters in ssh:// URIs.

4

Can CVE-2025-61985 lead to remote code execution?

Yes, CVE-2025-61985 can lead to remote code execution when using a ProxyCommand with vulnerable versions of OpenSSH.

5

Is CVE-2025-61985 a local or remote vulnerability?

CVE-2025-61985 is primarily considered a remote vulnerability due to exploitation through crafted ssh:// URIs.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203