CVE-2025-68702

Jervis has a SHA-256 Hex String Padding Bug

Published Jan 13, 2026 CVSS 4.0 · 8.7 High EPSS < 1% KEV · Not listed
Description
Jervis is a library for Job DSL plugin scripts and shared Jenkins pipeline libraries. Prior to 2.2, Jervis uses padLeft(32, '0') when it should use padLeft(64, '0') because SHA-256 produces 32 bytes which equates to 64 hex characters. This vulnerability is fixed in 2.2.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Github GHSA Github GHSA GHSA-67rj-pjg6-pq59 Jervis Has a SHA-256 Hex String Padding Bug
History
Type Values Removed Values Added
CPEs cpe:2.3:a:samrocketman:jervis:*:*:*:*:*:*:*:*
Metrics cvssV3_1

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

Type Values Removed Values Added
First Time appeared Samrocketman
Samrocketman jervis
Vendors & Products Samrocketman
Samrocketman jervis
Type Values Removed Values Added
Metrics ssvc

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

Type Values Removed Values Added
Description Jervis is a library for Job DSL plugin scripts and shared Jenkins pipeline libraries. Prior to 2.2, Jervis uses padLeft(32, '0') when it should use padLeft(64, '0') because SHA-256 produces 32 bytes which equates to 64 hex characters. This vulnerability is fixed in 2.2.
Title Jervis has a SHA-256 Hex String Padding Bug
Weaknesses CWE-327
References
Metrics cvssV4_0

{'score': 8.7, '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'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Jan 13, 2026, 7:55 PM
Reserved
Dec 23, 2025, 10:32 PM
Status
Analyzed
Published
Jan 13, 2026, 8:16 PM
Modified
Jun 17, 2026, 9:59 AM