{
    "dataType": "CVE_RECORD",
    "dataVersion": "5.2",
    "cveMetadata": {
        "cveId": "CVE-2026-7258",
        "assignerOrgId": "dd77f84a-d19a-4638-8c3d-a322d820ed2b",
        "state": "PUBLISHED",
        "assignerShortName": "php",
        "dateReserved": "2026-04-28T04:58:17.457Z",
        "datePublished": "2026-05-10T04:28:14.520Z",
        "dateUpdated": "2026-05-11T13:06:10.908Z"
    },
    "containers": {
        "cna": {
            "providerMetadata": {
                "orgId": "dd77f84a-d19a-4638-8c3d-a322d820ed2b",
                "shortName": "php",
                "dateUpdated": "2026-05-10T04:45:03.566Z"
            },
            "title": "Out-of-bounds read in urldecode() on NetBSD",
            "datePublic": "2026-05-07T00:00:00.000Z",
            "problemTypes": [
                {
                    "descriptions": [
                        {
                            "lang": "en",
                            "cweId": "CWE-125",
                            "description": "CWE-125 Out-of-bounds Read",
                            "type": "CWE"
                        }
                    ]
                }
            ],
            "affected": [
                {
                    "vendor": "PHP Group",
                    "product": "PHP",
                    "platforms": [
                        "NetBSD"
                    ],
                    "versions": [
                        {
                            "status": "affected",
                            "version": "8.2.*",
                            "lessThan": "8.2.31",
                            "versionType": "semver"
                        },
                        {
                            "status": "affected",
                            "version": "8.3.*",
                            "lessThan": "8.3.31",
                            "versionType": "semver"
                        },
                        {
                            "status": "affected",
                            "version": "8.4.*",
                            "lessThan": "8.4.21",
                            "versionType": "semver"
                        },
                        {
                            "status": "affected",
                            "version": "8.5.*",
                            "lessThan": "8.5.6",
                            "versionType": "semver"
                        }
                    ],
                    "defaultStatus": "affected"
                }
            ],
            "descriptions": [
                {
                    "lang": "en",
                    "value": "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.",
                    "supportingMedia": [
                        {
                            "type": "text/html",
                            "base64": false,
                            "value": "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&nbsp;<code>isxdigit()</code>). 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&nbsp;can trigger a denial of service."
                        }
                    ]
                }
            ],
            "references": [
                {
                    "url": "https://github.com/php/php-src/security/advisories/GHSA-m8rr-4c36-8gq4",
                    "tags": [
                        "vendor-advisory"
                    ]
                }
            ],
            "metrics": [
                {
                    "format": "CVSS",
                    "scenarios": [
                        {
                            "lang": "en",
                            "value": "GENERAL"
                        }
                    ],
                    "cvssV4_0": {
                        "attackVector": "NETWORK",
                        "attackComplexity": "HIGH",
                        "attackRequirements": "PRESENT",
                        "privilegesRequired": "NONE",
                        "userInteraction": "NONE",
                        "vulnConfidentialityImpact": "NONE",
                        "subConfidentialityImpact": "NONE",
                        "vulnIntegrityImpact": "NONE",
                        "subIntegrityImpact": "NONE",
                        "vulnAvailabilityImpact": "LOW",
                        "subAvailabilityImpact": "LOW",
                        "exploitMaturity": "NOT_DEFINED",
                        "Safety": "NOT_DEFINED",
                        "Automatable": "NOT_DEFINED",
                        "Recovery": "NOT_DEFINED",
                        "valueDensity": "NOT_DEFINED",
                        "vulnerabilityResponseEffort": "NOT_DEFINED",
                        "providerUrgency": "AMBER",
                        "version": "4.0",
                        "baseSeverity": "MEDIUM",
                        "baseScore": 6.3,
                        "vectorString": "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"
                    }
                }
            ],
            "credits": [
                {
                    "lang": "en",
                    "value": "xfourj",
                    "type": "reporter"
                },
                {
                    "lang": "en",
                    "value": "Ilija Tovilo",
                    "type": "remediation developer"
                }
            ],
            "source": {
                "advisory": "GHSA-m8rr-4c36-8gq4",
                "discovery": "EXTERNAL"
            },
            "x_generator": {
                "engine": "Vulnogram 0.2.0"
            }
        },
        "adp": [
            {
                "metrics": [
                    {
                        "other": {
                            "type": "ssvc",
                            "content": {
                                "timestamp": "2026-05-11T13:05:55.470310Z",
                                "id": "CVE-2026-7258",
                                "options": [
                                    {
                                        "Exploitation": "none"
                                    },
                                    {
                                        "Automatable": "no"
                                    },
                                    {
                                        "Technical Impact": "partial"
                                    }
                                ],
                                "role": "CISA Coordinator",
                                "version": "2.0.3"
                            }
                        }
                    }
                ],
                "title": "CISA ADP Vulnrichment",
                "providerMetadata": {
                    "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
                    "shortName": "CISA-ADP",
                    "dateUpdated": "2026-05-11T13:06:10.908Z"
                }
            }
        ]
    }
}