CVE-2023-3824

Source
https://cve.org/CVERecord?id=CVE-2023-3824
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2023-3824.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2023-3824
Aliases
Downstream
Related
Published
2023-08-11T05:48:34.082Z
Modified
2026-06-18T03:56:38.960374137Z
Severity
  • 9.4 (Critical) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:L CVSS Calculator
Summary
Buffer overflow and overread in phar_dir_read()
Details

In PHP version 8.0.* before 8.0.30,  8.1.* before 8.1.22, and 8.2.* before 8.2.8, when loading phar file, while reading PHAR directory entries, insufficient length checking may lead to a stack buffer overflow, leading potentially to memory corruption or RCE.

Database specific
{
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/3xxx/CVE-2023-3824.json",
    "cna_assigner": "php",
    "cwe_ids": [
        "CWE-119"
    ]
}
References

Affected packages

Git / github.com/php/php-src

Affected ranges

Type
GIT
Repo
https://github.com/php/php-src
Events
Database specific
{
    "extracted_events": [
        {
            "introduced": "8.0.0"
        },
        {
            "fixed": "8.0.30"
        },
        {
            "introduced": "8.1.0"
        },
        {
            "fixed": "8.1.22"
        },
        {
            "introduced": "8.2.0"
        },
        {
            "fixed": "8.2.9"
        }
    ],
    "cpe": "cpe:2.3:a:php:php:*:*:*:*:*:*:*:*",
    "source": "CPE_RANGE"
}

Database specific

source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2023-3824.json"