CVE-2022-31783
NixOS vulnerability analysis and mitigation

Overview

Liblouis 3.21.0 contains a security vulnerability identified as CVE-2022-31783, which was discovered in May 2022. The vulnerability is an out-of-bounds write in the compileRule function within compileTranslationTable.c, which can be demonstrated using the lou_trace utility. This issue affects the Braille translation and back-translation library, which is used in various screen readers and assistive technology applications (CVE Details, Ubuntu Security).

Technical details

The vulnerability is characterized by an invalid memory write in the compileRule function, specifically at line 3744 in compileTranslationTable.c. The issue occurs during the processing of sequence after expressions, where the code fails to properly validate input lengths against buffer sizes. The vulnerability has been assigned a CVSS 3.1 base score of 5.5 (Medium), with attack vector being Local, attack complexity Low, requiring no privileges but user interaction, and affecting only availability with high impact (Ubuntu Security).

Impact

When exploited, this vulnerability could allow an attacker to execute arbitrary code or cause a system crash. The primary impact is on system availability, with no direct effect on confidentiality or integrity. The vulnerability requires user interaction to be exploited (Ubuntu Security Notice).

Mitigation and workarounds

The vulnerability has been fixed in liblouis version 3.22.0. Various distributions have released patches for their respective versions: Ubuntu has fixed it in versions 3.20.0-2ubuntu0.1 (22.04 LTS), 3.18.0-1ubuntu0.2 (21.10), 3.12.0-3ubuntu0.1 (20.04 LTS), and 3.5.0-1ubuntu0.4 (18.04 LTS). Users are advised to update to the patched versions through their standard system update procedures (Ubuntu Security Notice, GitHub Commit).

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