p PatchFirst

CVE-2026-125709

CVE-2026-125709 · Libstdc++: overflow leaves streambuf in inconsistent state on i/o error.

CVSS 4.2 · Medium · EPSS 0.3% · Fix available

Compare with your installed version

Affected products and known fixed versions are public information. Compare them with your installed version.

Assess your server’s risks

The free check gives you a rating and a risk summary by technology stack, without signing up. It does not answer whether this particular vulnerability affects you.

Monitoring matches public information against your servers’ software. Detailed findings for your servers include the order of updates.

curl -fsSL https://patchfirst.dev/check.sh | sh
Check your server for free →

Channels carry general technology news; monitoring reports new findings on your servers in your dashboard, through browser notifications, in Telegram or via a webhook.

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

This page shows selected source facts. See the linked advisories for the complete description and affected versions.

A flaw was found in libstdc++. When a byte-by-byte write operation fails during file stream processing, the library may still append data into the internal memory buffer. An attacker capable of inducing repeated write failures in an affected service can trigger a buffer overflow, potentially resulting in a Denial of Service (DoS) or memory corruption.

Published
Updated

Fixes in distributions

Stack: system

Affected products and versions

  • red hat hardened images

    Versions
    • ≥ 16.2.1-3.3.hum1: Not affected (rpm)

    No fix published

  • red hat enterprise linux 10

    No fix published

  • red hat enterprise linux 6

    No fix published

  • red hat enterprise linux 7

    No fix published

  • red hat enterprise linux 8

    No fix published

  • red hat enterprise linux 9

    No fix published

  • red hat hardened images

    No fix published

  • red hat openshift container platform 4

    No fix published

  • red hat openshift container platform 5

    No fix published

  • gcc-11 Debian 12

    Versions
    • 11.3.0-12
    • 11.3.0-13
    • 11.3.0-14
    • 11.3.0-15
    • 11.4.0-1
    • 11.4.0-10
    All versions (28)
    • 11.4.0-2
    • 11.4.0-3
    • 11.4.0-4
    • 11.4.0-5
    • 11.4.0-6
    • 11.4.0-7
    • 11.4.0-8
    • 11.4.0-9
    • 11.5.0-1
    • 11.5.0-10
    • 11.5.0-11
    • 11.5.0-12
    • 11.5.0-13
    • 11.5.0-14
    • 11.5.0-2
    • 11.5.0-3
    • 11.5.0-4
    • 11.5.0-5
    • 11.5.0-6
    • 11.5.0-7
    • 11.5.0-8
    • 11.5.0-9
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • gcc-12 Debian 12

    Versions
    • 12.2.0-14
    • 12.2.0-14+deb12u1
    • 12.2.0-14+hurd.1
    • 12.2.0-14+loong64
    • 12.2.0-14+loong64.1
    • 12.2.0-15
    All versions (48)
    • 12.2.0-16
    • 12.2.0-17
    • 12.2.0-18
    • 12.3.0-1
    • 12.3.0-10
    • 12.3.0-11
    • 12.3.0-12
    • 12.3.0-13
    • 12.3.0-14
    • 12.3.0-15
    • 12.3.0-16
    • 12.3.0-17
    • 12.3.0-2
    • 12.3.0-3
    • 12.3.0-3~exp1
    • 12.3.0-4
    • 12.3.0-5
    • 12.3.0-6
    • 12.3.0-7
    • 12.3.0-8
    • 12.3.0-9
    • 12.4.0-1
    • 12.4.0-2
    • 12.4.0-3
    • 12.4.0-4
    • 12.4.0-5
    • 12.4.0-6
    • 12.4.0-7
    • 12.4.0-8
    • 12.4.0-8~alpha
    • 12.5.0-1
    • 12.5.0-10
    • 12.5.0-11
    • 12.5.0-12
    • 12.5.0-2
    • 12.5.0-3
    • 12.5.0-4
    • 12.5.0-5
    • 12.5.0-6
    • 12.5.0-7
    • 12.5.0-8
    • 12.5.0-9
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • gcc-12 Debian 13

    Versions
    • 12.4.0-5
    • 12.4.0-6
    • 12.4.0-7
    • 12.4.0-8
    • 12.4.0-8~alpha
    • 12.5.0-1
    All versions (17)
    • 12.5.0-10
    • 12.5.0-11
    • 12.5.0-12
    • 12.5.0-2
    • 12.5.0-3
    • 12.5.0-4
    • 12.5.0-5
    • 12.5.0-6
    • 12.5.0-7
    • 12.5.0-8
    • 12.5.0-9
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • gcc-13 Debian 13

    Versions
    • 13.3.0-16
    • 13.3.0-17
    • 13.4.0-1
    • 13.4.0-10
    • 13.4.0-11
    • 13.4.0-11+alpha
    All versions (19)
    • 13.4.0-12
    • 13.4.0-2
    • 13.4.0-3
    • 13.4.0-4
    • 13.4.0-5
    • 13.4.0-6
    • 13.4.0-7
    • 13.4.0-8
    • 13.4.0-9
    • 13.5.0-1
    • 13.5.0-2
    • 13.5.0-3
    • 13.5.0-4
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • gcc-13 Debian 14

    Versions
    • 13.3.0-16
    • 13.3.0-17
    • 13.4.0-1
    • 13.4.0-10
    • 13.4.0-11
    • 13.4.0-11+alpha
    All versions (19)
    • 13.4.0-12
    • 13.4.0-2
    • 13.4.0-3
    • 13.4.0-4
    • 13.4.0-5
    • 13.4.0-6
    • 13.4.0-7
    • 13.4.0-8
    • 13.4.0-9
    • 13.5.0-1
    • 13.5.0-2
    • 13.5.0-3
    • 13.5.0-4
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • gcc-14 Debian 13

    Versions
    • 14.2.0-19
    • 14.2.0-20
    • 14.2.0-21
    • 14.2.0-22
    • 14.2.0-23
    • 14.2.0-24
    All versions (28)
    • 14.2.0-25
    • 14.3.0-1
    • 14.3.0-10
    • 14.3.0-11
    • 14.3.0-12
    • 14.3.0-13
    • 14.3.0-14
    • 14.3.0-15
    • 14.3.0-16
    • 14.3.0-2
    • 14.3.0-3
    • 14.3.0-4
    • 14.3.0-5
    • 14.3.0-6
    • 14.3.0-7
    • 14.3.0-8
    • 14.3.0-9
    • 14.4.0-1
    • 14.4.0-2
    • 14.4.0-3
    • 14.4.0-4
    • 14.4.0-5
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • gcc-14 Debian 14

    Versions
    • 14.2.0-19
    • 14.2.0-20
    • 14.2.0-21
    • 14.2.0-22
    • 14.2.0-23
    • 14.2.0-24
    All versions (28)
    • 14.2.0-25
    • 14.3.0-1
    • 14.3.0-10
    • 14.3.0-11
    • 14.3.0-12
    • 14.3.0-13
    • 14.3.0-14
    • 14.3.0-15
    • 14.3.0-16
    • 14.3.0-2
    • 14.3.0-3
    • 14.3.0-4
    • 14.3.0-5
    • 14.3.0-6
    • 14.3.0-7
    • 14.3.0-8
    • 14.3.0-9
    • 14.4.0-1
    • 14.4.0-2
    • 14.4.0-3
    • 14.4.0-4
    • 14.4.0-5
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • gcc-15 Debian 14

    Versions
    • 15-20241128-1
    • 15-20241214-1
    • 15-20241220-1
    • 15-20241231-1
    • 15-20250112-1
    • 15-20250114-1
    All versions (54)
    • 15-20250130-1
    • 15-20250130-2
    • 15-20250203-1
    • 15-20250208-1
    • 15-20250213-1
    • 15-20250220-1
    • 15-20250315-1
    • 15-20250319-1
    • 15-20250329-1
    • 15-20250406-1
    • 15-20250423-1
    • 15.1.0-1
    • 15.1.0-10
    • 15.1.0-11
    • 15.1.0-2
    • 15.1.0-3
    • 15.1.0-4
    • 15.1.0-5
    • 15.1.0-6
    • 15.1.0-7
    • 15.1.0-8
    • 15.1.0-8+sh4
    • 15.1.0-8+sh4.1
    • 15.1.0-9
    • 15.2.0-1
    • 15.2.0-10
    • 15.2.0-11
    • 15.2.0-12
    • 15.2.0-13
    • 15.2.0-14
    • 15.2.0-15
    • 15.2.0-16
    • 15.2.0-17
    • 15.2.0-2
    • 15.2.0-3
    • 15.2.0-4
    • 15.2.0-5
    • 15.2.0-6
    • 15.2.0-7
    • 15.2.0-8
    • 15.2.0-9
    • 15.3.0-1
    • 15.3.0-2
    • 15.3.0-3
    • 15.3.0-4
    • 15.3.0-5
    • 15.3.0-6
    • 15.3.0-7
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • gcc-16 Debian 14

    Versions
    • 16-20251130-1
    • 16-20251202-1
    • 16-20251210-1
    • 16-20251214-1
    • 16-20260119-1
    • 16-20260203-1
    All versions (26)
    • 16-20260203-2
    • 16-20260207-1
    • 16-20260207-2
    • 16-20260208-1
    • 16-20260217-1
    • 16-20260226-1
    • 16-20260307-1
    • 16-20260308-1
    • 16-20260308-1+sh4
    • 16-20260315-1
    • 16-20260322-1
    • 16-20260423-1
    • 16-20260425-1
    • 16.1.0-1
    • 16.1.0-2
    • 16.1.0-3
    • 16.2.0-1
    • 16.2.0-2
    • 16.2.0-3
    • 16.2.0-4
    Affected ranges
    • ECOSYSTEM: < 16.2.0-5

    Update to 16.2.0-5

  • gcc-3.3 Ubuntu 14.04 LTS

    Versions
    • 1:3.3.6ds1-25ubuntu4
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • gcc-4.7 Ubuntu 14.04 LTS

    Versions
    • 4.7.3-7ubuntu3
    • 4.7.3-8ubuntu1
    • 4.7.3-9ubuntu1
    • 4.7.3-9ubuntu2
    • 4.7.3-10ubuntu1
    • 4.7.3-11ubuntu1
    All versions (7)
    • 4.7.3-12ubuntu1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • gcc-4.8 Ubuntu 14.04 LTS

    Versions
    • 4.8.1-10ubuntu8
    • 4.8.2-1ubuntu1
    • 4.8.2-1ubuntu2
    • 4.8.2-10ubuntu1
    • 4.8.2-10ubuntu2
    • 4.8.2-12ubuntu2
    All versions (23)
    • 4.8.2-13ubuntu1
    • 4.8.2-14ubuntu1
    • 4.8.2-14ubuntu2
    • 4.8.2-14ubuntu4
    • 4.8.2-15ubuntu3
    • 4.8.2-16ubuntu1
    • 4.8.2-16ubuntu3
    • 4.8.2-16ubuntu4
    • 4.8.2-16ubuntu5
    • 4.8.2-16ubuntu6
    • 4.8.2-17ubuntu1
    • 4.8.2-17ubuntu2
    • 4.8.2-19ubuntu1
    • 4.8.4-2ubuntu1~14.04
    • 4.8.4-2ubuntu1~14.04.1
    • 4.8.4-2ubuntu1~14.04.3
    • 4.8.4-2ubuntu1~14.04.4
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • gcc-defaults Ubuntu 14.04 LTS

    Versions
    • 1.122ubuntu3
    • 1.124ubuntu2
    • 1.124ubuntu3
    • 1.124ubuntu4
    • 1.124ubuntu5
    • 1.124ubuntu6
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • gcc-mingw-w64 Ubuntu 14.04 LTS

    Versions
    • 8
    • 9
    • 11
    • 12
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • gccgo-4.9 Ubuntu 14.04 LTS

    Versions
    • 4.9-20140213-0ubuntu1
    • 4.9-20140213-0ubuntu2
    • 4.9-20140217-0ubuntu1
    • 4.9-20140222-0ubuntu1
    • 4.9-20140303-0ubuntu2
    • 4.9-20140303-0ubuntu3
    All versions (11)
    • 4.9-20140321-0ubuntu1
    • 4.9-20140330-0ubuntu1
    • 4.9-20140406-0ubuntu1
    • 4.9.1-0ubuntu1
    • 4.9.3-0ubuntu4
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

Original sources

Check your server →