CVE-2025-13912 Potential non-constant time compiled code with Clang LLVM

Low 1.0 Published Updated

LLVM optimizations may break constant-time implementations in wolfSSL, enabling timing side-channel attacks that leak sensitive cryptographic information.

Exploited in the wild
Not known
Login needed
An administrator
Attackable
Local or same network only
Victim action needed
A user has to click or open something
Fix
Available

What is CVE-2025-13912?

CVE-2025-13912 is a low-severity vulnerability in wolfSSL, published on 11 Dec 2025. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.

Official description

Multiple constant-time implementations in wolfSSL before version 5.8.4 may be transformed into non-constant-time binary by LLVM optimizations, which can potentially result in observable timing discrepancies and lead to information disclosure through timing side-channel attacks.

Weakness: CWE-203

Which versions are affected by CVE-2025-13912?

How do I fix CVE-2025-13912?

Upgrade to a fixed version.

Is CVE-2025-13912 being exploited?

There is no known exploitation of CVE-2025-13912 in the wild and no public exploit code.

Sources

Also known as DEBIAN-CVE-2025-13912, GHSA-7582-g6xx-939j, JLSEC-2026-688, UBUNTU-CVE-2025-13912.

Is CVE-2025-13912 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free