CVE-2007-1825 Memory corruption in n/a

High 7.5 Published Updated

Remote attackers can execute arbitrary code via a buffer overflow in the PHP imap_mail_compose function using a long boundary string.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2007-1825?

CVE-2007-1825 is a high-severity memory corruption vulnerability in Php Php, published on 2 Apr 2007. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

Buffer overflow in the imap_mail_compose function in PHP 5 before 5.2.1, and PHP 4 before 4.4.5, allows remote attackers to execute arbitrary code via a long boundary string in a type.parameters field. NOTE: as of 20070411, it appears that this issue might be subsumed by CVE-2007-0906.3.

Which versions are affected by CVE-2007-1825?

It affects 1 product.

Products include Php Php.

How do I fix CVE-2007-1825?

Upgrade to a fixed version.

Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.

Is CVE-2007-1825 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2007-1825 exists.

Public exploit code: 1 Exploit-DB entry.

All Php Php vulnerabilities

Sources

Also known as GHSA-mpvc-cmfr-5chg.

Is CVE-2007-1825 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free