Curl 7.31.0 < 8.16.0 Out of Bounds Read (CVE-2025-9086)

low Nessus Plugin ID 264603

Synopsis

The remote host has a program that is missing security update

Description

The version of Curl installed on the remote host is 7.31.0 prior to 8.16.0. It is, therefore, affected by a vulnerability as referenced in the CVE-2025-9086 advisory.

- A cookie is set using the secure keyword for https://target. Curl is redirected to or otherwise made to speak with http://target (same hostname, but using clear text HTTP) using the same cookie set. The same cookie name is set - but with just a slash as path (path='/'). Since this site is not secure, the cookie should just be ignored. A bug in the path comparison logic makes curl read outside a heap buffer boundary. (CVE-2025-9086)

Note that Nessus has not tested for this issue but has instead relied only on the application's self-reported version number.

Solution

Upgrade Curl to version 8.16.0 or later

See Also

https://curl.se/docs/CVE-2025-9086.html

Plugin Details

Severity: Low

ID: 264603

File Name: curl_CVE-2025-9086.nasl

Version: 1.1

Type: local

Agent: windows, macosx, unix

Family: Misc.

Published: 9/12/2025

Updated: 9/12/2025

Configuration: Enable thorough checks (optional)

Supported Sensors: Nessus Agent, Continuous Assessment, Nessus

Risk Information

VPR

Risk Factor: Low

Score: 3.9

CVSS v2

Risk Factor: Low

Base Score: 2.6

Vector: CVSS2#AV:N/AC:H/Au:N/C:N/I:P/A:N

CVSS Score Source: CVE-2025-9086

CVSS v3

Risk Factor: Low

Base Score: 3.1

Vector: CVSS:3.0/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:L/A:N

Vulnerability Information

CPE: cpe:/a:haxx:curl

Required KB Items: installed_sw/Curl

Patch Publication Date: 9/10/2025

Vulnerability Publication Date: 9/10/2025

Reference Information

CVE: CVE-2025-9086

IAVA: 2025-A-0657