CVE-2025-68704 Jervis has a Weak Random for Timing Attack Mitigation

High 8.2 Published Updated

Jenkins pipeline library uses insecure random numbers for timing attack mitigation, allowing attackers to bypass security controls.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2025-68704?

CVE-2025-68704 is a high-severity vulnerability in samrocketman jervis, published on 13 Jan 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

Jervis is a library for Job DSL plugin scripts and shared Jenkins pipeline libraries. Prior to 2.2, Jervis uses java.util.Random() which is not cryptographically secure for timing attack mitigation. This vulnerability is fixed in 2.2.

Weakness: CWE-330

Which versions are affected by CVE-2025-68704?

2 open source packages ship an affected version, including net.gleske:jervis. It affects 1 product.

PackageAffectedFixed in
net.gleske:jervis MavenAll versions2.2
net.gleske:jervis MavenAll versions2.2

Products include Samrocketman Jervis.

How do I fix CVE-2025-68704?

Upgrade net.gleske:jervis to 2.2 or later.

Is CVE-2025-68704 being exploited?

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

Sources

Also known as GHSA-c9q6-g3hr-8gww.

Is CVE-2025-68704 in your software?

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

Check your SBOMs for free