CVE-2025-49506

Apache Portable Runtime Utility: apr_password_validate() vulnerable to timing attack

Published Aug 6, 2026 CVSS 3.1 · 7.5 High EPSS < 1% KEV · Not listed
Description
APR-util versions 1.6.3 (and earlier) function apr_password_validate() was not constant-time with regards to hashes or passwords comparisons, potentially leaking their content via a side channel timing attack particularly on platforms without crypt() such as  Windows, BeOS, NetWare, or Android.

Users are recommended to upgrade to version 1.6.4, which fixes this issue.

Analysis

AI-generated

Technical impact

APR‑util function apr_password_validate() performs hash and password comparisons in a non‑constant‑time manner, causing measurable variations in execution time that correlate with the length and content of the hash or password. This timing side‑channel flaw allows an attacker to statistically infer portions of a stored hash or the plain‑text password, which can compromise authentication data. The weakness is classified as CWE‑208.

Affected Systems

The vulnerability affects Apache Portable Runtime Utility (APR‑util) versions 1.6.3 and all earlier releases. Systems that build or link against these versions on platforms that lack the standard crypt() library—such as Windows, BeOS, NetWare, or Android—are vulnerable.

Risk and Exploitability

The CVSS score of 7.5 indicates a high risk, while an EPSS score is not available, leaving the exact exploitation probability uncertain. Based on the description, it is inferred that a remote attacker with network access to an application employing apr_password_validate could observe repeated validation attempts and analyze timing to recover hash components. The vulnerability is not listed in the CISA KEV catalog, indicating no publicly known exploits to date. The risk level can be considered moderate to high for deployments relying on APR‑util without crypt() support.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade Apache Portable Runtime Utility to version 1.6.4 or later, which implements constant‑time comparison logic.
  • Re‑compile and redeploy any applications that link against the upgraded APR‑util to ensure the improved code is in use.
  • If the application exposes a password validation API, consider implementing rate limiting or time‑padding techniques, or configure the application to use the operating‑system crypt() mechanism where available to reduce the effectiveness of timing measurements.

Generated by OpenCVE AI on August 6, 2026 at 19:50 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Debian DLA Debian DLA DLA-4742-1 apr-util security update
Debian DSA Debian DSA DSA-6437-1 apr-util security update
Ubuntu USN Ubuntu USN USN-8719-1 APR-util vulnerabilities
History
Type Values Removed Values Added
Metrics cvssV3_1

{'score': 7.5, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N'}

ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Apache
Apache portable Runtime Utility
Vendors & Products Apache
Apache portable Runtime Utility
Type Values Removed Values Added
Description APR-util versions 1.6.3 (and earlier) function apr_password_validate() was not constant-time with regards to hashes or passwords comparisons, potentially leaking their content via a side channel timing attack particularly on platforms without crypt() such as  Windows, BeOS, NetWare, or Android. Users are recommended to upgrade to version 1.6.4, which fixes this issue.
Title Apache Portable Runtime Utility: apr_password_validate() vulnerable to timing attack
Weaknesses CWE-208
References
Weaknesses
  • CWE-208

    Observable Timing Discrepancy

Sources

Status
PUBLISHED
Assigner
apache
Published
Updated
Aug 6, 2026, 9:56 PM
Reserved
Jun 6, 2025, 9:23 AM
Status
Analyzed
Published
Aug 6, 2026, 3:16 PM
Modified
Sep 29, 2026, 2:10 PM
Severity
Low
Public date
Aug 6, 2026, 2:33 PM