CVE-2020-10029
NixOS vulnerability analysis and mitigation

Overview

The GNU C Library (glibc) before version 2.32 contained a vulnerability (CVE-2020-10029) where an on-stack buffer could overflow during range reduction if an input to an 80-bit long double function contains a non-canonical bit pattern, as seen when passing a 0x5d414141414141410000 value to sinl on x86 targets. This vulnerability was discovered in early 2020 and is related to the sysdeps/ieee754/ldbl-96/e_rem_pio2l.c component (CVE Details).

Technical details

The vulnerability affects the range reduction process in the GNU C Library's implementation of certain mathematical functions. The issue specifically occurs when processing pseudo-zero values (representations where all significand bits, including the explicit high bit, are zero, but the exponent is not zero) in 80-bit long double functions. The affected functions include cosl, sinl, sincosl, and tanl. The vulnerability is triggered when these functions process invalid multi-byte input sequences with non-canonical bit patterns (Sourceware Bug).

Impact

The vulnerability has been assigned a CVSS score of 5.5 (Medium), with the vector CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H. When exploited, it could lead to a Denial of Service (DoS) condition through application crashes. On systems where glibc is not compiled with -fstack-protector-all, the vulnerability can cause stack corruption, though achieving arbitrary code execution is considered difficult if not impossible (Ubuntu Security).

Mitigation and workarounds

The vulnerability was fixed in glibc version 2.32 by implementing proper validation of pseudo-zero and unnormal representations. The fix includes detecting these invalid representations during range reduction and returning a NaN instead of continuing with the range reduction process. For systems that cannot immediately upgrade, compiling glibc with stack protector enabled (-fstack-protector-all) can help mitigate the impact of the vulnerability (Sourceware Bug).

Additional resources


SourceThis report was generated using AI

Related NixOS vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-69264CRITICAL9.8
  • JavaScriptJavaScript
  • pnpm
NoYesJan 07, 2026
CVE-2025-69263HIGH8.8
  • JavaScriptJavaScript
  • pnpm
NoYesJan 07, 2026
CVE-2025-69262HIGH7.8
  • JavaScriptJavaScript
  • pnpm
NoYesJan 07, 2026
CVE-2025-20807MEDIUM6.7
  • NixOSNixOS
  • android
NoNoJan 06, 2026
CVE-2026-21885MEDIUM6.5
  • NixOSNixOS
  • miniflux
NoYesJan 08, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management