nday
CVE-2025-52556 GHSA-6qhv-4h7r-2g9m

rfc3161-client has insufficient verification for timestamp response signatures

trailofbits / rfc3161-client

Patch on record 513 days after disclosure. Patched: fixed in rfc3161-client 1.0.3. None of the four PoC sources lists it. Not in CISA KEV.

why these tags

nday derives these tags by fixed rules from the facts below; NVD, the CNA and other sources do not assign them. Vocabulary and rules: ~/tags.

cryptographic failure
CWE-347, stated by the CNA GitHub_M, NVD, republishing [email protected], and GitHub advisory GHSA-6qhv-4h7r-2g9m
remote, unauthenticated
AV:N, PR:N, UI:N in CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N (CVSS 4.0) from the CNA GitHub_M
network
AV:N in CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N (CVSS 4.0) from the CNA GitHub_M
no authentication required
PR:N in CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N (CVSS 4.0) from the CNA GitHub_M
no user interaction
UI:N in CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N (CVSS 4.0) from the CNA GitHub_M
PyPI
GHSA-6qhv-4h7r-2g9m: pip packages rfc3161-client
stage
PAT
disclosed
disclosure → patch
T+513d
cvss
9.3 CRITICAL v4.0

Lifecycle

x axis UTC; dot = exact minute, wide bar = date only, hollow = unknown or inferred.
time unknown
DISdisclosed
2025-06-21T01:33Z
PATpatch
2026-11-16T17:01Z
ANAanalysis
no record yet
POCPoC
no record yet
ITWexploited
no record yet
KEVKEV
no record yet

Summary

rfc3161-client is a Python library implementing the Time-Stamp Protocol (TSP) described in RFC 3161. Prior to version 1.0.3, there is a flaw in the timestamp response signature verification logic. In particular, chain verification is performed against the TSR's embedded certificates up to the trusted root(s), but fails to verify the TSR's own signature against the timestamping leaf certificates. Consequently, vulnerable versions perform insufficient signature validation to properly consider a TSR verified, as the attacker can introduce any TSR signature so long as the embedded leaf chains up to some root TSA. This issue has been patched in version 1.0.3. There is no workaround for this issue.

Original text of the CVE record (cvelist), shown as published.

Exploit conditions

What an attack needs, read from the CVSS vector.
Attack vector AV:N
Network: the attacker only needs to reach it over the network
Attack complexity AC:L
Low: no target-specific security measures to get around
Attack requirements AT:N
None: success does not depend on how the target is deployed or running
Privileges required PR:N
None: no account or authorization needed
User interaction UI:N
None: no action by anyone other than the attacker

CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N

CVSS 4.0 vector from the CVE record, scored by the CNA GitHub_M.

Event log

+DISdisclosed

CVE record published by GitHub_M. CVSS 9.3, critical.

src cvelist · nday , bulk import · raw
{
  "id": 381476,
  "type": "disclosed",
  "source": "cvelist",
  "url": "https://www.cve.org/CVERecord?id=CVE-2025-52556",
  "occurred_at": "2025-06-21T01:33:18.829Z",
  "observed_at": "2026-11-13T05:39:12.854975Z",
  "is_backfill": true,
  "dedupe_key": "",
  "detail": {
    "cvss": {
      "source": "cna",
      "vector": "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N",
      "version": "4.0",
      "base_score": 9.3,
      "base_severity": "CRITICAL"
    },
    "ssvc": {
      "timestamp": "2025-06-23T15:13:25.593940Z",
      "automatable": "yes",
      "exploitation": "none",
      "technical_impact": "total"
    },
    "state": "PUBLISHED",
    "date_published": "2025-06-21T01:33:18.829Z",
    "assigner_short_name": "GitHub_M"
  }
}
no source time; observed live by nday
+PATpatch released

The advisory gives fixed version rfc3161-client 1.0.3. Fix commits are linked. Advisory published ; the patch's own release time is not recorded.

src ghsa GHSA-6qhv-4h7r-2g9m · nday , observed live · raw
{
  "id": 473078,
  "type": "patch_released",
  "source": "ghsa",
  "url": "https://github.com/advisories/GHSA-6qhv-4h7r-2g9m",
  "occurred_at": null,
  "observed_at": "2026-11-16T17:01:02.573287Z",
  "is_backfill": false,
  "dedupe_key": "GHSA-6qhv-4h7r-2g9m",
  "detail": {
    "cvss": {
      "cvss_v3": {
        "score": 0.0,
        "vector_string": null
      },
      "cvss_v4": {
        "score": 9.3,
        "vector_string": "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N"
      }
    },
    "cwes": [
      {
        "name": "Improper Verification of Cryptographic Signature",
        "cwe_id": "CWE-347"
      }
    ],
    "ghsa_id": "GHSA-6qhv-4h7r-2g9m",
    "packages": [
      {
        "name": "rfc3161-client",
        "ecosystem": "pip",
        "first_patched_version": "1.0.3",
        "vulnerable_version_range": "<= 1.0.2"
      }
    ],
    "severity": "critical",
    "references": [
      "https://github.com/trailofbits/rfc3161-client/security/advisories/GHSA-6qhv-4h7r-2g9m",
      "https://github.com/trailofbits/rfc3161-client/commit/724a184f953e3f171f85cb223871172b41b0d0dc",
      "https://nvd.nist.gov/vuln/detail/CVE-2025-52556",
      "https://github.com/pypa/advisory-database/tree/main/vulns/rfc3161-client/PYSEC-2026-525.yaml",
      "https://pypi.org/project/rfc3161-client",
      "https://github.com/advisories/GHSA-6qhv-4h7r-2g9m"
    ],
    "fix_commit_urls": [
      "https://github.com/trailofbits/rfc3161-client/commit/724a184f953e3f171f85cb223871172b41b0d0dc"
    ],
    "github_reviewed_at": "2025-06-20T18:08:40Z",
    "advisory_updated_at": "2026-11-16T16:20:56Z",
    "source_code_location": "https://github.com/trailofbits/rfc3161-client",
    "advisory_published_at": "2025-06-20T18:08:40Z"
  }
}

Report an error

report an error or omission

Something on this page wrong or missing? Tell the editors; if they accept it, this page's revision log says so publicly. Upstream data is not changed.

Researcher discussion

0 researchers mentioned this in the last 7 days

Posts on X by researchers on nday's list that mention this CVE, shown as posted. nday does not check them.

nday has not collected any post on X by listed researchers that mentions this CVE.

Discussion

0 comments

No comments yet.