{"cve":"CVE-2004-1018","nvd":{"published":"2005-01-10T05:00:00.000","modified":"2026-06-16T22:06:51.813","status":"Modified","description":"Multiple integer handling errors in PHP before 4.3.10 allow attackers to bypass safe mode restrictions, cause a denial of service, or execute arbitrary code via (1) a negative offset value to the shmop_write function, (2) an \"integer overflow/underflow\" in the pack function, or (3) an \"integer overflow/underflow\" in the unpack function.  NOTE: this issue was originally REJECTed by its CNA before publication, but that decision is in active dispute.  This candidate may change significantly in the future as a result of further discussion.","cvss_v4":null,"cvss_v3":null,"cwes":[],"references":["http://marc.info/?l=bugtraq&m=110314318531298&w=2","http://www.hardened-php.net/advisories/012004.txt","http://www.mandriva.com/security/advisories?name=MDKSA-2004:151","http://www.mandriva.com/security/advisories?name=MDKSA-2005:072","http://www.osvdb.org/12411"],"products":["canonical:ubuntu_linux","php:php"],"source":"nvd","synced_at":"2026-10-19T19:38:22.000386253+00:00"},"epss":{"cve":"CVE-2004-1018","score":0.1616,"percentile":0.96932,"date":"2026-10-31"},"kev":null,"osv":[],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}