{"schemaVersion":3,"id":"CVE-2026-7258","aliases":["UBUNTU-CVE-2026-7258","DEBIAN-CVE-2026-7258","CGA-5794-2652-j7h7","CGA-m8x5-pjpw-vr94"],"status":"published","duplicateOf":null,"title":null,"description":"In PHP versions 8.2.* before 8.2.31, 8.3.* before 8.3.31, 8.4.* before 8.4.21, and 8.5.* before 8.5.6, some functions, including urldecode(), pass signed char to ctype functions (like isxdigit()). On the systems with default signed char and optimized table-lookup ctype functions - such as NetBSD - this can lead to accessing array with negative offset, which can trigger a denial of service.","dates":{"published":"2026-05-10T04:28:14.520Z","modified":"2026-05-11T13:06:10.908Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":7.5,"severity":"high","version":"3.1","versionLabel":"v3.1","source":"NVD","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","computed":false,"selection":"backend-summary"},"metrics":[{"version":"4.0","versionLabel":"v4.0","source":"CVE.org","score":6.3,"severity":"medium","vector":"CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:L/U:Amber","exploitability":null,"impact":null,"computed":false},{"version":"4.0","versionLabel":"v4.0","source":"OSV · Ubuntu","score":6.3,"severity":"medium","vector":"CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:L/U:Amber","exploitability":null,"impact":null,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Ubuntu","score":7.5,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","exploitability":10,"impact":6,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Debian","score":7.5,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","exploitability":10,"impact":6,"computed":true},{"version":"4.0","versionLabel":"v4.0","source":"OSV · Wolfi","score":6.3,"severity":"medium","vector":"CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:L/U:Amber","exploitability":null,"impact":null,"computed":true},{"version":"4.0","versionLabel":"v4.0","source":"OSV · Chainguard","score":6.3,"severity":"medium","vector":"CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:L/U:Amber","exploitability":null,"impact":null,"computed":true},{"version":"4.0","versionLabel":"v4.0","source":"NVD","score":6.3,"severity":"medium","vector":"CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:L/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:Amber","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":7.5,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.00405,"percentile":0.3335,"severity":"low","asOf":"2026-10-20T00:00:00.000Z","change":{"pp":0.06799999999999996,"baselineDate":"2026-09-20T00:00:00.000Z","baselineScore":0.00337},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.00337,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.00337,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.00337,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.00337,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.00337,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.00337,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.00337,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00337,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00337,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00337,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00405,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00405,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00405,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00405,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00405,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00405,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00405,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00405,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00405,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00405,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00405,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00405,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00405,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00405,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00405,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00405,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00405,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00405,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00405,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00405,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00405,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00405,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00405,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00405,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00405,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00405,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.00405,"percentile":0.3335}],"last30":[{"date":"2026-09-20T00:00:00.000Z","score":0.00337,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00337,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00337,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00337,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00405,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00405,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00405,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00405,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00405,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00405,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00405,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00405,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00405,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00405,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00405,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00405,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00405,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00405,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00405,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00405,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00405,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00405,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00405,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00405,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00405,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00405,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00405,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00405,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00405,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00405,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.00405,"percentile":0.3335}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[],"exploitCount":0,"weaknesses":[{"id":"CWE-125","name":"Out-of-bounds Read","description":"The product reads data past the end, or before the beginning, of the intended buffer.","type":"weakness","status":"Draft","abstraction":"Base","likelihoodOfExploit":null,"url":"https://cwe.mitre.org/data/definitions/125.html"}],"affected":[{"vendor":"chainguard","product":"php-8.2","name":"php-8.2","label":"php-8.2","ecosystem":"Chainguard","cpePart":null,"purl":"pkg:apk/chainguard/php-8.2","purlType":"apk","versions":[{"text":"< 8.2.31-r0","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 8.2.31-r0","eol":null,"hubHref":null},{"vendor":"wolfi","product":"php-8.2","name":"php-8.2","label":"php-8.2","ecosystem":"Wolfi","cpePart":null,"purl":"pkg:apk/wolfi/php-8.2","purlType":"apk","versions":[{"text":"< 8.2.31-r0","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 8.2.31-r0","eol":null,"hubHref":null},{"vendor":"debian","product":"php8.2","name":"php8.2","label":"php8.2","ecosystem":"Debian","cpePart":null,"purl":"pkg:deb/debian/php8.2","purlType":"deb","versions":[{"text":"< 8.2.31-1~deb12u1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 8.2.31-1~deb12u1","eol":null,"hubHref":null},{"vendor":"debian","product":"php8.4","name":"php8.4","label":"php8.4","ecosystem":"Debian","cpePart":null,"purl":"pkg:deb/debian/php8.4","purlType":"deb","versions":[{"text":"< 8.4.21-1~deb13u1","noFixRecorded":false,"fixedIn":null},{"text":"< 8.4.21-1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 8.4.21-1~deb13u1 | < 8.4.21-1","eol":null,"hubHref":null},{"vendor":"ubuntu","product":"php8.3","name":"php8.3","label":"php8.3","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/php8.3","purlType":"deb","versions":[{"text":"< 8.3.6-0ubuntu0.24.04.9","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 8.3.6-0ubuntu0.24.04.9","eol":null,"hubHref":null},{"vendor":"ubuntu","product":"php8.4","name":"php8.4","label":"php8.4","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/php8.4","purlType":"deb","versions":[{"text":"< 8.4.11-1ubuntu1.2","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 8.4.11-1ubuntu1.2","eol":null,"hubHref":null},{"vendor":"ubuntu","product":"php8.5","name":"php8.5","label":"php8.5","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/php8.5","purlType":"deb","versions":[{"text":"< 8.5.4-0ubuntu1.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 8.5.4-0ubuntu1.1","eol":null,"hubHref":null},{"vendor":"php_group","product":"php","name":"PHP","label":"php","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≥ 8.2.*, < 8.2.31","noFixRecorded":false,"fixedIn":null},{"text":"≥ 8.3.*, < 8.3.31","noFixRecorded":false,"fixedIn":null},{"text":"≥ 8.4.*, < 8.4.21","noFixRecorded":false,"fixedIn":null},{"text":"≥ 8.5.*, < 8.5.6","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 8.2.*, < 8.2.31 | ≥ 8.3.*, < 8.3.31 | ≥ 8.4.*, < 8.4.21 | ≥ 8.5.*, < 8.5.6","eol":null,"hubHref":"/vendor/php_group/php"},{"vendor":"php","product":"php","name":"PHP","label":"php","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≥ 8.2.0, < 8.2.21","noFixRecorded":false,"fixedIn":null},{"text":"≥ 8.3.0, < 8.3.31","noFixRecorded":false,"fixedIn":null},{"text":"≥ 8.4.0, < 8.4.21","noFixRecorded":false,"fixedIn":null},{"text":"≥ 8.5.0, < 8.5.6","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 8.2.0, < 8.2.21 | ≥ 8.3.0, < 8.3.31 | ≥ 8.4.0, < 8.4.21 | ≥ 8.5.0, < 8.5.6","eol":{"isEol":null,"eolDate":null,"matchMethod":"cpe","cycle":null,"product":{"name":"php","label":"PHP","category":"lang"}},"hubHref":"/vendor/php/php"}],"affectedCount":9,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://github.com/php/php-src/security/advisories/GHSA-m8rr-4c36-8gq4","label":"github.com/php/php-src/security/advisories/GHSA-m8rr-4c36-8gq4","hostname":"github.com","tags":["Vendor Advisory","REPORT","Advisory"]},{"url":"https://ubuntu.com/security/CVE-2026-7258","label":"ubuntu.com/security/CVE-2026-7258","hostname":"ubuntu.com","tags":["REPORT"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-7258","label":"www.cve.org/CVERecord?id=CVE-2026-7258","hostname":"www.cve.org","tags":["REPORT"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2026-7258","label":"security-tracker.debian.org/tracker/CVE-2026-7258","hostname":"security-tracker.debian.org","tags":["Advisory"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/7xxx/CVE-2026-7258.json","label":"github.com/CVEProject/cvelistV5/tree/main/cves/2026/7xxx/CVE-2026-7258.json","hostname":"github.com","tags":["Advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-7258","label":"nvd.nist.gov/vuln/detail/CVE-2026-7258","hostname":"nvd.nist.gov","tags":["Advisory","Oval"]}],"lineage":{"upstream":[],"downstream":["MGASA-2026-0127","OPENSUSE-SU-2026:10747-1","RHSA-2026:14125","RHSA-2026:22142","RHSA-2026:22143","RHSA-2026:22305","RHSA-2026:22649","RHSA-2026:23388","RHSA-2026:33449","RHSA-2026:34354"],"duplicates":[],"related":["CGA-8J2G-9GMW-VX6X","OPENSUSE-SU-2026:10747-1"]},"timeline":[{"kind":"published","date":"2026-05-10T04:28:14.520Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2026-05-11T13:06:10.908Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":30,"level":"medium","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-20T14:37:41.487Z","stale":false,"partial":false}}