# CVE-2025-0167: 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.

- Web page: https://patchblox.com/security/cve/CVE-2025-0167
- Priority: Routine
- CVSS: 3.4 (low)
- EPSS: 0.0075
- CISA KEV: not listed
- Exploited (vendor report): no
- Publicly disclosed: no
- Published: Feb 4, 2025

## 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.

## Where it's fixed

| Platform | Product | Fixed in | Fix | Released |
|---|---|---|---|---|
| Linux | curl Debian 12.15 (bookworm) | 7.88.1-10+deb12u11 | [DEBIAN-CVE-2025-0167](https://patchblox.com/security/data/fix/linux/debian-cve-2025-0167.md) | Feb 5, 2025 |
| Linux | curl Debian 13.5 (trixie) | 8.12.0+git20250209.89ed161+ds-1 | [DEBIAN-CVE-2025-0167](https://patchblox.com/security/data/fix/linux/debian-cve-2025-0167.md) | Feb 5, 2025 |
| Linux | curl Debian 14 | 8.12.0+git20250209.89ed161+ds-1 | [DEBIAN-CVE-2025-0167](https://patchblox.com/security/data/fix/linux/debian-cve-2025-0167.md) | Feb 5, 2025 |
| Linux | curl Ubuntu 22.04.1 LTS (jammy) | 7.81.0-1ubuntu1.23 | [curl 7.81.0-1ubuntu1.23](https://patchblox.com/security/data/fix/linux/ubuntu-jammy-curl-7.81.0-1ubuntu1.23.md) | Mar 11, 2026 |
| Linux | curl Ubuntu 24.04.5 LTS (noble) | 8.5.0-2ubuntu10.8 | [curl 8.5.0-2ubuntu10.8](https://patchblox.com/security/data/fix/linux/ubuntu-noble-curl-8.5.0-2ubuntu10.8.md) | Mar 11, 2026 |
| Linux | curl amzn 2023 | 8.15.0-4.amzn2023.0.1 | [ALAS2023-2025-1351](https://patchblox.com/security/data/fix/linux/alas2023-2025-1351.md) | Jan 7, 2026 |
| Linux | curl opensuse-leap 15.6 | 8.6.0-150600.4.21.1 | [SUSE-SU-2025:0369-1](https://patchblox.com/security/data/fix/linux/suse-su-2025-0369-1.md) | Feb 5, 2025 |
| Linux | curl sles 15.6 | 8.6.0-150600.4.21.1 | [SUSE-SU-2025:0369-1](https://patchblox.com/security/data/fix/linux/suse-su-2025-0369-1.md) | Feb 5, 2025 |
| Linux | curl-debuginfo amzn 2023 | 8.15.0-4.amzn2023.0.1 | [ALAS2023-2025-1351](https://patchblox.com/security/data/fix/linux/alas2023-2025-1351.md) | Jan 7, 2026 |
| Linux | curl-debugsource amzn 2023 | 8.15.0-4.amzn2023.0.1 | [ALAS2023-2025-1351](https://patchblox.com/security/data/fix/linux/alas2023-2025-1351.md) | Jan 7, 2026 |
| Linux | curl-minimal amzn 2023 | 8.15.0-4.amzn2023.0.1 | [ALAS2023-2025-1351](https://patchblox.com/security/data/fix/linux/alas2023-2025-1351.md) | Jan 7, 2026 |
| Linux | curl-minimal-debuginfo amzn 2023 | 8.15.0-4.amzn2023.0.1 | [ALAS2023-2025-1351](https://patchblox.com/security/data/fix/linux/alas2023-2025-1351.md) | Jan 7, 2026 |
| Linux | libcurl amzn 2023 | 8.15.0-4.amzn2023.0.1 | [ALAS2023-2025-1351](https://patchblox.com/security/data/fix/linux/alas2023-2025-1351.md) | Jan 7, 2026 |
| Linux | libcurl-debuginfo amzn 2023 | 8.15.0-4.amzn2023.0.1 | [ALAS2023-2025-1351](https://patchblox.com/security/data/fix/linux/alas2023-2025-1351.md) | Jan 7, 2026 |
| Linux | libcurl-devel amzn 2023 | 8.15.0-4.amzn2023.0.1 | [ALAS2023-2025-1351](https://patchblox.com/security/data/fix/linux/alas2023-2025-1351.md) | Jan 7, 2026 |
| Linux | libcurl-minimal amzn 2023 | 8.15.0-4.amzn2023.0.1 | [ALAS2023-2025-1351](https://patchblox.com/security/data/fix/linux/alas2023-2025-1351.md) | Jan 7, 2026 |
| Linux | libcurl-minimal-debuginfo amzn 2023 | 8.15.0-4.amzn2023.0.1 | [ALAS2023-2025-1351](https://patchblox.com/security/data/fix/linux/alas2023-2025-1351.md) | Jan 7, 2026 |
| Linux | libcurl3-gnutls Ubuntu 22.04.1 LTS (jammy) | 7.81.0-1ubuntu1.23 | [libcurl3-gnutls 7.81.0-1ubuntu1.23](https://patchblox.com/security/data/fix/linux/ubuntu-jammy-libcurl3-gnutls-7.81.0-1ubuntu1.23.md) | Mar 11, 2026 |
| Linux | libcurl3-nss Ubuntu 22.04.1 LTS (jammy) | 7.81.0-1ubuntu1.23 | [libcurl3-nss 7.81.0-1ubuntu1.23](https://patchblox.com/security/data/fix/linux/ubuntu-jammy-libcurl3-nss-7.81.0-1ubuntu1.23.md) | Mar 11, 2026 |
| Linux | libcurl3t64-gnutls Ubuntu 24.04.5 LTS (noble) | 8.5.0-2ubuntu10.8 | [libcurl3t64-gnutls 8.5.0-2ubuntu10.8](https://patchblox.com/security/data/fix/linux/ubuntu-noble-libcurl3t64-gnutls-8.5.0-2ubuntu10.8.md) | Mar 11, 2026 |
| Linux | libcurl4 Ubuntu 22.04.1 LTS (jammy) | 7.81.0-1ubuntu1.23 | [libcurl4 7.81.0-1ubuntu1.23](https://patchblox.com/security/data/fix/linux/ubuntu-jammy-libcurl4-7.81.0-1ubuntu1.23.md) | Mar 11, 2026 |
| Linux | libcurl4t64 Ubuntu 24.04.5 LTS (noble) | 8.5.0-2ubuntu10.8 | [libcurl4t64 8.5.0-2ubuntu10.8](https://patchblox.com/security/data/fix/linux/ubuntu-noble-libcurl4t64-8.5.0-2ubuntu10.8.md) | Mar 11, 2026 |

---

Data as of 2026-11-08T00:53:09Z UTC. Source: Patchblox Patch Radar (https://patchblox.com/security/patch-radar). Patchblox finds out-of-date software on Windows, macOS and Linux and updates it through release rings: https://patchblox.com/demo

Free to use with attribution: show "Data: Patchblox Patch Radar" with a link to https://patchblox.com/security/patch-radar. Terms, including what needs a written agreement: https://patchblox.com/security/patch-radar/use-the-data

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.
