Integer Overflow and Double-Free Vulnerability in libX11: CVE-2020-14363

libx11 Updated 02 Oct 2025

Summary

11/09/2020
N/A
Yes i
High
7.8

ALPINE-CVE-2020-14363: An integer overflow vulnerability leading to a double-free was found in libX11. Affects libx11 versions < 1.6.12-r0. Fixed in 1.6.12-r0. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Your last release was probably never penetration tested Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

libX11 is a core library for the X Window System, providing essential functions for managing windows, graphics, and user input in UNIX-like operating systems. It serves as a fundamental component for applications that require graphical user interfaces. The library is widely used across various applications, making its security critical. This specific vulnerability exposes libX11 to potential exploitation, affecting the integrity and availability of systems that rely on it.

Vulnerability Detail

An integer overflow vulnerability leading to a double-free was found in libX11. This flaw allows a local privileged attacker to cause an application compiled with libX11 to crash, or in some cases, result in arbitrary code execution. The highest threat from this flaw is to confidentiality, integrity, and system availability. The vulnerability arises from improper handling of integer values, which can be exploited to manipulate memory management, leading to severe consequences for affected applications.

How To Fix

Minimum fixed version

1.6.12-r0

This is the first release that contains the fix.

sudo apk add --upgrade libx11

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Workaround

As a temporary measure, consider restricting access to applications that utilize libX11 to trusted users only, thereby minimizing the risk of exploitation until the package can be updated.

Conclusion

The integer overflow and double-free vulnerability in libX11 (CVE-2020-14363) poses significant risks to applications relying on this library. It is crucial to update to the patched version to mitigate these risks. Users should also consider implementing temporary workarounds to limit exposure until the update is applied.

See every vulnerability recorded for libx11 →

Share this vulnerability

FAQ

CVE-2020-14363 is a vulnerability in the libX11 library that can lead to integer overflow and double-free errors, potentially allowing attackers to execute arbitrary code.

You can use Vulert's playground at Vulert Scanner to check if your application is affected by this vulnerability without needing to sign up.

The consequences include application crashes and potential arbitrary code execution, which can compromise system integrity and availability.

Yes, a patch is available in libX11 version 1.6.12-r0 and later. Updating to this version will resolve the vulnerability.

The CVSS score for this vulnerability is 7.8, indicating a high severity level.

Related vulnerabilities

Recent vulnerabilities recorded for libx11.

How To Fix

Minimum fixed version

1.6.12-r0

This is the first release that contains the fix.

sudo apk add --upgrade libx11

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback