CVE-2026-140039 PUBLISHED

Libproxy: libproxy: denial of service via blocking pac download and execution under lock

Assigner: redhat
Reserved: 30.11.2026 Published: 01.12.2026 Updated: 01.12.2026

A flaw was found in libproxy. When Proxy Auto-Configuration (PAC) or Web Proxy Auto-Discovery (WPAD) is enabled, libproxy holds an internal lock while synchronously downloading and executing PAC scripts. An attacker able to influence the proxy configuration can serve an unresponsive connection or a looping script, causing concurrent proxy resolution requests within the application to stall and leading to a denial of service (DoS).

Metrics

CVSS Vector: CVSS:3.1/AV:A/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
CVSS Score: 5.7

Product Status

Vendor Red Hat
Product Red Hat Enterprise Linux 10
Versions Default: affected
Vendor Red Hat
Product Red Hat Enterprise Linux 6
Versions Default: affected
Vendor Red Hat
Product Red Hat Enterprise Linux 7
Versions Default: affected
Vendor Red Hat
Product Red Hat Enterprise Linux 8
Versions Default: affected
Vendor Red Hat
Product Red Hat Enterprise Linux 9
Versions Default: affected

Workarounds

Disable dynamic Proxy Auto-Configuration (PAC) and Web Proxy Auto-Discovery (WPAD) in favor of static proxy configurations or direct connections:

  1. In desktop environments using GNOME proxy settings, set the proxy mode to 'none' or 'manual': gsettings set org.gnome.system.proxy mode 'none'

Or configure manual proxy settings: gsettings set org.gnome.system.proxy mode 'manual'

  1. In application-specific configurations and command-line environments, avoid specifying PAC URLs and instead configure static proxy variables (such as http_proxy, https_proxy, and all_proxy).

  2. If PAC scripts are required, restrict retrieval to trusted internal hosts and ensure that PAC scripts are reviewed and validated before deployment. This reduces the risk of exploitation but does not fully mitigate the vulnerability, as slow PAC responses or non-terminating PAC scripts may still block concurrent proxy lookups.

Warning: Modifying proxy configuration settings may require restarting running desktop sessions or affected network applications for changes to take effect. Relying on static proxy definitions disables dynamic proxy routing rules across different network environments.

Credits

  • This issue was discovered by Found by AISLE in partnership with Red Hat.

References

Problem Types

  • Improper Locking CWE