Skip to content
Fencer Vulns
low 3.4

CVE-2025-0167 json

netrc and default credential leak

published 2025-02-05 21 mo ago modified 2026-10-15 25 d ago also EUVD-2025-1518 , GHSA-c42g-rmxf-64ch , JLSEC-2026-420

cvss
3.4
version 3.1, CNA
cisa kev
Not listed
not in CISA's catalog
epss
0.7%
EPSS 0.7% chance of exploitation in 30 days, percentile 55%
public exploits
0
none known

Summary

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.

Patch / fix

  • julia CURL_jll 8.13.0+0
  • julia LibCURL_jll 8.12.0+0
  • Siemens RUGGEDCOM RST2428P V3.3
  • Siemens SCALANCE XC-300/XR-300/XC-400/XR-500WG/XR-500 family V3.3
  • Siemens SCALANCE XCH328 V3.3
  • Siemens SCALANCE XCM324 V3.3
  • Siemens SCALANCE XCM328 V3.3
  • Siemens SCALANCE XCM332 V3.3
  • Siemens SCALANCE XRH334 (24 V DC, 8xFO, CC) V3.3
  • Siemens SCALANCE XRM334 (230 V AC, 12xFO) V3.3
  • Siemens SCALANCE XRM334 (230 V AC, 8xFO) V3.3
  • Siemens SCALANCE XRM334 (230V AC, 2x10G, 24xSFP, 8xSFP+) V3.3
  • Siemens SCALANCE XRM334 (24 V DC, 12xFO) V3.3
  • Siemens SCALANCE XRM334 (24 V DC, 8xFO) V3.3
  • Siemens SCALANCE XRM334 (24V DC, 2x10G, 24xSFP, 8xSFP+) V3.3
  • Siemens SCALANCE XRM334 (2x230 V AC, 12xFO) V3.3
  • Siemens SCALANCE XRM334 (2x230 V AC, 8xFO) V3.3
  • Siemens SCALANCE XRM334 (2x230V AC, 2x10G, 24xSFP, 8xSFP+) V3.3
  • Siemens SIMATIC S7-1500 CPU 1518-4 PN/DP MFP V3.1.5
  • Siemens SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP V3.1.5
  • Siemens SIPLUS S7-1500 CPU 1518-4 PN/DP MFP V3.1.5
  • curl Debian 12 7.88.1-10+deb12u11
  • curl Debian 14, Debian 13 8.12.0+git20250209.89ed161+ds-1

debian advisories DEBIAN-CVE-2025-0167

  • curl Ubuntu 22.04 LTS 7.81.0-1ubuntu1.23
  • curl Ubuntu 24.04 LTS 8.5.0-2ubuntu10.8

ubuntu advisories UBUNTU-CVE-2025-0167

Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0

  • curl Linux Micro 6.0 8.6.0-6.1
  • curl SLES for SAP 15 SP3, SLES 15 SP3-LTSS, SLE Micro 5.2 +3 more 7.66.0-150200.4.84.1
  • curl SLES 15 SP5-LTSS, SLES 15 SP4-LTSS, SLE Micro 5.5 +9 more 8.0.1-150400.5.62.1
  • curl SLE Module for Basesystem 15 SP6, openSUSE Leap 15.6 8.6.0-150600.4.21.1
  • curl SLES LTSS Extended Security 12 SP5, SLES 12 SP5-LTSS 8.0.1-11.105.1

suse advisories SUSE-SU-2025:20144-1SUSE-SU-2025:0372-1SUSE-SU-2025:0371-1SUSE-SU-2025:0370-1SUSE-SU-2025:0369-1

  • curl Alpine 3.24, Alpine 3.23, Alpine 3.22 +4 more 8.12.0-r0

alpine advisories ALPINE-CVE-2025-0167

Alpine secdb © Alpine Linux, from https://secdb.alpinelinux.org via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0

  • curl CBL-Mariner 2.0 8.8.0-6
  • curl Azure Linux 3.0 8.11.1-3

azure linux advisories AZL-56478AZL-56501

Azure Linux vulnerability data, Copyright (c) Microsoft Corporation, from https://github.com/microsoft/AzureLinuxVulnerabilityData via OSV, under the MIT licence; changed: normalised to fixed package versions per release. MIT

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

cisa ICSA-26-043-06 updated cvss 3.4

Siemens SINEC OS

  • Siemens RUGGEDCOM RST2428P (6GK6242-6PA00) < 3.3
    affected: fixed in V3.3 support.industry.siemens.com
  • Siemens SCALANCE XC-300/XR-300/XC-400/XR-500WG/XR-500 family < 3.3
    affected: fixed in V3.3
  • Siemens SCALANCE XCH328 (6GK5328-4TS01-2EC2) < 3.3 Siemens SCALANCE XCM324 (6GK5324-8TS01-2AC2) < 3.3 Siemens SCALANCE XCM328 (6GK5328-4TS01-2AC2) < 3.3 Siemens SCALANCE XCM332 (6GK5332-0GA01-2AC2) < 3.3 Siemens SCALANCE XRH334 (24 V DC, 8xFO, CC) (6GK5334-2TS01-2ER3) < 3.3 Siemens SCALANCE XRM334 (2x230 V AC, 8xFO) (6GK5334-2TS01-4AR3) < 3.3
    +8 more products
    Siemens SCALANCE XRM334 (2x230 V AC, 12xFO) (6GK5334-3TS01-4AR3) < 3.3 Siemens SCALANCE XRM334 (2x230V AC, 2x10G, 24xSFP, 8xSFP+) (6GK5334-5TS01-4AR3) < 3.3 Siemens SCALANCE XRM334 (24 V DC, 8xFO) (6GK5334-2TS01-2AR3) < 3.3 Siemens SCALANCE XRM334 (24 V DC, 12xFO) (6GK5334-3TS01-2AR3) < 3.3 Siemens SCALANCE XRM334 (24V DC, 2x10G, 24xSFP, 8xSFP+) (6GK5334-5TS01-2AR3) < 3.3 Siemens SCALANCE XRM334 (230 V AC, 8xFO) (6GK5334-2TS01-3AR3) < 3.3 Siemens SCALANCE XRM334 (230 V AC, 12xFO) (6GK5334-3TS01-3AR3) < 3.3 Siemens SCALANCE XRM334 (230V AC, 2x10G, 24xSFP, 8xSFP+) (6GK5334-5TS01-3AR3) < 3.3
    affected: fixed in V3.3 support.industry.siemens.com

Facts from CISA's republication of the vendor's own advisory (CSAF); the linked advisory is the authoritative source. CISA notification · csaf

red hat product security vex CVE-2025-0167 updated cvss 3.7

libcurl: Libcurl .netrc Credential Leak via Redirect

  • Red Hat All currently supported Red Hat products
    not affected: vulnerable code not present

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

CISA SSVC

Exploitation
Proof of concept is public
Automatable
no
Technical impact
partial
Assessed
21 mo ago

Exploit prediction

0.75% chance of exploitation in the next 30 days, higher than 55% of all scored CVEs (FIRST EPSS, 2026-11-08).

Exploits and checks

  • curl.se https://curl.se/docs/CVE-2025-0167.html referenced PoC, tagged "exploit" by a source, unverified
  • hackerone.com https://hackerone.com/reports/2917232 referenced PoC, tagged "exploit" by a source, unverified

CVSS scores

assigned by version score vector
CISA ADP 3.1 3.4 CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:L/I:N/A:N
CNA 3.1 3.4 CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:L/I:N/A:N
OSV 3.1 3.4 CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:L/I:N/A:N

Affected packages

ecosystem package affected fixed in
julia CURL_jll
<8.13.0+0
8.13.0+0
julia LibCURL_jll
>=7.81.0+0, <8.12.0+0
8.12.0+0

Affected products

  • curl curl
  • Siemens RUGGEDCOM RST2428P
  • Siemens SCALANCE XC-300/XR-300/XC-400/XR-500WG/XR-500 family
  • Siemens SCALANCE XCH328
  • Siemens SCALANCE XCM324
  • Siemens SCALANCE XCM328
  • Siemens SCALANCE XCM332
  • Siemens SCALANCE XRH334 (24 V DC, 8xFO, CC)
  • Siemens SCALANCE XRM334 (230 V AC, 12xFO)
  • Siemens SCALANCE XRM334 (230 V AC, 8xFO)
  • Siemens SCALANCE XRM334 (230V AC, 2x10G, 24xSFP, 8xSFP+)
  • Siemens SCALANCE XRM334 (24 V DC, 12xFO)
  • Siemens SCALANCE XRM334 (24 V DC, 8xFO)
  • Siemens SCALANCE XRM334 (24V DC, 2x10G, 24xSFP, 8xSFP+)
  • Siemens SCALANCE XRM334 (2x230 V AC, 12xFO)
  • Siemens SCALANCE XRM334 (2x230 V AC, 8xFO)
  • Siemens SCALANCE XRM334 (2x230V AC, 2x10G, 24xSFP, 8xSFP+)
  • Siemens SIMATIC S7-1500 CPU 1518-4 PN/DP MFP
  • Siemens SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP
  • Siemens SIPLUS S7-1500 CPU 1518-4 PN/DP MFP

References

Sources

Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.

CPEs and fixed versions use Anchore's correction of NVD's data: Added CPE configurations because not yet analyzed by NVD.