Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2021-3603

published high CVSS 3.1 · 8.1

Inclusion of Functionality from Untrusted Control Sphere in PHPMailer/PHPMailer

Published
17 Jun 2021, 12:09:42 UTC
Updated
03 Aug 2024, 17:01:07 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
PHPMailer — PHPMailerunspecified to < 6.5.0 Affected Not stated @huntrdev
Ubuntu focal libphp-phpmailer Advisory build 6.0.6-0.1ubuntu0.1~esm1 USN-5956-1
Ubuntu jammy libphp-phpmailer Advisory build 6.2.0-2ubuntu0.1~esm1 USN-5956-1

Description

PHPMailer 6.4.1 and earlier contain a vulnerability that can result in untrusted code being called (if such code is injected into the host project's scope by other means). If the $patternselect parameter to validateAddress() is set to 'php' (the default, defined by PHPMailer::$validator), and the global namespace contains a function called php, it will be called in preference to the built-in validator of the same name. Mitigated in PHPMailer 6.5.0 by denying the use of simple strings as validator function names.

en · @huntrdev · cna

Vendor advisories explicitly linked to this CVE.

2

Assessment

CVSS risk assessment and additional context for this vulnerability.

CVSS version
3.1
Base score
8.1 / 10
Severity
high
Provider
@huntrdev · cna
Vector string
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
PHPMailer PHPMailer unspecified to < 6.5.0 (affected · custom) @huntrdev · cna

Weaknesses

1
  • CWE-829 CWE-829 Inclusion of Functionality from Untrusted Control Sphere (@huntrdev · cna)

References

4

Provider assertions

2

@huntrdev · cna

Inclusion of Functionality from Untrusted Control Sphere in PHPMailer/PHPMailer

CVE · adp

CVE Program Container

Provenance

Schema
5.1
Searchable
yes
Content hash
1fe3135d5c27b22b51c176ad97b5011233516bdece31847931512b7870605b56
Ingested
23 Sep 2026, 07:55:51 UTC
Source record
Official CVE record

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected