CVE-2019-14875
NixOS vulnerability analysis and mitigation

Overview

CVE-2019-14875 affects the __multiply function in the newlib libc library, versions prior to 3.3.0. The vulnerability stems from the improper handling of memory allocation verification in the newlib/libc/stdlib/mprec.c file. The issue was discovered and reported by Dimitrios Glynos, and was officially patched in version 3.3.0 (Census Labs).

Technical details

The vulnerability is classified as a NULL Pointer Dereference (CWE-476) with a CVSS v3.1 base score of 6.5 (MEDIUM) and vector string CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H. The issue occurs when Balloc is used to allocate a big integer in the __multiply function, but no verification is performed to check if the allocation succeeded. This leads to an unsafe access pattern where _x[0] is accessed without proper NULL pointer checking (NVD).

Impact

When exploited, this vulnerability can trigger a null pointer dereference bug in case of a memory allocation failure. On embedded systems where the Device Vector Table is mapped at address 0x0, this could potentially lead to leaking interrupt handler addresses, overwriting interrupt handlers, or diverting program execution to installed interrupt handlers (Census Labs).

Mitigation and workarounds

Users are strongly advised to update to newlib version 3.3.0 or later, which includes patches addressing this vulnerability. When building the library, it's recommended to enable the newlib-reent-check-verify 'configure' option. Library authors are recommended to always implement checks for NULL return values from memory allocators (Census Labs).

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