Skip to content
Fencer Vulns
high 7.8

CVE-2022-26981 json

Liblouis through 3.21.0 has a buffer overflow in compilePassOpcode in compileTranslationTable.c (called, indirectly, by tools/lou_checktabl…

published 2022-03-13 4 y ago modified 2026-06-17 4 mo ago also EUVD-2022-31522

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

Summary

Liblouis through 3.21.0 has a buffer overflow in compilePassOpcode in compileTranslationTable.c (called, indirectly, by tools/lou_checktable.c).

Patch / fix

  • apple ipados 15.6
  • apple iphone_os 15.6
  • apple macos 12.5
  • apple tvos 15.6
  • apple watchos 8.7
  • liblouis Debian 14, Debian 13, Debian 12 3.22.0-1

debian advisories DEBIAN-CVE-2022-26981

  • 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-26981

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 Alpine 3.24, Alpine 3.23, Alpine 3.22 +2 more 3.22.0-r0

alpine advisories ALPINE-CVE-2022-26981

Alpine secdb © Alpine Linux, from https://secdb.alpinelinux.org via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0

  • 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-26981 updated cvss 5.5

liblouis: buffer overflow in compilePassOpcode

  • 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 available “Fix deferred”

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.45% chance of exploitation in the next 30 days, higher than 73% of all scored CVEs (FIRST EPSS, 2026-11-08).

Exploits and checks

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

CVSS scores

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

Classification

Weakness
  • CWE-120 Buffer Copy without Checking Size of Input

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.