Advisory

UBUNTU-CVE-2025-1218

Also known as: CVE-2025-1218

Summary

The record has no summary.

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.

Severity

Low Basis: CVSS v3 score 3.4, vector CVSS:3.1/AV:A/AC:H/PR:N/UI:N/S:C/C:L/I:N/A:N

Dates

Published
2026-09-25 21:17 UTC
Modified
2026-10-27 04:15 UTC

Affected packages and fixes

php8.1

Debian packages (deb) · Ubuntu 22.04

Affected

  • introduced 0, fixed 8.1.2-1ubuntu2.27 (ecosystem)

Fixed versions

8.1.2-1ubuntu2.27

Fix

  • Fixed version 8.1.2-1ubuntu2.27
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

php8.3

Debian packages (deb) · Ubuntu 24.04

Affected

  • introduced 0, fixed 8.3.6-0ubuntu0.24.04.12 (ecosystem)

Fixed versions

8.3.6-0ubuntu0.24.04.12

Fix

  • Fixed version 8.3.6-0ubuntu0.24.04.12
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

php8.5

Debian packages (deb) · Ubuntu 26.10

Affected

  • introduced 0, fixed 8.5.9-0ubuntu2 (ecosystem)

Fixed versions

8.5.9-0ubuntu2

Fix

  • Fixed version 8.5.9-0ubuntu2
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

php8.5

Debian packages (deb) · Ubuntu 26.04

Affected

  • introduced 0, fixed 8.5.4-0ubuntu1.4 (ecosystem)

Fixed versions

8.5.4-0ubuntu1.4

Fix

  • Fixed version 8.5.4-0ubuntu1.4
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: Ubuntu Security Notices · CC BY-SA 4.0

Sources & licences