curl: When asked to use a `.netrc` file for credentials **and** to follow HTTP redirects, curl could leak the password used...
CVE-2025-0167 is fixed in 15 products on 1 platform, first by DEBIAN-CVE-2025-0167, released February 5, 2025. It is not reported as exploited. Patch Radar priority: Routine.
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.
Where it's fixed
| Product | Fixed in | Fix | Released |
|---|---|---|---|
| Linux | |||
| curl · Debian 12.15 (bookworm) | 7.88.1-10+deb12u11 | DEBIAN-CVE-2025-0167 | Feb 5, 2025 |
| curl · Debian 13.5 (trixie) | 8.12.0+git20250209.89ed161+ds-1 | DEBIAN-CVE-2025-0167 | Feb 5, 2025 |
| curl · Debian 14 | 8.12.0+git20250209.89ed161+ds-1 | DEBIAN-CVE-2025-0167 | Feb 5, 2025 |
| curl · Ubuntu 22.04.1 LTS (jammy) | 7.81.0-1ubuntu1.23 | curl 7.81.0-1ubuntu1.23 | Mar 11, 2026 |
| curl · Ubuntu 24.04.5 LTS (noble) | 8.5.0-2ubuntu10.8 | curl 8.5.0-2ubuntu10.8 | Mar 11, 2026 |
| curl · amzn 2023 | 8.15.0-4.amzn2023.0.1 | ALAS2023-2025-1351 | Jan 7, 2026 |
| curl · opensuse-leap 15.6 | 8.6.0-150600.4.21.1 | SUSE-SU-2025:0369-1 | Feb 5, 2025 |
| curl · sles 15.6 | 8.6.0-150600.4.21.1 | SUSE-SU-2025:0369-1 | Feb 5, 2025 |
| curl-debuginfo · amzn 2023 | 8.15.0-4.amzn2023.0.1 | ALAS2023-2025-1351 | Jan 7, 2026 |
| curl-debugsource · amzn 2023 | 8.15.0-4.amzn2023.0.1 | ALAS2023-2025-1351 | Jan 7, 2026 |
| curl-minimal · amzn 2023 | 8.15.0-4.amzn2023.0.1 | ALAS2023-2025-1351 | Jan 7, 2026 |
| curl-minimal-debuginfo · amzn 2023 | 8.15.0-4.amzn2023.0.1 | ALAS2023-2025-1351 | Jan 7, 2026 |
| libcurl · amzn 2023 | 8.15.0-4.amzn2023.0.1 | ALAS2023-2025-1351 | Jan 7, 2026 |
| libcurl-debuginfo · amzn 2023 | 8.15.0-4.amzn2023.0.1 | ALAS2023-2025-1351 | Jan 7, 2026 |
| libcurl-devel · amzn 2023 | 8.15.0-4.amzn2023.0.1 | ALAS2023-2025-1351 | Jan 7, 2026 |
| libcurl-minimal · amzn 2023 | 8.15.0-4.amzn2023.0.1 | ALAS2023-2025-1351 | Jan 7, 2026 |
| libcurl-minimal-debuginfo · amzn 2023 | 8.15.0-4.amzn2023.0.1 | ALAS2023-2025-1351 | Jan 7, 2026 |
| libcurl3-gnutls · Ubuntu 22.04.1 LTS (jammy) | 7.81.0-1ubuntu1.23 | libcurl3-gnutls 7.81.0-1ubuntu1.23 | Mar 11, 2026 |
| libcurl3-nss · Ubuntu 22.04.1 LTS (jammy) | 7.81.0-1ubuntu1.23 | libcurl3-nss 7.81.0-1ubuntu1.23 | Mar 11, 2026 |
| libcurl3t64-gnutls · Ubuntu 24.04.5 LTS (noble) | 8.5.0-2ubuntu10.8 | libcurl3t64-gnutls 8.5.0-2ubuntu10.8 | Mar 11, 2026 |
| libcurl4 · Ubuntu 22.04.1 LTS (jammy) | 7.81.0-1ubuntu1.23 | libcurl4 7.81.0-1ubuntu1.23 | Mar 11, 2026 |
| libcurl4t64 · Ubuntu 24.04.5 LTS (noble) | 8.5.0-2ubuntu10.8 | libcurl4t64 8.5.0-2ubuntu10.8 | Mar 11, 2026 |
Patch Radar data is free to use with attribution. Terms and how to credit it.
Product names, logos and trademarks shown on Patch Radar belong to their respective owners. They are used only to identify the software each security fix applies to and to help readers find their platform. Their use does not imply any affiliation with, or endorsement by, those owners, and Patchblox is not affiliated with any of them.