Am I affected?
CVE-2008-2829
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.
Not in the CISA KEV catalog as of the last sync. That means no confirmed exploitation is listed there, not that it is safe.
Exploit probability (FIRST EPSS): 5.27% chance of exploitation activity in the next 30 days (top 8% of all scored CVEs), scored 2026-11-23. EPSS is a likelihood estimate, not proof of attacks.
Check your PHP version
Fixed versions by branch
| Branch | Affected (NVD) | Fixed in |
|---|---|---|
| PHP 5.2 | PHP 5.2 only, 5.2.5 exactly | not stated |
| PHP 5.2 | PHP 5.2 only, 5.2.6 exactly | not stated |
| PHP 4.4 | PHP 4.4 only, before 4.4.9 (including that release) | not stated |
"Fixed in" is shown only when the source gives an exact upper bound. Any later patch in the same branch also has the fix. Linux distributions (Ubuntu, Debian, RHEL) often backport fixes without changing the PHP version number.
Related CVEs
Other PHP CVEs that NVD lists for the same branches.
- CVE-2008-5557 High 10.0 · PHP 5.2, 4.4 · 2008-12-23
- CVE-2008-2108 Critical 9.8 · PHP 5.2, 4.4 · 2008-05-07
- CVE-2008-3658 High 7.5 · PHP 5.2, 4.4 · 2008-08-15
- CVE-2008-2107 High 7.5 · PHP 5.2, 4.4 · 2008-05-07
- CVE-2008-3659 Medium 6.4 · PHP 5.2, 4.4 · 2008-08-15
- CVE-2008-4107 Medium 5.1 · PHP 5.2, 4.4 · 2008-09-18
Questions
- Which PHP versions are affected by CVE-2008-2829?
- NVD lists these affected ranges: PHP 5.2 only, 5.2.5 exactly; PHP 5.2 only, 5.2.6 exactly; PHP 4.4 only, before 4.4.9 (including that release).
- Which PHP version fixes CVE-2008-2829?
- NVD does not give an exact fixed release for CVE-2008-2829. Upgrade to the latest patch of a supported PHP branch and check the official advisory.
- Does a version check prove my server is safe from CVE-2008-2829?
- No. The SAPI, web server, operating system, loaded extensions and configuration change whether a bug can be reached, and Linux distributions often backport fixes without changing the upstream version number.
Sources: CVE-2008-2829 on NIST NVD. NVD data synced 2026-11-24T03:47:46.548Z. See all PHP CVEs in the CVE explorer.