CyberSecBulletin
CVE-2025-9086NVD status: Modified

curl: Out-of-bounds Read

CVE-2025-9086 is a high-severity out-of-bounds read vulnerability in curl, with a CVSS 3.1 base score of 7.5 out of 10. It can be exploited remotely over the network by an unauthenticated attacker, without any action from a user. The record lists versions 8.14.2, 8.16.0, c6ae07c6a541e0e96d0040afb62b45dd37711300 as the first without the flaw, so updating curl to one of those releases or later removes the exposure. There is no confirmed exploitation so far. EPSS estimates a 1.46% chance of exploitation within 30 days, higher than 74% of scored CVEs.

Next patch cycle

High severity with no evidence of exploitation so far.

What to do

  1. Update curl to 8.14.2 or 8.16.0 or c6ae07c6a541e0e96d0040afb62b45dd37711300, whichever matches your release line, or a later version.
  2. Update RUGGEDCOM RST2428P to V3.3 or V4.0, whichever matches your release line, or a later version.
  3. Update SCALANCE XC-300/XR-300/XC-400/XR-500WG/XR-500 family to V3.3 or a later version.
  4. Read the advisory on curl.se for workarounds and exact fixed builds.
  5. Until you can update, restrict network access to the affected service so it is not reachable from untrusted networks.

Affected products and versions

VendorProductAffected versionsFixed in
Curlcurl8.13.0 up to, but not including, 8.14.2; 8.15.0 up to, but not including, 8.16.0; 1aea05a6c2699e80c75936d58569851555acd603 up to, but not including, c6ae07c6a541e0e96d0040afb62b45dd37711300; 8.15.0; 8.14.1; 8.14.0; 8.13.08.14.2, 8.16.0, c6ae07c6a541e0e96d0040afb62b45dd37711300
SiemensRUGGEDCOM RST2428Pbefore V3.3; before V4.0V3.3, V4.0
SiemensSCALANCE XC-300/XR-300/XC-400/XR-500WG/XR-500 familybefore V3.3V3.3
SiemensSCALANCE XCH328before V3.3V3.3
SiemensSCALANCE XCM324before V3.3V3.3
SiemensSCALANCE XCM328before V3.3V3.3
SiemensSCALANCE XCM332before V3.3V3.3
SiemensSCALANCE XRH334 (24 V DC, 8xFO, CC)before V3.3V3.3
SiemensSCALANCE XRM334 (230 V AC, 12xFO)before V3.3V3.3
SiemensSCALANCE XRM334 (230 V AC, 8xFO)before V3.3V3.3
SiemensSCALANCE XRM334 (230V AC, 2x10G, 24xSFP, 8xSFP+)before V3.3V3.3
SiemensSCALANCE XRM334 (24 V DC, 12xFO)before V3.3V3.3
SiemensSCALANCE XRM334 (24 V DC, 8xFO)before V3.3V3.3
SiemensSCALANCE XRM334 (24V DC, 2x10G, 24xSFP, 8xSFP+)before V3.3V3.3
SiemensSCALANCE XRM334 (2x230 V AC, 12xFO)before V3.3V3.3
SiemensSCALANCE XRM334 (2x230 V AC, 8xFO)before V3.3V3.3
SiemensSCALANCE XRM334 (2x230V AC, 2x10G, 24xSFP, 8xSFP+)before V3.3V3.3
DebianDebian Linux11.0Not stated

Version data comes from the organisation that assigned the CVE. Confirm against the vendor advisory before deciding you are unaffected.

How the severity score breaks down

Attack vector
NetworkCan be exploited remotely over a network, including the internet.
Attack complexity
LowNo special conditions are needed; the attack works reliably.
Privileges required
NoneNo account or login is needed.
User interaction
NoneNo action by a victim is required.
Scope
UnchangedImpact stays within the vulnerable component.
Confidentiality
NoneNo data is disclosed.
Integrity
NoneNothing can be modified.
Availability
HighThe component can be taken down completely.

Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H. Scored by CISA (ADP).

Official description

1. A cookie is set using the `secure` keyword for `https://target` 2. curl is redirected to or otherwise made to speak with `http://target` (same hostname, but using clear text HTTP) using the same cookie set 3. The same cookie name is set - but with only a slash as path (`path="/"`). Since this site is not secure, the cookie *should* be ignored. 4. A bug in the path comparison logic makes curl read outside a heap buffer boundary The bug either causes a crash or it potentially makes the comparison come to the wrong conclusion and lets the clear-text site override the contents of the secure cookie, contrary to expectations and depending on the memory contents immediately following the single-byte allocation that holds the path. The presumed and correct behavior would be to plainly ignore the second set of the cookie since it was already set as secure on a secure host so overriding it on an insecure host should not be okay.

Source: the CVE record as published by its numbering authority, via NVD and CVE.org.

The underlying weakness: Out-of-bounds Read

The product reads data past the end, or before the beginning, of the intended buffer.

How developers prevent this class of flaw

  • Use a language that provides appropriate memory abstractions.

More Out-of-bounds Read vulnerabilities (CWE-125)

Timeline

  1. CVE record published.
  2. CISA published its SSVC assessment (exploitation: none, automatable: no, technical impact: partial).
  3. Record last changed materially (score, affected products, status or references).

References

Patches and release notes

Third-party and government advisories

Technical write-ups (may include proof of concept)

Other vulnerabilities in curl

All curl vulnerabilities

Recent Out-of-bounds Read vulnerabilities

Spotted an error? Tell us.