CVE-2023-36327
NixOS vulnerability analysis and mitigation

Overview

An Integer Overflow vulnerability was discovered in RELIC before commit 421f2e91cf2ba42473d4d54daf24e295679e290e. The vulnerability exists in the pos argument in bngetprime function, which could allow attackers to execute arbitrary code and cause a denial of service (NVD). The vulnerability was disclosed and patched in November 2022.

Technical details

The vulnerability is classified as an Integer Overflow (CWE-190) with a CVSS v3.1 Base Score of 9.8 CRITICAL (Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H). The issue specifically occurs in the bngetprime function where a negative pos value could bypass error checking and cause global buffer corruption (RELIC Discussion).

Impact

The vulnerability can lead to arbitrary code execution and denial of service conditions. Due to the critical CVSS score and the nature of the overflow, successful exploitation could give attackers complete control over the affected system (NVD).

Mitigation and workarounds

The vulnerability has been patched in commit 421f2e91cf2ba42473d4d54daf24e295679e290e, which removes the dangerous API for returning small primes from an internal table. Users should update to a version after this commit to mitigate the vulnerability (RELIC Commit).

Community reactions

The RELIC developers acknowledged the vulnerability and noted that RELIC is considered 'at best alpha-quality software' useful for research purposes only. They mentioned that the dynamic memory part has never been properly hardened or fuzzed (RELIC Discussion).

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-14330CRITICAL9.8
  • NixOSNixOS
  • rhel10::firefox-flatpak
NoYesDec 09, 2025
CVE-2025-14329HIGH8.8
  • NixOSNixOS
  • cpe:2.3:a:mozilla:firefox
NoYesDec 09, 2025
CVE-2025-14333HIGH8.1
  • NixOSNixOS
  • firefox
NoYesDec 09, 2025
CVE-2025-14332HIGH7.3
  • NixOSNixOS
  • cpe:2.3:a:mozilla:firefox
NoYesDec 09, 2025
CVE-2025-14331MEDIUM6.5
  • NixOSNixOS
  • rhel10::thunderbird-flatpak
NoYesDec 09, 2025

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