CVE-2026-5450: scanf %mc off-by-one heap buffer overflow

Published Apr 20, 2026
·
Updated

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 Software

7 affected componentsFixes available
GNU GNU C Library>=2.7<=2.43
GNU glibc>=2.7<=2.43
debian/glibc<=2.31-13+deb11u11, <=2.31-13+deb11u14, <=2.36-9+deb12u14, <=2.36-9+deb12u7, <=2.41-12+deb13u3
2.42-17
IBM CICS Transaction Gateway for Multiplatforms<=9.1
IBM CICS Transaction Gateway for Multiplatforms<=9.2
IBM CICS Transaction Gateway for Multiplatforms<=9.3
IBM CICS Transaction Gateway for Multiplatforms<=10.1

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade debian/glibc to a version that resolves this vulnerability.

    Fixed in 2.42-17
  2. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 2.43
  3. Configuration

    Ensure calls to the scanf family do not use the %mc specifier with a format width explicitly greater than 1024 to avoid the one-byte heap buffer overflow.

    GNU C Library (glibc) scanf family scanf format width specifier = Do not use explicit width greater than 1024 with %mc

Event History

Apr 20, 2026
CVE Published
via MITRE·08:55 PM
Data Sourced
via MITRE·08:55 PM
DescriptionWeakness
Data Sourced
via Red Hat·09:01 PM
DescriptionSeverityAffected Software
Data Sourced
via NVD·09:16 PM
DescriptionSeverityWeaknessAffected Software
Jul 27, 2026
Data Sourced
via Ubuntu·03:01 PM
RemedyDescriptionSeverityAffected Software
Data Sourced
via Debian·03:03 PM
DescriptionAffected Software
Data Sourced
via Launchpad·03:03 PM
Description
Jul 29, 2026
Data Sourced
via IBM·12:00 AM
DescriptionAffected Software

Parent advisories

This vulnerability appears in the following advisories.

Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2026-5450?

CVE-2026-5450 has a high severity rating due to the potential for a heap buffer overflow leading to unauthorized access or crashes.

2

How do I fix CVE-2026-5450?

To fix CVE-2026-5450, upgrade your GNU C Library to a version newer than 2.43.

3

What systems are affected by CVE-2026-5450?

CVE-2026-5450 affects versions of the GNU C Library from 2.7 through 2.43.

4

What are the potential impacts of CVE-2026-5450?

The potential impacts of CVE-2026-5450 include application crashes and the possibility of remote code execution.

5

Is CVE-2026-5450 an easily exploitable vulnerability?

CVE-2026-5450 may be exploitable under certain conditions, especially if applications improperly handle user input.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203