Skip to content
Fencer Vulns
medium 5.5

CVE-2022-31783 json

Liblouis 3.21.0 has an out-of-bounds write in compileRule in compileTranslationTable.c, as demonstrated by lou_trace.

published 2022-05-27 4 y ago modified 2026-06-17 4 mo ago also EUVD-2022-53175

cvss
5.5
version 3.1, NVD
cisa kev
Not listed
not in CISA's catalog
epss
1.1%
EPSS 1.1% chance of exploitation in 30 days, percentile 66%
public exploits
0
none known

Summary

Liblouis 3.21.0 has an out-of-bounds write in compileRule in compileTranslationTable.c, as demonstrated by lou_trace.

Patch / fix

  • liblouis Debian 14, Debian 13, Debian 12 3.22.0-1

debian advisories DEBIAN-CVE-2022-31783

  • liblouis Ubuntu 18.04 LTS 3.5.0-1ubuntu0.4
  • liblouis Ubuntu 20.04 LTS 3.12.0-3ubuntu0.1
  • liblouis Ubuntu 22.04 LTS 3.20.0-2ubuntu0.1

ubuntu advisories UBUNTU-CVE-2022-31783

Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0

  • liblouis SLE Module for Desktop Applications 15 SP4, openSUSE Leap 15.4 3.20.0-150400.3.3.1
  • liblouis SLES for SAP 15 SP1, SLES for SAP 15, SLES 15-LTSS +9 more 3.3.0-150000.4.8.1
  • liblouis SLES for SAP 15 SP2, SLES 15 SP2-LTSS, SLES 15 SP2-BCL +9 more 3.11.0-150200.3.3.1

suse advisories SUSE-SU-2022:2298-1SUSE-SU-2022:2252-1SUSE-SU-2022:2184-1

  • liblouis openSUSE Tumbleweed 3.21.0-2.1

opensuse advisories openSUSE-SU-2024:12125-1

  • liblouis Arch Linux 3.22.0-1

arch linux advisories AVG-2766

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2022-31783 updated cvss 6.2

liblouis: invalid memory write in compileRule() in compileTranslationTable.c

  • Red Hat Enterprise Linux 7 liblouis, liblouis-utils, liblouis-python
    affected: no fix planned “Out of support scope”
  • Red Hat Enterprise Linux 8 liblouis, python3-louis Red Hat Enterprise Linux 9 liblouis, python3-louis
    affected: no fix planned “Will not fix”

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

Exploit prediction

1.13% chance of exploitation in the next 30 days, higher than 66% of all scored CVEs (FIRST EPSS, 2026-11-08).

Exploits and checks

  • github.com https://github.com/liblouis/liblouis/issues/1214 referenced PoC, tagged "exploit" by a source, unverified

CVSS scores

assigned by version score vector
NVD 3.1 5.5 CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
NVD 2.0 4.3 AV:N/AC:M/Au:N/C:N/I:N/A:P

Classification

Weakness

References

Sources

Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.