p PatchFirst

CVE-2026-0861

CVE-2026-0861 · Integer overflow in memalign leads to heap corruption

Diese Seite enthält Fakten aus öffentlichen Sicherheitsquellen. Lesen Sie vor dem Aktualisieren die Originalmeldung.

Passing too large an alignment to the memalign suite of functions (memalign, posix_memalign, aligned_alloc) in the GNU C Library version 2.30 to 2.42 may result in an integer overflow, which could consequently result in a heap corruption. Note that the attacker must have control over both, the size as well as the alignment arguments of the memalign function to be able to exploit this. The size parameter must be close enough to PTRDIFF_MAX so as to overflow size_t along with the large alignment argument. This limits the malicious inputs for the alignment for memalign to the range [1<<62+ 1, 1<<63] and exactly 1<<63 for posix_memalign and aligned_alloc. Typically the alignment argument passed to such functions is a known constrained quantity (e.g. page size, block size, struct sizes) and is not attacker controlled, because of which this may not be easily exploitable in practice. An application bug could potentially result in the input alignment being too large, e.g. due to a different buffer overflow or integer overflow in the application or its dependent libraries, but that is again an uncommon usage pattern given typical sources of alignments.

CVSS 8.4 · Hoch · EPSS 0,4% · Korrektur verfügbar

Veröffentlicht
Aktualisiert

Technologie-Stack: system

Betroffene Produkte und Versionen

  • glibc

    Softwareversionen
    • ≥ 2.30, ≤ 2.42: Betroffen (custom)

    Keine Korrektur veröffentlicht

  • glibc Debian:12

    Softwareversionen
    • 2.36-9
    • 2.36-9+deb12u1
    • 2.36-9+deb12u10
    • 2.36-9+deb12u11
    • 2.36-9+deb12u12
    • 2.36-9+deb12u13
    • 2.36-9+deb12u2
    • 2.36-9+deb12u3
    • 2.36-9+deb12u4
    • 2.36-9+deb12u5
    • 2.36-9+deb12u6
    • 2.36-9+deb12u7
    • 2.36-9+deb12u8
    • 2.36-9+deb12u9
    Betroffene Versionsbereiche
    • ECOSYSTEM: < 2.36-9+deb12u14

    Auf 2.36-9+deb12u14 aktualisieren

  • glibc Debian:13

    Softwareversionen
    • 2.41-12
    • 2.41-12+deb13u1
    Betroffene Versionsbereiche
    • ECOSYSTEM: < 2.41-12+deb13u2

    Auf 2.41-12+deb13u2 aktualisieren

  • glibc Debian:14

    Softwareversionen
    • 2.41-12
    • 2.41-13~hurd.0
    • 2.41-13~hurd.1
    • 2.42-1
    • 2.42-2
    • 2.42-3
    • 2.42-4
    • 2.42-5
    • 2.42-6
    • 2.42-7
    • 2.42-8~hurd.1
    • 2.42-8~hurd.2
    Betroffene Versionsbereiche
    • ECOSYSTEM: < 2.42-8

    Auf 2.42-8 aktualisieren

  • glibc Ubuntu:Pro:20.04:LTS

    Softwareversionen
    • 2.30-0ubuntu2
    • 2.30-0ubuntu3
    • 2.31-0ubuntu5
    • 2.31-0ubuntu6
    • 2.31-0ubuntu7
    • 2.31-0ubuntu9
    • 2.31-0ubuntu9.1
    • 2.31-0ubuntu9.2
    • 2.31-0ubuntu9.3
    • 2.31-0ubuntu9.7
    • 2.31-0ubuntu9.9
    • 2.31-0ubuntu9.12
    • 2.31-0ubuntu9.14
    • 2.31-0ubuntu9.15
    • 2.31-0ubuntu9.16
    • 2.31-0ubuntu9.17
    • 2.31-0ubuntu9.18
    Betroffene Versionsbereiche
    • ECOSYSTEM: < 2.31-0ubuntu9.18+esm1

    Auf 2.31-0ubuntu9.18+esm1 aktualisieren

  • glibc Ubuntu:22.04:LTS

    Softwareversionen
    • 2.34-0ubuntu3
    • 2.35-0ubuntu1
    • 2.35-0ubuntu3
    • 2.35-0ubuntu3.1
    • 2.35-0ubuntu3.3
    • 2.35-0ubuntu3.4
    • 2.35-0ubuntu3.5
    • 2.35-0ubuntu3.6
    • 2.35-0ubuntu3.7
    • 2.35-0ubuntu3.8
    • 2.35-0ubuntu3.9
    • 2.35-0ubuntu3.10
    • 2.35-0ubuntu3.11
    • 2.35-0ubuntu3.12
    Betroffene Versionsbereiche
    • ECOSYSTEM: < 2.35-0ubuntu3.13

    Auf 2.35-0ubuntu3.13 aktualisieren

  • glibc Ubuntu:24.04:LTS

    Softwareversionen
    • 2.38-1ubuntu6
    • 2.38-3ubuntu1
    • 2.39-0ubuntu1
    • 2.39-0ubuntu2
    • 2.39-0ubuntu6
    • 2.39-0ubuntu8
    • 2.39-0ubuntu8.1
    • 2.39-0ubuntu8.2
    • 2.39-0ubuntu8.3
    • 2.39-0ubuntu8.4
    • 2.39-0ubuntu8.5
    • 2.39-0ubuntu8.6
    Betroffene Versionsbereiche
    • ECOSYSTEM: < 2.39-0ubuntu8.7

    Auf 2.39-0ubuntu8.7 aktualisieren

  • glibc Ubuntu:25.10

    Softwareversionen
    • 2.41-6ubuntu1
    • 2.41-6ubuntu2
    • 2.41-9ubuntu1
    • 2.42-0ubuntu1
    • 2.42-0ubuntu3
    Betroffene Versionsbereiche
    • ECOSYSTEM: < 2.42-0ubuntu3.1

    Auf 2.42-0ubuntu3.1 aktualisieren

Originalquellen

Prüfen Sie Ihren Server →