sops icon indicating copy to clipboard operation
sops copied to clipboard

CVE-2025-61729

Open Tortenschmeisser opened this issue 9 months ago • 0 comments

https://nvd.nist.gov/vuln/detail/CVE-2025-61729

Within HostnameError.Error(), when constructing an error string, there is no limit to the number of hosts that will be printed out. Furthermore, the error string is constructed by repeated string concatenation, leading to quadratic runtime. Therefore, a certificate provided by a malicious actor can result in excessive resource consumption.

Location: usr/local/bin/sops Component Name: stdlib Component Version: v1.25.5

crypto/x509: golang: Denial of Service due to excessive resource consumption via crafted certificate

Target: usr/local/bin/sops

Type: gobinary

Fixed version: 1.24.11, 1.25.5

Within HostnameError.Error(), when constructing an error string, there is no limit to the number of hosts that will be printed out. Furthermore, the error string is constructed by repeated string concatenation, leading to quadratic runtime. Therefore, a certificate provided by a malicious actor can result in excessive resource consumption.

Tortenschmeisser avatar Feb 09 '26 13:02 Tortenschmeisser