Integer signedness error in the _zend_mm_alloc_int function in the Zend Memory Manager in PHP 5.2.0 allows remote attackers to execute arbitrary code via a large emalloc request, related to an incorrect signed long cast, as demonstrated via the HTTP SOAP client in PHP, and via a call to msg_receive with the largest positive integer value of maxsize
Published Apr 6, 2007
7.5
HIGHCVSS 2.0
EPSS 3.09%
Description
Integer signedness error in the _zend_mm_alloc_int function in the Zend Memory Manager in PHP 5.2.0 allows remote attackers to execute arbitrary code via a large emalloc request, related to an incorrect signed long cast, as demonstrated via the HTTP SOAP client in PHP, and via a call to msg_receive with the largest positive integer value of maxsize.
Affected products
Remediation
Red Hat statement
Not vulnerable. These issues did not affect the versions of PHP as shipped with Red Hat Enterprise Linux 2.1, 3, 4, 5, Stronghold 4.0, or Red Hat Application Stack 1.
Metrics
No CVSS v4.0 score for this CVE.
No CVSS v3.1 score for this CVE.
No CVSS v3.0 score for this CVE.
AV:N/AC:L/Au:N/C:P/I:P/A:P
This CVE is not in the KEV list.
No CISA SSVC assessment for this CVE yet.
Estimated probability of exploitation in the wild in the next 30 days (FIRST EPSS). As of Oct 1, 2026.
Score over time
2022–2026- EPSS v2
- EPSS v3
- EPSS v4
- EPSS v5
Percentile over time
- EPSS v2
- EPSS v3
- EPSS v4
- EPSS v5
Table of values (20 key points)
Flat stretches are collapsed; showing up to 120 newest points.
| Date | Score | Percentile | Model |
|---|---|---|---|
| Oct 1, 2026 | 3.09% (0.03088) | 87.25th | v5 (v2026.06.15) |
| Jun 15, 2026 | 3.09% (0.03088) | 85.96th | v5 (v2026.06.15) |
| Dec 28, 2025 | 8.00% (0.07998) | 91.79th | v4 (v2025.03.14) |
| Dec 27, 2025 | 4.38% (0.04375) | 88.65th | v4 (v2025.03.14) |
| Nov 23, 2025 | 8.00% (0.07998) | 91.73th | v4 (v2025.03.14) |
| Oct 28, 2025 | 6.79% (0.06787) | 90.89th | v4 (v2025.03.14) |
| Oct 27, 2025 | 3.68% (0.03684) | 87.42th | v4 (v2025.03.14) |
| Oct 1, 2025 | 6.79% (0.06787) | 90.98th | v4 (v2025.03.14) |
| Jul 30, 2025 | 3.68% (0.03684) | 87.47th | v4 (v2025.03.14) |
| May 1, 2025 | 5.55% (0.05546) | 89.77th | v4 (v2025.03.14) |
| Mar 17, 2025 | 4.16% (0.04162) | 87.91th | v4 (v2025.03.14) |
| Dec 17, 2024 | 24.75% (0.24754) | 96.65th | v3 (v2023.03.01) |
| Dec 31, 2023 | 20.12% (0.20118) | 95.89th | v3 (v2023.03.01) |
| Nov 23, 2023 | 11.88% (0.11880) | 94.77th | v3 (v2023.03.01) |
| Sep 7, 2023 | 12.08% (0.12085) | 94.66th | v3 (v2023.03.01) |
| Apr 11, 2023 | 11.68% (0.11677) | 94.40th | v3 (v2023.03.01) |
| Mar 7, 2023 | 10.90% (0.10905) | 94.16th | v3 (v2023.03.01) |
| Mar 6, 2023 | 8.26% (0.08263) | 93.54th | v2 (v2022.01.01) |
| Apr 1, 2022 | 8.26% (0.08263) | 92.94th | v2 (v2022.01.01) |
| Feb 4, 2022 | 8.26% (0.08263) | 82.29th | v2 (v2022.01.01) |
No CWE recorded.
References (11)
- http://secunia.com/advisories/25056 third-party-advisoryx_refsource_SECUNIA
- http://secunia.com/advisories/25062 third-party-advisoryx_refsource_SECUNIA
- http://www.debian.org/security/2007/dsa-1283 vendor-advisoryx_refsource_DEBIAN
- http://www.novell.com/linux/security/advisories/2007_32_php.html vendor-advisoryx_refsource_SUSE
- http://www.php-security.org/MOPB/MOPB-43-2007.html x_refsource_MISCPatchVendor Advisory
- http://www.php-security.org/MOPB/MOPB-44-2007.html x_refsource_MISCVendor Advisory
- http://www.securityfocus.com/bid/23238 vdb-entryx_refsource_BID
- https://access.redhat.com/security/cve/CVE-2007-1889 Vendor Advisory
- https://exchange.xforce.ibmcloud.com/vulnerabilities/33770 vdb-entryx_refsource_XF
- https://nvd.nist.gov/vuln/detail/CVE-2007-1889
- https://www.cve.org/CVERecord?id=CVE-2007-1889
| Link | Providers | Tags |
|---|---|---|
| http://secunia.com/advisories/25056 | third-party-advisoryx_refsource_SECUNIA | |
| http://secunia.com/advisories/25062 | third-party-advisoryx_refsource_SECUNIA | |
| http://www.debian.org/security/2007/dsa-1283 | vendor-advisoryx_refsource_DEBIAN | |
| http://www.novell.com/linux/security/advisories/2007_32_php.html | vendor-advisoryx_refsource_SUSE | |
| http://www.php-security.org/MOPB/MOPB-43-2007.html | x_refsource_MISCPatchVendor Advisory | |
| http://www.php-security.org/MOPB/MOPB-44-2007.html | x_refsource_MISCVendor Advisory | |
| http://www.securityfocus.com/bid/23238 | vdb-entryx_refsource_BID | |
| https://access.redhat.com/security/cve/CVE-2007-1889 | Vendor Advisory | |
| https://exchange.xforce.ibmcloud.com/vulnerabilities/33770 | vdb-entryx_refsource_XF | |
| https://nvd.nist.gov/vuln/detail/CVE-2007-1889 | ||
| https://www.cve.org/CVERecord?id=CVE-2007-1889 |
Change history (0)
No recorded changes yet.