{"id":"CVE-2025-68702","published":"2026-01-13T19:26:32Z","modified":"2026-01-13T19:55:16Z","title":"Jervis has a SHA-256 Hex String Padding Bug","vendor":"samrocketman","product":"jervis","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":8.7,"severity":"HIGH","version":"4.0","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","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00174,"percentile":0.07096,"provenance":"source"},"cwes":[{"id":"CWE-327","name":"Use of a Broken or Risky Cryptographic Algorithm"}],"references":[{"url":"https://github.com/samrocketman/jervis/security/advisories/GHSA-67rj-pjg6-pq59","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/samrocketman/jervis/commit/c3981ff71de7b0f767dfe7b37a2372cb2a51974a","tags":["x_refsource_MISC"]}],"priority":{"score":7.5,"factors":[{"name":"EPSS percentile","points":1.42},{"name":"CVSS severity","points":6.09}]},"vendorSlug":"samrocketman","affectedVersions":[{"vendor":"samrocketman","product":"jervis","versions":["< 2.2"]}],"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"partial","timestamp":"2026-01-13T19:55:11.825221Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Maven","package":"net.gleske:jervis","vulnerableRanges":["<2.2"],"patched":["2.2"],"from":["GHSA-67rj-pjg6-pq59"],"provenance":"source"}],"summary":{"text":"The flaw is in the padding logic of the Jervis library (samrocketman's Job DSL plugin and shared Jenkins pipeline library helper), where SHA-256 hex output is left-padded to 32 characters instead of 64, mishandling the hash encoding. An attacker with network access can affect the integrity of the resulting hash values, and no authentication, user interaction, or non-default configuration is required.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:11:05Z"},"euvd":{"id":"EUVD-2026-2026","exploited":false,"provenance":"source"}}