{"id":"CVE-2003-0166","aliases":["EUVD-2003-0162","GHSA-4xfp-7xc2-6c73"],"status":"published","title":"Integer signedness error in emalloc() function for PHP before 4.3.2 allow remote attackers to...","description":"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.","severity":{"version":"2.0","score":7.5,"vector":"AV:N/AC:L/Au:N/C:P/I:P/A:P","level":"high","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-07","score":0.14122,"percentile":0.96594,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":true,"fix_available":false},"published":"2003-03-27T05:00:00Z","modified":"2026-06-16T22:01:40Z","exploits":[{"source":"exploitdb","id":"EDB-22419","title":"PHP 4.3 - 'socket_iovec_alloc()' Integer Overflow","type":"dos","platform":"php","date":"2003-03-25","verified":true,"url":"https://www.exploit-db.com/exploits/22419"},{"source":"exploitdb","id":"EDB-22425","title":"PHP 4.x - 'socket_recv()' Signed Integer Memory Corruption","type":"dos","platform":"php","date":"2003-03-26","verified":true,"url":"https://www.exploit-db.com/exploits/22425"},{"source":"exploitdb","id":"EDB-22426","title":"PHP 4.x - 'socket_recvfrom()' Signed Integer Memory Corruption","type":"dos","platform":"php","date":"2003-03-26","verified":true,"url":"https://www.exploit-db.com/exploits/22426"}],"products":[{"vendor":"php","product":"php"}],"references":[{"url":"http://marc.info/?l=bugtraq\u0026m=104931415307111\u0026w=2","tags":["mailing-list","x_refsource_BUGTRAQ","x_transferred"]},{"url":"http://distro.conectiva.com.br/atualizacoes/?id=a\u0026anuncio=000691","tags":["vendor-advisory","x_refsource_CONECTIVA","x_transferred"]},{"url":"http://marc.info/?l=bugtraq\u0026m=104878100719467\u0026w=2","tags":["mailing-list","x_refsource_BUGTRAQ","x_transferred"]},{"url":"http://www.securityfocus.com/bid/7198","tags":["vdb-entry","x_refsource_BID","x_transferred","Exploit","Vendor Advisory"]},{"url":"http://marc.info/?l=bugtraq\u0026m=104869828526885\u0026w=2","tags":["mailing-list","x_refsource_BUGTRAQ","x_transferred"]},{"url":"http://www.securityfocus.com/bid/7197","tags":["vdb-entry","x_refsource_BID","x_transferred","Exploit","Vendor Advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2003-0166"},{"url":"https://github.com/advisories/GHSA-4xfp-7xc2-6c73"}],"sources":{"cve":[{"id":"CVE-2003-0166","description":"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.","status":"published","published":"2003-03-27T05:00:00Z","modified":"2024-08-08T01:43:36.054Z","updated_at":"2026-11-02T14:20:16.757505Z"}],"euvd":[{"id":"EUVD-2003-0162","description":"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.","status":"published","published":"2003-03-27T05:00:00Z","modified":"2024-08-08T01:43:36Z","updated_at":"2026-11-03T01:15:08.178994Z"}],"ghsa":[{"id":"GHSA-4xfp-7xc2-6c73","title":"Integer signedness error in emalloc() function for PHP before 4.3.2 allow remote attackers to...","description":"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.","status":"published","published":"2022-04-29T01:25:57Z","modified":"2023-01-30T05:00:48Z","updated_at":"2026-11-02T14:46:16.829694Z"}],"nvd":[{"id":"CVE-2003-0166","description":"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.","status":"published","published":"2003-04-02T05:00:00Z","modified":"2026-06-16T22:01:40.82Z","cvss":[{"version":"2.0","score":7.5,"vector":"AV:N/AC:L/Au:N/C:P/I:P/A:P","level":"high","assessor":"primary"}],"updated_at":"2026-11-02T14:00:46.710758Z"}]}}
