p PatchFirst

ALPINE-CVE-2026-66046

ALPINE-CVE-2026-66046

This page contains facts from public vulnerability sources. Check the original advisory before updating.

Expat through 2.8.3 contains a denial of service vulnerability caused by quadratic algorithmic complexity in the storeAtts() function in xmlparse.c, where processing N specified attributes with non-normalized values triggers an O(N^2) linear scan of elementType->defaultAtts to determine CDATA status. A remote unauthenticated attacker can supply a single well-formed XML document of a few megabytes to an application parsing untrusted XML to cause excessive CPU consumption, resulting in denial of service without requiring authentication, external entity resolution, or non-default parser options.

CVSS 8.7 · High · Fix available

Published
Updated

Stack: system

Affected products and versions

  • expat Alpine:v3.21

    Affected ranges
    • ECOSYSTEM: < 2.8.4-r0

    Update to 2.8.4-r0

  • expat Alpine:v3.22

    Affected ranges
    • ECOSYSTEM: < 2.8.4-r0

    Update to 2.8.4-r0

  • expat Alpine:v3.23

    Affected ranges
    • ECOSYSTEM: < 2.8.4-r0

    Update to 2.8.4-r0

  • expat Alpine:v3.24

    Affected ranges
    • ECOSYSTEM: < 2.8.4-r0

    Update to 2.8.4-r0

Original sources

Check your server →