CVE-2025-1218

Source
https://cve.org/CVERecord?id=CVE-2025-1218
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2025-1218.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2025-1218
Aliases
Downstream
ALPINE (1)
ALSA (1)
AZL (1)
BELL (1)
CLEANSTART (1)
DEBIAN (1)
ECHO (1)
MGASA (1)
MINI (8)
OESA (4)
openSUSE (2)
RHSA (2)
RLSA (1)
SUSE (5)
UBUNTU (1)
Related
Published
2026-09-25T20:48:21Z
Modified
2026-11-04T10:46:30Z
Severity
  • 3.4 (Low) CVSS_V3 - CVSS:3.1/AV:A/AC:H/PR:N/UI:N/S:C/C:L/I:N/A:N CVSS Calculator
Summary
Various packet overreads in mysqlnd_writeprotocol.c
Details

The mysqlnd wire protocol parser reads fields out of server packets before checking that the packet still holds enough bytes for them. A malicious or compromised MySQL server can send a truncated packet and make the client read past the end of the packet buffer, which is undefined behaviour and can crash the process.

Database specific
{
    "cna_assigner":  "php",
    "cwe_ids":  [
        "CWE-122"
    ],
    "osv_generated_from":  "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/1xxx/CVE-2025-1218.json"
}
References

Affected packages

Git / github.com/php/php-src

Affected ranges

Type
GIT
Repo
https://github.com/php/php-src
Events
Database specific
Show details
{
    "extracted_events":  [
        {
            "cpe":  "cpe:2.3:a:php:php:*:*:*:*:*:*:*:*",
            "range":  [
                {
                    "introduced":  "8.2.0"
                },
                {
                    "fixed":  "8.2.34"
                }
            ],
            "source":  "CPE_RANGE"
        },
        {
            "cpe":  "cpe:2.3:a:php:php:*:*:*:*:*:*:*:*",
            "range":  [
                {
                    "introduced":  "8.3.0"
                },
                {
                    "fixed":  "8.3.35"
                }
            ],
            "source":  "CPE_RANGE"
        },
        {
            "cpe":  "cpe:2.3:a:php:php:*:*:*:*:*:*:*:*",
            "range":  [
                {
                    "introduced":  "8.4.0"
                },
                {
                    "fixed":  "8.4.26"
                }
            ],
            "source":  "CPE_RANGE"
        },
        {
            "cpe":  "cpe:2.3:a:php:php:*:*:*:*:*:*:*:*",
            "range":  [
                {
                    "introduced":  "8.5.0"
                },
                {
                    "fixed":  "8.5.11"
                }
            ],
            "source":  "CPE_RANGE"
        }
    ]
}

Database specific

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