JLSEC-2026-2244: Buffer Overflow

Published Dec 2, 2026
·
Updated

sysdeps/i386/ldbl2mpn.c in the GNU C Library (aka glibc or libc6) before 2.23 on x86 targets has a stack-based buffer overflow if the input to any of the printf family of functions is an 80-bit long double with a non-canonical bit pattern, as seen when passing a \x00\x04\x00\x00\x00\x00\x00\x00\x00\x04 value to sprintf. NOTE: the issue does not affect glibc by default in 2016 or later (i.e., 2.23 or later) because of commits made in 2015 for inlining of C99 math functions through use of GCC built-ins. In other words, the reference to 2.23 is intentional despite the mention of "Fixed for glibc 2.33" in the 26649 reference.

Affected Software

1 affected component
julia/gccbootstrap_jll*

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade glibc to a version that resolves this vulnerability.

    Fixed in 2.23

Event History

Dec 2, 2026
Advisory Published
via OSV·09:30 PM
Data Sourced
via OSV·09:30 PM
DescriptionSeverityAffected Software

Child vulnerabilities

Contains the following vulnerabilities.

Frequently Asked Questions

1

Which systems are exposed to this issue?

The affected code is in glibc before 2.23 on x86 targets. glibc 2.23 and later is not affected by default because of 2015 changes that inline C99 math functions through GCC built-ins.

2

What input is needed to trigger the overflow?

An attacker or other input source must cause a printf-family function to process an 80-bit long double with a non-canonical bit pattern. The description gives an example value passed to sprintf: \x00\x04\x00\x00\x00\x00\x00\x00\x00\x04.

3

How can I determine whether my deployment needs attention?

Check whether the relevant x86 environment uses glibc earlier than 2.23 and whether it can process untrusted or otherwise malformed 80-bit long double values through printf-family functions. Deployments using glibc 2.23 or later in the default configuration are not affected.

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