StackPatch is liveSee product

Back to CVE digest
CVE-2025-24928 · cross-distro fix matrix

CVE-2025-24928: libxml2 before 2.12.10 and 2.13.x before 2.13.6 has a stack-based buffer overflow in xmlSnprintfElements in valid.c. To exploit this, DTD validation must occur for an untrusted document or untrusted DTD. NOTE: this is similar to CVE-2017-9047.

Affects 8 Linux releases across 9 (distro × package) combinations.

Fix per ecosystem

Each block below is a distro release where CVE-2025-24928 has a known fix. Run the listed command on that distro to remediate.

Debian bullseye

Source: Debian Security Tracker

  • libxml2→ fixed in2.9.10+dfsg-6.7+deb11u6urgency: not yet assigned
    sudo apt-get install --only-upgrade -y libxml2

Debian bookworm

Source: Debian Security Tracker

  • libxml2→ fixed in2.9.14+dfsg-1.3~deb12u2urgency: not yet assigned
    sudo apt-get install --only-upgrade -y libxml2

Debian trixie

Source: Debian Security Tracker

  • libxml2→ fixed in2.12.7+dfsg+really2.9.14-0.4urgency: not yet assigned
    sudo apt-get install --only-upgrade -y libxml2

Alpine v3.20

Source: Alpine secdb

  • libxml2→ fixed in2.12.7-r1
    apk update && apk add --upgrade libxml2

Alpine v3.21

Source: Alpine secdb

  • libxml2→ fixed in2.13.4-r4
    apk update && apk add --upgrade libxml2

Alpine edge

Source: Alpine secdb

  • libxml2→ fixed in2.13.6-r0
    apk update && apk add --upgrade libxml2
  • qt6-qtwebengine→ fixed in6.10.0-r1
    apk update && apk add --upgrade qt6-qtwebengine

Alpine v3.18

Source: Alpine secdb

  • libxml2→ fixed in2.11.8-r1
    apk update && apk add --upgrade libxml2

Alpine v3.19

Source: Alpine secdb

  • libxml2→ fixed in2.11.8-r1
    apk update && apk add --upgrade libxml2
Are YOU affected by CVE-2025-24928?

5-second check on your actual server. Reads /etc/os-release, uname -r, and the distro's package manager; matches against this same cross-source index live.

curl https://mindsparkstack.com/scan.sh | bash
Continuous monitoring beats manual checking

CVE-2025-24928dropped silently in your distro's update channel. Every new CVE is the same story. StackPatch runs the matcher hourly against all 5 sources and emails the exact remediation when something new applies to one of your servers. $99 lifetime, 50 founder seats, 30-day refund.

See StackPatch ($99 lifetime)