High
Jervis has a SHA-256 Hex String Padding Bug
Type: advisorySources: OSV
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.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2025-68702
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 5 Nov 2026, 01:08 UTC · Revision 1
Source evidence
Jervis has a SHA-256 Hex String Padding Bug
core-osv · Original sourcePublished 13 Jan 2026, 19:26 UTC
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.
osv:CVE-2025-68702
Complete source record
{
"id": "8d37f23b3503ab319e8e0589fdaa3d2bef9d66ffea88ce3e51ba6485d763fa53",
"url": "https://osv.dev/vulnerability/CVE-2025-68702",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "Jervis has a SHA-256 Hex String Padding Bug",
"summary": "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.",
"evidence": "osv:CVE-2025-68702",
"products": [],
"severity": "high",
"structured": {
"id": "CVE-2025-68702",
"aliases": [
"CVE-2025-68702",
"GHSA-67rj-pjg6-pq59"
],
"metrics": [
{
"type": "CVSS_V4",
"score": "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"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/samrocketman/jervis",
"type": "GIT",
"events": [
{
"introduced": "0"
},
{
"fixed": "2600d719c04c0450b86a0486b4676f3d5f24b7d4"
},
{
"fixed": "c3981ff71de7b0f767dfe7b37a2372cb2a51974a"
}
],
"database_specific": {
"extracted_events": [
{
"cpe": "cpe:2.3:a:samrocketman:jervis:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "0"
},
{
"fixed": "2.2"
}
],
"source": "CPE_RANGE"
},
{
"range": [
{
"fixed": "c3981ff71de7b0f767dfe7b37a2372cb2a51974a"
}
],
"source": "REFERENCES_COMMIT"
}
]
}
}
],
"versions": [
"jervis-2.1",
"jervis-2.0",
"jervis-1.7",
"jervis-1.6",
"jervis-1.5",
"jervis-1.4",
"jervis-1.3",
"jervis-1.2",
"jervis-1.1",
"jervis-1.0",
"jervis-0.13",
"jervis-0.12",
"jervis-0.11",
"jervis-0.10",
"jervis-0.9",
"jervis-0.8",
"jervis-0.7",
"jervis-0.6",
"jervis-0.5.2",
"jervis-0.5.1",
"jervis-0.5",
"jervis-0.4",
"jervis-0.3",
"jervis-0.2",
"jervis-0.1"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-68702.json"
}
}
],
"modified": "2026-10-28T02:30:41.292794192Z",
"provider": "osv",
"references": [
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/68xxx/CVE-2025-68702.json",
"https://github.com/samrocketman/jervis/security/advisories/GHSA-67rj-pjg6-pq59",
"https://nvd.nist.gov/vuln/detail/CVE-2025-68702",
"https://github.com/samrocketman/jervis/commit/c3981ff71de7b0f767dfe7b37a2372cb2a51974a"
],
"provider_metadata": {
"cwe_ids": [
"CWE-327"
],
"cna_assigner": "GitHub_M",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/68xxx/CVE-2025-68702.json"
}
},
"related_cves": [
{
"value": "CVE-2025-68702",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 508917,
"published_at": "2026-01-13T19:26:32.543+00:00"
}