Skip to main content
CVE-2025-0167VulnerabilityPublished Updated

When asked to use a .netrc file for credentials and to follow HTTP redirects, curl could leak the password used for

Affects curlSource GCVE Database

0
Compare

Not known to be exploited · CVSS 3.4 Low · fixed in 7.81.0-1ubuntu1.23 : update curl when convenient.

Data as of 24 Nov 2026, 19:43 UTC

CVSS 3.1 base score
3.4Low
How severe the flaw is on the 0–10 CVSS scale.
Patch
Available – fixed in 7.81.0-1ubuntu1.23, 8.5.0-2ubuntu10.8
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:L/I:N/A:N

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 5 Feb 2025

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 23 Nov 2026.

What to do

Upgrade the Ubuntu curl to 7.81.0-1ubuntu1.23 (package) or 8.5.0-2ubuntu10.8 (package).

Affected software

ProductAffectedFixed in
Ubuntu 24.04 LTScurlpkg:deb/ubuntu/curl?arch=source&distro=nobleOther threatsAffected
  • <8.5.0-2ubuntu10.8
Fixed in
  • 8.5.0-2ubuntu10.8
Ubuntu 22.04 LTScurlpkg:deb/ubuntu/curl?arch=source&distro=jammyOther threatsAffected
  • <7.81.0-1ubuntu1.23
Fixed in
  • 7.81.0-1ubuntu1.23

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

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.

References

Community reviews

Loading reviews…