CVE-2012-0796: PHPMailer vulnerable to email header injection

CVE-2012-0796 · Severity: info · Published 2022-10-06

PHPMailer vulnerable to email header injection

Technologies: phpmailer/phpmailer (Packagist). Vendors: Packagist.

Quick answers

Is CVE-2012-0796 exploited in the wild?
No. Junglewise Threat Intelligence has no report of CVE-2012-0796 being exploited in the wild.
How severe is CVE-2012-0796?
Informational severity, published 6 October 2022.
Which products and versions are affected?
phpmailer/phpmailer (Packagist) ECOSYSTEM:introduced=0,fixed=2.2.1.
Is there a fix for CVE-2012-0796?
Yes. phpmailer/phpmailer (Packagist): upgrade to 2.2.1 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.
Am I affected by CVE-2012-0796?
Check whether you run phpmailer/phpmailer (Packagist) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

How to fix

  • phpmailer/phpmailer (Packagist): upgrade to 2.2.1 or later
    composer require phpmailer/phpmailer:^2.2.1

Affected products

  • phpmailer/phpmailer (Packagist) ECOSYSTEM:introduced=0,fixed=2.2.1

Identifiers

  • CVE-2012-0796
  • GHSA-398j-f7m7-795j

This page as Markdown. Free to reuse under CC BY 4.0 with a link back.