php_imap.c in PHP 5.2.5, 5.2.6, 4.x, and other versions, uses obsolete API calls that…
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- — Not recorded in CVSS 2.0
- Attack complexity
- Low
- Impact type
- Denial of service
- Confidentiality · integrity · availability
- None · None · Partial
- Fix status
- No fix listed
Attack profile from CVSS 2.0 · NVD. Fix status from CNA. Impact type from CWE-119 and the CVSS impact.
Summary
php_imap.c in PHP 5.2.5, 5.2.6, 4.x, and other versions, uses obsolete API calls that allow context-dependent attackers to cause a denial of service (crash) and possibly execute arbitrary code via a long IMAP request, which triggers an "rfc822.c legacy routine buffer overflow" error message, related to the rfc822_write_address function.
Why it matters now
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| — | — | all versions | — | No fix listed | CNA |
- — Vendor— Affected all versions Fixed in — No fix listed CNA
CPE configurations NVD · 7
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:php:php:*:*:*:*:*:*:*:* | up to 4.4.9 | Vulnerable | PHP |
| cpe:2.3:a:php:php:5.2.5:*:*:*:*:*:*:* | 5.2.5 | Vulnerable | PHP |
| cpe:2.3:a:php:php:5.2.6:*:*:*:*:*:*:* | 5.2.6 | Vulnerable | PHP |
| cpe:2.3:o:canonical:ubuntu_linux:6.06:*:*:*:lts:*:*:* | 6.06 | Vulnerable | Canonical |
| cpe:2.3:o:canonical:ubuntu_linux:7.04:*:*:*:*:*:*:* | 7.04 | Vulnerable | Canonical |
| cpe:2.3:o:canonical:ubuntu_linux:7.10:*:*:*:*:*:*:* | 7.10 | Vulnerable | Canonical |
| cpe:2.3:o:canonical:ubuntu_linux:8.04:*:*:*:lts:*:*:* | 8.04 | Vulnerable | Canonical |
- cpe:2.3:a:php:php:*:*:*:*:*:*:*:* Versions up to 4.4.9 Vulnerable ·PHP
- cpe:2.3:a:php:php:5.2.5:*:*:*:*:*:*:* Versions 5.2.5 Vulnerable ·PHP
- cpe:2.3:a:php:php:5.2.6:*:*:*:*:*:*:* Versions 5.2.6 Vulnerable ·PHP
- cpe:2.3:o:canonical:ubuntu_linux:6.06:*:*:*:lts:*:*:* Versions 6.06 Vulnerable ·Canonical
- cpe:2.3:o:canonical:ubuntu_linux:7.04:*:*:*:*:*:*:* Versions 7.04 Vulnerable ·Canonical
- cpe:2.3:o:canonical:ubuntu_linux:7.10:*:*:*:*:*:*:* Versions 7.10 Vulnerable ·Canonical
- cpe:2.3:o:canonical:ubuntu_linux:8.04:*:*:*:lts:*:*:* Versions 8.04 Vulnerable ·Canonical
Remediation
No fixed version listed by the sources yet.
Vendor assessments
Timeline
- 2026-10-02 Threatist record created from CVE-2008-2829
- 2026-10-03 Alias added: GHSA-j7wp-2pxv-m6g9
References
Patch 1
Advisory 17
- [oss-security] 20080624 Re: CVE request: php 5.2.6 ext/imap buffer overflows
- HPSBUX02465
- http://support.apple.com/kb/HT3549
- GLSA-200811-05
- SSRT090085
- FEDORA-2009-3768
- MDVSA-2008:128
- USN-628-1
- APPLE-SA-2009-05-12
- SUSE-SR:2008:027
- [oss-security] 20080619 CVE request: php 5.2.6 ext/imap buffer overflows
- FEDORA-2009-3848
- TA09-133A
- http://bugs.php.net/bug.php?id=42862
- MDVSA-2008:126
- MDVSA-2008:127
- https://bugs.gentoo.org/show_bug.cgi?id=221969
Sources
- CVE-2008-2829 · CVE Program
- CVE-2008-2829 · NVD
- FIRST EPSS
- GHSA-j7wp-2pxv-m6g9 · GitHub Advisory Database · CC BY 4.0
- CVE-2008-2829 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences