CVE Vulnerabilities

CVE-2025-14017

Unsynchronized Access to Shared Data in a Multithreaded Context

Published: Jan 08, 2026 | Modified: Sep 15, 2026
CVSS 3.x
N/A
Source:
NVD
CVSS 2.x
RedHat/V2
RedHat/V3
4.8 MODERATE
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N
Ubuntu
MEDIUM
root.io logo minimus.io logo echo.ai logo

When doing multi-threaded LDAPS transfers (LDAP over TLS) with libcurl, changing TLS options in one thread would inadvertently change them globally and therefore possibly also affect other concurrently setup transfers.

Disabling certificate verification for a specific transfer could unintentionally disable the feature for other threads as well.

Weakness

The product does not properly synchronize shared data, such as static variables across threads, which can lead to undefined behavior and unpredictable data changes.

Affected Software

NameVendorStart VersionEnd Version
CurlHaxx7.17.0 (including)8.18.0 (excluding)
Red Hat Hardened ImagesRedHatcurl-main-8.19.0-3.hum1*
CurlUbuntuesm-infra-legacy/trusty*
CurlUbuntuesm-infra-legacy/xenial*
CurlUbuntuesm-infra/bionic*
CurlUbuntuesm-infra/focal*
CurlUbuntuesm-infra/xenial*
CurlUbuntujammy*
CurlUbuntunoble*
CurlUbuntuplucky*
CurlUbuntuquesting*
CurlUbuntuupstream*

Extended Description

Within servlets, shared static variables are not protected from concurrent access, but servlets are multithreaded. This is a typical programming mistake in J2EE applications, since the multithreading is handled by the framework. When a shared variable can be influenced by an attacker, one thread could wind up modifying the variable to contain data that is not valid for a different thread that is also using the data within the variable. Note that this weakness is not unique to servlets.

Potential Mitigations

References