Skip to content
OpenAdvisories
Critical · 9.8 CVE-2026-5450 EUVD-2026-23978GHSA-v898-xg3c-w4rj

scanf %mc off-by-one heap buffer overflow

Published Apr 20, 2026 · Updated Oct 15, 2026 · Assigned by glibc

Description

Calling the scanf family of functions with a %mc (malloc'd character match) in the GNU C Library version 2.7 to version 2.43 with a format width specifier with an explicit width greater than 1024 could result in a one byte heap buffer overflow.

Affected products

VendorProductAffectedFixed
The GNU C Library glibc 2.7 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 glibc 2.42-17 —
Debian 13 glibc 2.41-12+deb13u4 —
Debian 12 glibc No fix yet —
ReleasePackageFixed inAdvisory
Ubuntu 26.04 LTS glibc 2.43-2ubuntu2.3 USN-8611-1
Ubuntu 25.10 glibc No fix yet —
Ubuntu 24.04 LTS glibc 2.39-0ubuntu8.8 USN-8611-1
Ubuntu 22.04 LTS glibc 2.35-0ubuntu3.14 USN-8611-1
Show 4 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu Pro 20.04 LTS glibc No fix yet —
Ubuntu Pro 18.04 LTS glibc No fix yet —
Ubuntu Pro 16.04 LTS glibc No fix yet —
Ubuntu Pro 14.04 LTS eglibc No fix yet —
ReleasePackageFixed inAdvisory
RHEL 10 glibc +220 2.39-126.el10_2 RHSA-2026:33092
RHEL 9 nscd +214 2.34-272.el9_8 RHSA-2026:33226
RHEL 8 nscd +213 2.28-251.el8_10.38 RHSA-2026:33126
Show 13 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
RHEL 10.0 EUS glibc +220 2.39-46.el10_0.5 RHSA-2026:33170
RHEL 9.6 EUS nscd +214 2.34-168.el9_6.25 RHSA-2026:33230
RHEL 9.4 E4S nscd +209 2.34-100.el9_4.13 RHSA-2026:33229
RHEL 9.2 E4S nscd +209 2.34-60.el9_2.20 RHSA-2026:33231
RHEL 8.8 TUS glibc +150 2.28-225.el8_8.17 RHSA-2026:33228
RHEL 8.8 E4S nscd +209 2.28-225.el8_8.17 RHSA-2026:33228
RHEL 8.6 EUS Long Life glibc +154 2.28-189.13.el8_6 RHSA-2026:33227
RHEL 8.6 AUS nscd +209 2.28-189.13.el8_6 RHSA-2026:33227
RHEL 8.4 EUS Long Life glibc +184 2.28-151.el8_4.6 RHSA-2026:36643
RHEL 8.4 AUS nscd +208 2.28-151.el8_4.6 RHSA-2026:36643
RHEL 7 ELS compat-glibc +1 1:2.12-4.el7_9.1 RHSA-2026:37396
RHEL 7 ELS nscd +7 2.17-326.el7_9.6 RHSA-2026:34211
RHEL 6 ELS nscd +7 2.12-1.212.el6_10.4 RHSA-2026:37395
Red Hat Hardened Images 1 glibc +223 2.42-12.hum1 RHSA-2026:12740

AlmaLinux

Errata ↗
ReleasePackageFixed inAdvisory
AlmaLinux 10 glibc +220 2.39-126.el10_2.alma.1 ALSA-2026:33092
AlmaLinux 9 nscd +214 2.34-272.el9_8 ALSA-2026:33226
AlmaLinux 8 nscd +213 2.28-251.el8_10.38 ALSA-2026:33126

Rocky Linux

Errata ↗
ReleasePackageFixed inAdvisory
Rocky Linux 10 glibc 2.39-126.el10_2 RLSA-2026:33092
Rocky Linux 9 glibc 2.34-272.el9_8 RLSA-2026:33226
Rocky Linux 8 glibc 2.28-251.el8_10.38 RLSA-2026:33126
ReleasePackageFixed inAdvisory
SLES 15 SP5 glibc 2.31-150300.101.1 SUSE-SU-2026:2333-1
SLES 15 SP4 glibc 2.31-150300.101.1 SUSE-SU-2026:2333-1
SLES 12 SP5 glibc 2.22-114.46.1 SUSE-SU-2026:2440-1
Show 8 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
SLES for SAP 15 SP5 glibc 2.31-150300.101.1 SUSE-SU-2026:2333-1
SLES for SAP 15 SP4 glibc 2.31-150300.101.1 SUSE-SU-2026:2333-1
SLE Micro 6.2 glibc 2.40-160000.5.1 SUSE-SU-2026:21780-1
SLE Micro 5.5 glibc 2.31-150300.101.1 SUSE-SU-2026:2333-1
SLE Micro 5.4 glibc 2.31-150300.101.1 SUSE-SU-2026:2333-1
SLE Micro 5.3 glibc 2.31-150300.101.1 SUSE-SU-2026:2333-1
SLE HPC 15 SP5 glibc 2.31-150300.101.1 SUSE-SU-2026:2333-1
SLE HPC 15 SP4 glibc 2.31-150300.101.1 SUSE-SU-2026:2333-1
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed glibc 2.43-3.1 openSUSE-SU-2026:10770-1
openSUSE Tumbleweed grype-db 0.54.4-1.1 openSUSE-SU-2026:12059-1

Azure Linux

ReleasePackageFixed inAdvisory
Azure Linux 3 glibc No fix yet —

Oracle Linux

ReleasePackageFixed inAdvisory
Oracle Linux 10 glibc +220 2.39-126.0.1.el10_2 ELSA-2026-33092
Oracle Linux 9 nscd +214 2.34-272.0.1.el9_8 ELSA-2026-33226
Oracle Linux 8 nscd +213 2.28-251.0.4.el8_10.38 ELSA-2026-33126

Wolfi

ReleasePackageFixed inAdvisory
Wolfi rolling sln +51 2.43-r7 —

Advisories 37

References