Integer signedness error in emalloc() function for PHP before 4.3.2 allow remote attackers to cause a denial of service (memory consumption) and possibly execute arbitrary code via negative arguments to functions such as (1) socket_recv, (2) socket_recvfrom, and possibly other functions.
CVE-2003-0166
- No confirmed exploitation signals yet
No vendor fix yet — apply a workaround or compensating control (WAF / firewall / segmentation) and watch for a patch.
- CVSS v3
- —
- EG Score
- 0.0(none)
- EPSS
- 96.1%
- KEV
- Not listed
Published
April 2, 2003
Last Modified
June 16, 2026
References (12)
- cve@mitrehttp://distro.conectiva.com.br/atualizacoes/?id=a&anuncio=000691
- cve@mitrehttp://marc.info/?l=bugtraq&m=104869828526885&w=2
- cve@mitrehttp://marc.info/?l=bugtraq&m=104878100719467&w=2
- cve@mitrehttp://marc.info/?l=bugtraq&m=104931415307111&w=2
- cve@mitrehttp://www.securityfocus.com/bid/7197
- cve@mitrehttp://www.securityfocus.com/bid/7198
- af854a3a-2127-422b-91ae-364da2661108http://distro.conectiva.com.br/atualizacoes/?id=a&anuncio=000691
- af854a3a-2127-422b-91ae-364da2661108http://marc.info/?l=bugtraq&m=104869828526885&w=2
- af854a3a-2127-422b-91ae-364da2661108http://marc.info/?l=bugtraq&m=104878100719467&w=2
- af854a3a-2127-422b-91ae-364da2661108http://marc.info/?l=bugtraq&m=104931415307111&w=2
- af854a3a-2127-422b-91ae-364da2661108http://www.securityfocus.com/bid/7197
- af854a3a-2127-422b-91ae-364da2661108http://www.securityfocus.com/bid/7198
Data Freshness Timeline
(refreshed 3× in last 7d / 21× in last 30d)
Each row is a source pipeline that fetched or updated this CVE on that date, with what changed. For example, "NVD update" means NVD published or revised its analysis for this CVE; "MITRE cvelistV5" means we ingested or refreshed it from the CNA feed. Most recent first.
- 2026-07-11 08:22 UTCEPSS rescore
- 2026-07-11 08:22 UTCEPSS rescore
- 2026-07-08 15:09 UTCEPSS rescore
- 2026-07-06 02:19 UTCEPSS rescore
- 2026-07-04 06:26 UTCEPSS rescore
- 2026-07-02 14:00 UTCEPSS rescore
- 2026-06-28 04:52 UTCEPSS rescore
- 2026-06-27 03:04 UTCEPSS rescore
- 2026-06-23 21:29 UTCEPSS rescore
- 2026-06-22 14:22 UTCEPSS rescore
- 2026-06-19 19:22 UTCEPSS rescore
- 2026-06-19 19:22 UTCEPSS rescore
- 2026-06-18 17:49 UTCEPSS rescore
- 2026-06-18 17:49 UTCEPSS rescore
- 2026-06-17 17:49 UTCEPSS rescore
- 2026-06-17 17:49 UTCEPSS rescore
- 2026-06-16 17:49 UTCEPSS rescore
- 2026-06-16 17:49 UTCEPSS rescore
- 2026-06-15 17:43 UTCEPSS rescore
- 2026-06-14 23:13 UTCEPSS rescore
- 2026-06-14 23:13 UTCEPSS rescore
- 2026-06-13 22:56 UTCEPSS rescore
- 2026-06-12 23:08 UTCEPSS rescore
- 2026-06-11 13:55 UTCEPSS rescore
- 2026-06-10 22:13 UTCEPSS rescore
Show 29 moreShow fewer
- 2026-06-10 13:17 UTCEPSS rescore
- 2026-06-07 15:21 UTCEPSS rescore
- 2026-06-06 13:44 UTCEPSS rescore
- 2026-06-06 13:44 UTCEPSS rescore
- 2026-06-06 13:44 UTCEPSS rescore
- 2026-06-05 22:43 UTCEPSS rescore
- 2026-06-05 22:43 UTCEPSS rescore
- 2026-06-04 13:09 UTCEPSS rescore
- 2026-06-02 20:10 UTCEPSS rescore
- 2026-06-01 13:49 UTCEPSS rescore
- 2026-06-01 13:49 UTCEPSS rescore
- 2026-05-31 22:28 UTCEPSS rescore
- 2026-05-31 17:45 UTCEG score recompute
- 2026-05-31 17:45 UTCGHSA enrichment
- 2026-05-29 13:40 UTCEPSS rescore
- 2026-05-29 13:40 UTCEPSS rescore
- 2026-05-28 13:42 UTCEPSS rescore
- 2026-05-28 13:42 UTCEPSS rescore
- 2026-05-28 13:42 UTCEPSS rescore
- 2026-05-27 13:37 UTCEPSS rescore
- 2026-05-26 13:41 UTCEPSS rescore
- 2026-05-26 13:41 UTCEPSS rescore
- 2026-05-24 16:42 UTCEPSS rescore
- 2026-05-22 21:15 UTCEPSS rescore
- 2026-05-20 22:36 UTCEPSS rescore
- 2026-05-20 11:20 UTCEPSS rescore
- 2026-05-20 11:20 UTCEPSS rescore
- 2026-05-18 21:29 UTCEPSS rescore
- 2026-05-18 21:29 UTCEPSS rescore
Publicly available exploits
(3 references)Working exploit code is in the public domain (3 Exploit-DB entries). Defenders should treat patch urgency accordingly — public PoCs typically lead to mass-exploitation within 24-72 hours.
- Exploit-DBEDB-22425✓ verifiedFirst seen Mar 26, 2003
PHP 4.x - 'socket_recv()' Signed Integer Memory Corruption
Open source ↗ - Exploit-DBEDB-22426✓ verifiedFirst seen Mar 26, 2003
PHP 4.x - 'socket_recvfrom()' Signed Integer Memory Corruption
Open source ↗ - Exploit-DBEDB-22419✓ verifiedFirst seen Mar 25, 2003
PHP 4.3 - 'socket_iovec_alloc()' Integer Overflow
Open source ↗
Frequently asked(4)
What is CVE-2003-0166?
When was CVE-2003-0166 disclosed?
Is CVE-2003-0166 actively exploited?
How do I remediate CVE-2003-0166?
Dependency Blast Radius
Explore the affected products and dependency analysis for CVE-2003-0166
Is Your Infrastructure Affected by CVE-2003-0166?
EchelonGraph automatically scans your cloud infrastructure and maps CVE exposure using blast radius analysis.