Skip to content
Heist/ feed
Back to feed
MediumFix available

Various packet overreads in mysqlnd_writeprotocol.c

Type: advisorySources: OSV

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.

Products
php-min
Affected versions
Not specified
Fixed versions
8.2.34, 8.3.35, 8.4.26, 8.5.11
CVEs
CVE-2025-1218
Confirmed fixed CVEs
Not specified
Updated in this feed
1 Nov 2026, 10:30 UTC · Revision 2

Source evidence

Various packet overreads in mysqlnd_writeprotocol.c

core-osv · Original source

Published 1 Oct 2026, 09:33 UTC

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.

osv:BIT-php-min-2025-1218

php-min

Fixed versions: 8.2.34, 8.3.35, 8.4.26, 8.5.11

Complete source record
{
  "id": "67baa89bcecb1a6c09934247fa75876f3db1583e9e0b4d7f514194f7d62447c8",
  "url": "https://osv.dev/vulnerability/BIT-php-min-2025-1218",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "Various packet overreads in mysqlnd_writeprotocol.c",
    "summary": "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.",
    "evidence": "osv:BIT-php-min-2025-1218",
    "products": [
      {
        "name": {
          "value": "php-min",
          "evidence": "/affected/0/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "8.2.34",
            "evidence": "/affected/0/ranges"
          },
          {
            "value": "8.3.35",
            "evidence": "/affected/0/ranges"
          },
          {
            "value": "8.4.26",
            "evidence": "/affected/0/ranges"
          },
          {
            "value": "8.5.11",
            "evidence": "/affected/0/ranges"
          }
        ],
        "affected_versions": []
      }
    ],
    "severity": "medium",
    "structured": {
      "id": "BIT-php-min-2025-1218",
      "aliases": [
        "BIT-libphp-2025-1218",
        "BIT-php-2025-1218",
        "BIT-php-min-2025-1218",
        "CVE-2025-1218"
      ],
      "affected": [
        {
          "ranges": [
            {
              "type": "SEMVER",
              "events": [
                {
                  "introduced": "8.2.0"
                },
                {
                  "fixed": "8.2.34"
                },
                {
                  "introduced": "8.3.0"
                },
                {
                  "fixed": "8.3.35"
                },
                {
                  "introduced": "8.4.0"
                },
                {
                  "fixed": "8.4.26"
                },
                {
                  "introduced": "8.5.0"
                },
                {
                  "fixed": "8.5.11"
                }
              ]
            }
          ],
          "package": {
            "name": "php-min",
            "purl": "pkg:bitnami/php-min",
            "ecosystem": "Bitnami"
          },
          "severity": [
            {
              "type": "CVSS_V3",
              "score": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H"
            }
          ],
          "database_specific": {
            "source": "https://github.com/bitnami/vulndb/tree/main/data/php-min/BIT-php-min-2025-1218.json"
          }
        }
      ],
      "modified": "2026-10-26T08:45:05.592744451Z",
      "provider": "osv",
      "references": [
        "https://github.com/php/php-src/security/advisories/GHSA-r6x9-5r99-36j7",
        "https://nvd.nist.gov/vuln/detail/CVE-2025-1218"
      ],
      "provider_metadata": {
        "cpes": [
          "cpe:2.3:a:php:php:*:*:*:*:*:*:*:*"
        ],
        "severity": "Medium"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2025-1218",
        "evidence": "/aliases"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/database_specific/severity"
  },
  "source_id": "core-osv",
  "document_id": 446445,
  "published_at": "2026-10-01T09:33:37.805+00:00"
}