CVE-2022-25310
NixOS vulnerability analysis and mitigation

Overview

A segmentation fault (SEGV) vulnerability was discovered in the Fribidi package, specifically affecting the fribidiremovebidi_marks() function in the lib/fribidi.c file. The vulnerability was assigned CVE-2022-25310 and was first reported on December 22, 2021. The flaw affects Fribidi versions up to (excluding) 1.0.12 (NVD, CVE Mitre).

Technical details

The vulnerability is caused by a NULL pointer dereference in the fribidiremovebidi_marks() function. The issue occurs when processing specially crafted input files, leading to a segmentation fault. The vulnerability has been assigned a CVSS v3.1 base score of 5.5 (Medium) with the vector string CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H. The flaw is classified under CWE-476 (NULL Pointer Dereference) and CWE-119 (Improper Restriction of Operations within the Bounds of a Memory Buffer) (NVD).

Impact

When exploited, this vulnerability allows an attacker to pass a specially crafted file to Fribidi, resulting in a crash of the application and causing a denial of service condition. The impact is limited to availability, with no direct impact on confidentiality or integrity (Red Hat Advisory).

Mitigation and workarounds

The vulnerability has been fixed in Fribidi version 1.0.12 and later releases. The fix involves adding a null check in the fribidiremovebidi_marks() function to prevent the segmentation fault. Various Linux distributions have released security updates to address this vulnerability, including Red Hat Enterprise Linux 8 and 9 through RHSA-2022:7514 and RHSA-2022:8011 respectively (GitHub PR).

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-61619HIGH7.5
  • NixOSNixOS
  • android
NoNoDec 01, 2025
CVE-2025-61618HIGH7.5
  • NixOSNixOS
  • android
NoNoDec 01, 2025
CVE-2025-61617HIGH7.5
  • NixOSNixOS
  • android
NoNoDec 01, 2025
CVE-2025-61610HIGH7.5
  • NixOSNixOS
  • android
NoNoDec 01, 2025
CVE-2025-65622MEDIUM5.4
  • PHPPHP
  • snipe-it
NoYesDec 01, 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