CVE-2025-48038
Erlang OTP vulnerability analysis and mitigation

Overview

CVE-2025-48038 is a vulnerability in the SSH/SFTP implementation of Erlang/OTP discovered and disclosed on September 10, 2025. The vulnerability affects all versions of OTP from 17.0 onwards and ssh versions >= 3.0.1. The issue allows authenticated SFTP users to potentially cause excessive CPU and memory usage on the server side by exploiting unverified file handles (GitHub Advisory).

Technical details

The vulnerability stems from the SFTP server's failure to properly validate file handle sizes. According to the SFTP specification (draft-ietf-secsh-filexfer-02), file handle strings must not exceed 256 bytes. The vulnerability exists in the handling of SFTP operations including CLOSE, FSETSTAT, FSTAT, READ, READDIR, and WRITE commands when processing file handles. The issue has been assigned a CVSS v4.0 score of 5.3 (Moderate) with the vector string CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N (GitHub Advisory).

Impact

When exploited, this vulnerability can lead to excessive CPU and memory consumption on systems running the affected versions of Erlang/OTP's SSH/SFTP server. This resource exhaustion can potentially affect system stability and availability of the server (GitHub Advisory).

Mitigation and workarounds

The vulnerability has been patched in OTP versions 28.0.3, 27.3.4.3, and 26.2.5.15, and ssh versions 5.3.3, 5.2.11.3, and 5.1.4.12. For systems that cannot immediately update, temporary workarounds include disabling SFTP functionality or limiting the number of maximum SSH sessions allowed for sshd to complicate exploitation attempts (GitHub Advisory).

Additional resources


SourceThis report was generated using AI

Related Erlang OTP vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-32433CRITICAL10
  • CBL MarinerCBL Mariner
  • erlang26-debugger
YesYesApr 16, 2025
CVE-2025-48041HIGH7.1
  • Erlang OTPErlang OTP
  • cpe:2.3:a:erlang:erlang\/otp
NoYesSep 11, 2025
CVE-2025-48040MEDIUM6.9
  • Erlang OTPErlang OTP
  • cpe:2.3:a:erlang:erlang\/otp
NoYesSep 11, 2025
CVE-2025-48039MEDIUM5.3
  • Erlang OTPErlang OTP
  • erlang
NoYesSep 11, 2025
CVE-2025-48038MEDIUM5.3
  • Erlang OTPErlang OTP
  • cpe:2.3:a:erlang:erlang\/otp
NoYesSep 11, 2025

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management