CVE-2025-68702CWE-327

Jervis has a SHA-256 Hex String Padding Bug

High · published January 13, 2026

CVSS v4.0
8.7
EPSS
0%
Percentile
6.6
In the wild
Unconfirmed
What it is

⚡ A tiny miscalculation in the Jervis library could spell trouble for your Jenkins pipelines! 🤖 Think of it like using a small toolbox for a big job; if you don’t have the right tools, you might end up with a project that’s half-finished and messy. Jervis is trying to pad a SHA-256 hash to 32 bytes when it should be stretching it to 64 bytes - it’s like trying to fit a king-sized quilt into a twin-sized bed! If exploited, this vulnerability could lead to data integrity issues in your pipeline outputs. Attackers could manipulate job identifiers, potentially causing chaos in your CI/CD process and allowing incorrect job execution. It's a high-risk situation that could disrupt your continuous integration workflow!

Put simply

Think of it like using a small toolbox for a big job; if you don’t have the right tools, you might end up with a project that’s half-finished and messy. Jervis is trying to pad a SHA-256 hash to 32 bytes when it should be stretching it to 64 bytes - it’s like trying to fit a king-sized quilt into a twin-sized bed! This vulnerability arises from Jervis using padLeft(32, '0') instead of the correct padLeft(64, '0') for SHA-256 hashes, which can lead to hash collisions. This flaw can disrupt the validity of job identifiers within Jenkins pipelines prior to version 2.2.

What to do

If exploited, this vulnerability could lead to data integrity issues in your pipeline outputs. Attackers could manipulate job identifiers, potentially causing chaos in your CI/CD process and allowing incorrect job execution. It's a high-risk situation that could disrupt your continuous integration workflow! To protect your Jenkins environment, immediately upgrade Jervis to version 2.2 or later. Review your job scripts to ensure they correctly implement SHA-256 hashing, and consider auditing your pipeline configurations for any anomalies. You've got this! Fix this oversight and your Jenkins pipelines will be running smoothly in no time! 🛡️

The record
Technical detail
CVSS v4.0
8.7 · HIGH
Vector
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N
EPSS
0.00174 · 6.6th percentile
Weakness
CWE-327 · Use of a Broken or Risky Cryptographic Algorithm
Published
2026-01-13T19:26Z
EPSS history
Timeline
  • 13 JAN 19:26Z
    Jervis has a SHA-256 Hex String Padding Bug
    cvelistv5