CyberAlerts is shutting down on June 30th, 2025. Thank you for your support!

CVE-2025-0167: netrc and default credential leak

Description

When asked to use a `.netrc` file for credentials **and** to follow HTTP
redirects, curl could leak the password used for the first host to the
followed-to host under certain circumstances.

This flaw only manifests itself if the netrc file has a `default` entry that
omits both login and password. A rare circumstance.

Classification

CVE ID: CVE-2025-0167

Affected Products

Vendor: curl

Product: curl

Exploit Prediction Scoring System (EPSS)

EPSS Score: 0.05% (probability of being exploited)

EPSS Percentile: 18.33% (scored less or equal to compared to others)

EPSS Date: 2025-03-06 (when was this score calculated)

References

https://curl.se/docs/CVE-2025-0167.json
https://curl.se/docs/CVE-2025-0167.html
https://hackerone.com/reports/2917232

Timeline