# CVE-2025-52556: rfc3161-client has insufficient verification for timestamp response signatures

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** CRITICAL 9.3
- **CVSS:** 9.3 (v4.0, CNA) `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 metrics:** Attack vector: Network; Attack complexity: Low; Attack requirements: None; Privileges required: None; User interaction: None; Confidentiality impact: High; Integrity impact: High; Availability impact: None; Confidentiality impact on other systems: None; Integrity impact on other systems: None; Availability impact on other systems: None
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, no login needed
- **EPSS:** 0.30% (percentile 15, 2026-11-28)
- **CWE:** CWE-347
- **Aliases:** GHSA-6qhv-4h7r-2g9m, PYSEC-2026-525
- **Published:** 2025-06-20T18:08:40.000Z
- **Modified:** 2026-11-16T16:30:03.588Z

## Who should check

- Projects that depend on PyPI package rfc3161-client (\< 1.0.3)
- Anyone running trailofbits rfc3161-client \< 1.0.3

## Description

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.

## Affected and fixed versions

- PyPI `rfc3161-client`: affected \< 1.0.3; fixed 1.0.3 (osv)
- trailofbits rfc3161-client: \< 1.0.3 (cvelist)

## Mitigation

- Upgrade rfc3161-client to 1.0.3 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2025-52556. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2025-52556.md
Affected: rfc3161-client < 1.0.3
Fixed in: 1.0.3

Steps:
1. Search this machine and project for rfc3161-client (PyPI), trailofbits rfc3161-client: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2025-52556 being exploited?

There is no confirmed exploitation: CVE-2025-52556 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.30% chance of exploitation in the next 30 days (as of 2026-11-28).

### How serious is CVE-2025-52556?

Critical: CVSS 9.3 (v4.0, scored by CNA). Remote, no login needed.

### Which versions are affected by CVE-2025-52556?

rfc3161-client \< 1.0.3.

### Is there a fix for CVE-2025-52556?

Yes. Fixed in 1.0.3. Upgrade rfc3161-client to 1.0.3 or later.

### How do I check if I'm affected by CVE-2025-52556?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- vendor: <https://github.com/trailofbits/rfc3161-client/security/advisories/GHSA-6qhv-4h7r-2g9m>
- vendor: <https://nvd.nist.gov/vuln/detail/CVE-2025-52556>
- vendor: <https://github.com/advisories/GHSA-6qhv-4h7r-2g9m>
- patch: <https://github.com/trailofbits/rfc3161-client/commit/724a184f953e3f171f85cb223871172b41b0d0dc>
- other: <https://github.com/pypa/advisory-database/tree/main/vulns/rfc3161-client/PYSEC-2026-525.yaml>
- other: <https://github.com/trailofbits/rfc3161-client>
- other: <https://pypi.org/project/rfc3161-client>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2025-52556>
- OSV: CC-BY 4.0 <https://osv.dev/vulnerability/GHSA-6qhv-4h7r-2g9m> (license: <https://creativecommons.org/licenses/by/4.0/>)
- OSV: CC-BY 4.0 <https://osv.dev/vulnerability/PYSEC-2026-525> (license: <https://creativecommons.org/licenses/by/4.0/>)

HTML: <https://flawdb.com/CVE-2025-52556> · JSON: <https://flawdb.com/api/v1/entries/CVE-2025-52556>
