BreachSpiderVerified, not vibes

CVE-2007-1718 in Php

High 7.8 Public exploit reported

CRLF injection vulnerability in the mail function in PHP 4.0.0 through 4.4.6 and 5.0.0 through 5.2.1 allows remote attackers to inject arbitrary e-mail headers and possibly conduct spam attacks via a control character immediately following folding of the (1) Subject or (2) To parameter, as demonstrated by a paramete...

Affects 1 product from 1 vendor. Facts below cite their sources.

CVSS 2.07.8
EPSS6.9%
EPSS percentile95th
FixUnknown

Remotely exploitable over the network, low complexity, no confidentiality impact, no availability impact.

Affected products and versions

VendorProductAffected versions
Php Php 4.0 4.0.0 4.0.1 4.0.2 4.0.3 4.0.4
+46 more4.0.5 4.0.6 4.0.7 4.1.0 4.1.1 4.1.2 4.2 4.2.0 4.2.1 4.2.2 4.2.3 4.3.0 4.3.1 4.3.2 4.3.3 4.3.4 4.3.5 4.3.6 4.3.7 4.3.8 4.3.9 4.3.10 4.3.11 4.4.0 4.4.1 4.4.2 4.4.3 4.4.4 4.4.5 4.4.6 5.0 5.0.0 5.0.1 5.0.2 5.0.3 5.0.4 5.0.5 5.1.0 5.1.1 5.1.2 5.1.3 5.1.4 5.1.5 5.1.6 5.2.0 5.2.1

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.

Exploitation

CISA known-exploitedNot in the CISA KEV catalog
Public exploitReported · reference

Official description

CRLF injection vulnerability in the mail function in PHP 4.0.0 through 4.4.6 and 5.0.0 through 5.2.1 allows remote attackers to inject arbitrary e-mail headers and possibly conduct spam attacks via a control character immediately following folding of the (1) Subject or (2) To parameter, as demonstrated by a parameter containing a "\r\n\t\n" sequence, related to an increment bug in the SKIP_LONG_HEADER_SEP macro.

Source: NIST NVD / MITRE CVE.

Record details

CVE IDCVE-2007-1718
BreachSpider IDBS-2007-GLOBAL-216004-H
CVSS vectorAV:N/AC:L/Au:N/C:N/I:C/A:N
Published2007-03-28
Last modified2026-06-16
SourceNVD

Analysis AI-written, not human-reviewed

A CRLF injection vulnerability in the mail function of PHP versions 4.0.0 through 4.4.6 and 5.0.0 through 5.2.1 allows remote attackers to inject arbitrary email headers, potentially leading to spam attacks.

The vulnerability arises from improper handling of control characters in the Subject and To parameters of the mail function, specifically a sequence like '\r\n\t\n' which can be used to inject additional headers.

Questions

What is CVE-2007-1718?

A CRLF injection vulnerability in the mail function of PHP versions 4.0.0 through 4.4.6 and 5.0.0 through 5.2.1 allows remote attackers to inject arbitrary email headers, potentially leading to spam attacks.

What is the CVSS score for CVE-2007-1718?

CVE-2007-1718 has CVSS 7.8 (High). Vector: AV:N/AC:L/Au:N/C:N/I:C/A:N. EPSS: 6.9%.

Is CVE-2007-1718 actively exploited?

Public exploit available for CVE-2007-1718. Exploitation risk elevated.

How do I remediate CVE-2007-1718?

Priority: HIGH.

What systems are affected by CVE-2007-1718?

CVE-2007-1718 affects 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":"Php","product":"Php","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 2026-06-16.