BreachSpiderVerified, not vibes

CVE-2025-1861 in Netapp Ontap 9 and 2 more products

Critical 9.8 Fix available

In PHP from 8.1.* before 8.1.32, from 8.2.* before 8.2.28, from 8.3.* before 8.3.19, from 8.4.* before 8.4.5, when parsing HTTP redirect in the response to an HTTP request, there is currently limit on the location value size caused by limited size of the location buffer to 1024. However as per RFC9110, the limit is ...

Affects 3 products from 2 vendors. Facts below cite their sources.

CVSS 3.19.8
CVSS v46.3
EPSS1.1%
EPSS percentile66th
FixAvailable

Remotely exploitable over the network, low complexity, no authentication required, no user interaction needed, impact contained to the vulnerable component, full confidentiality impact, full integrity impact, full availability impact.

Affected products and versions

VendorProductAffected versions
Netapp Ontap 9 9
Netapp Ontap 9
Php Php ≥ 8.1.0, < 8.1.31 ≥ 8.2.0, < 8.2.26 ≥ 8.3.0, < 8.3.14 ≥ 8.4.0, < 8.4.5

A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.

Fix and vendor advisory

No official vendor advisory link on record. See the CVE record.

Vendor PSIRT: [email protected]

Exploitation

CISA known-exploitedNot in the CISA KEV catalog
Public exploitNot confirmed

Official description

In PHP from 8.1.* before 8.1.32, from 8.2.* before 8.2.28, from 8.3.* before 8.3.19, from 8.4.* before 8.4.5, when parsing HTTP redirect in the response to an HTTP request, there is currently limit on the location value size caused by limited size of the location buffer to 1024. However as per RFC9110, the limit is recommended to be 8000. This may lead to incorrect URL truncation and redirecting to a wrong location.

Source: NIST NVD / MITRE CVE.

Record details

CVE IDCVE-2025-1861
BreachSpider IDBS-2025-GLOBAL-041317-C
CVSS vectorCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Published2025-03-30
Last modified2025-11-03
Weakness (CWE)
SourceNVD

Weakness definitions

CWE-131: CWE-131

Related attack patterns (CAPEC)

CAPEC-47 Buffer Overflow via Parameter Expansion via CWE-131

CAPEC-100 Overflow Buffers via CWE-131

Mapping is CWE to CAPEC per MITRE CAPEC 3.9.

Analysis AI-written, not human-reviewed

A vulnerability in PHP versions prior to 8.1.32, 8.2.28, 8.3.19, and 8.4.5 allows for incorrect URL truncation during HTTP redirect parsing due to a buffer size limitation, potentially leading to unauthorized redirection.

An attacker can exploit this vulnerability by crafting a malicious HTTP response with a Location header value exceeding 1024 bytes, causing the URL to be truncated and potentially redirecting users to an unintended destination.

Questions

What is CVE-2025-1861?

A vulnerability in PHP versions prior to 8.1.32, 8.2.28, 8.3.19, and 8.4.5 allows for incorrect URL truncation during HTTP redirect parsing due to a buffer size limitation, potentially leading to unauthorized redirection.

What is the CVSS score for CVE-2025-1861?

CVE-2025-1861 has CVSS 9.8 (Critical). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H. EPSS: 1.1%.

Is CVE-2025-1861 actively exploited?

No confirmed active exploitation of CVE-2025-1861 as of 2026-05-30.

How do I remediate CVE-2025-1861?

Priority: IMMEDIATE. PSIRT: [email protected]

What systems are affected by CVE-2025-1861?

CVE-2025-1861 affects Netapp Ontap 9, Ontap; Php Php.

For developers and AI agents

Run this check from your own code or agent

REST API

curl -s https://breachspider.com/api/v1/assets/correlate-cves \
 -H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
 -H "Content-Type: application/json" \
 -d '{"assets":[{"asset_id":"dev-1","vendor":"Netapp","product":"Ontap 9","version":"1.0"}]}'

API reference

Python SDK

pip install breachspider

PyPI · GitHub

MCP for AI agents

# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp

Setup for Claude, ChatGPT, Cursor

Free trial: 14 days, 750 device checks, no card.

Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2025-11-03.