# CVE-2026-140039: Libproxy: libproxy: denial of service via blocking pac download and execution under lock

Status: published. Published: 2026-12-01. Updated: 2026-12-01.

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).

## Remediation

- workaround: 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'

2. 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).

3. 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. (source: CNA: redhat)

## Affected products and versions

- Red Hat / Red Hat Enterprise Linux 10 (libproxy): Version range not reported. Source: CNA: redhat
- Red Hat / Red Hat Enterprise Linux 6 (libproxy): Version range not reported. Source: CNA: redhat
- Red Hat / Red Hat Enterprise Linux 7 (libproxy): Version range not reported. Source: CNA: redhat
- Red Hat / Red Hat Enterprise Linux 8 (libproxy): Version range not reported. Source: CNA: redhat
- Red Hat / Red Hat Enterprise Linux 9 (libproxy): Version range not reported. Source: CNA: redhat

## Severity and prioritization

- CVSS 3.1: 5.7 (medium); CVSS:3.1/AV:A/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H; source: CNA: redhat

- CVSS 3.1: 5.7 (medium); CVSS:3.1/AV:A/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H; source: NVD: secalert@redhat.com

- CISA KEV: No listing in collected sources

- EPSS: 0.24% as of 2026-12-01; percentile 15.40%

- SSVC: exploitation none; automatable no; technical impact partial; source ADP: CISA-ADP

- Weaknesses: CWE-667

## Exploit evidence

No exploit evidence in collected sources. This is not proof of no exploitation.

## References

- https://access.redhat.com/security/cve/CVE-2026-140039 (CNA: redhat; vdb-entry, x_refsource_REDHAT)

- https://bugzilla.redhat.com/show_bug.cgi?id=2465686 (CNA: redhat; issue-tracking, x_refsource_REDHAT)

- https://github.com/libproxy/libproxy/pull/371 (CNA: redhat)

- https://access.redhat.com/security/cve/CVE-2026-140039 (secalert@redhat.com)

- https://bugzilla.redhat.com/show_bug.cgi?id=2465686 (secalert@redhat.com)

- https://github.com/libproxy/libproxy/pull/371 (secalert@redhat.com)

## Provenance

- CNA: redhat: https://www.cve.org/CVERecord?id=CVE-2026-140039; retrieved 2026-12-01; source updated 2026-12-01

- NVD: https://nvd.nist.gov/vuln/detail/CVE-2026-140039; retrieved 2026-12-01; source updated 2026-12-01

- FIRST EPSS: https://api.first.org/data/v1/epss?cve=CVE-2026-140039; retrieved 2026-12-01; source updated Not reported

Revision: 1d7a49ca6b58251d1f1abf04e4662a4e64b1ba0b110f4692e0ca5b8b787a203d

Canonical: https://y2.dev/cve/CVE-2026-140039

## Agent and API access

Public CVE pages, Markdown, and JSON are free to read without an account or API key.

- Public catalog: https://y2.dev/cve/index.json. Follow nextCursor with the same search, filters, sort, and limit (1–100). A null cursor marks the end.

- WebMCP: search_cve_disclosures, get_cve_disclosure, get_cve_page_markdown, get_y2_cve_access. Available in compatible browsers.

- Cyber API: https://api.y2.dev/api/v2/cyber/cves and https://api.y2.dev/api/v2/cyber/cves/{cveId}.

- Y2 Pro or Elite: create a workspace API key with the intel:cyber scope and send Authorization: Bearer <Y2_API_KEY>. Setup: https://y2.dev/docs/api/create-key.

- x402: Pay per request without an account or API key. Omit Authorization, read the HTTP 402 PAYMENT-REQUIRED challenge, validate its current requirements, and retry with PAYMENT-SIGNATURE through an authorized payment client. These browser tools never make payments. Guide: https://y2.dev/docs/api/x402.

- OpenAPI: https://y2.dev/api/openapi.yaml. Agent access metadata: https://y2.dev/cve/agent.json.

Collected public records only. Check source status for coverage and freshness.