{"id":"CVE-2025-52556","kind":"vulnerability","aliases":["CVE-2025-52556","GHSA-6qhv-4h7r-2g9m"],"related":[],"title":"rfc3161-client has insufficient verification for timestamp response signatures","description":"### Impact\n\n`rfc3161-client` 1.0.2 and earlier contain a flaw in their timestamp response signature verification logic. In particular, it performs chain verification 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.\n\n### Patches\n\nUsers should immediately upgrade to `rfc3161-client` 1.0.3 or later.\n\n### Workarounds\n\nThere is no workaround possible. Users should immediately upgrade to a fixed version.","summary":"rfc3161-client 1.0.2 and earlier check that a timestamp response's embedded certificate chains to a trusted root but never check the response's own signature. An attacker can therefore present any signature under a valid-looking leaf certificate and have the timestamp treated as verified.","severity":"critical","cvss":9.3,"epss":0.00169,"exploited":false,"exploited_at":null,"products":[{"name":"rfc3161-client","fixed":["1.0.3"],"affected":"<= 1.0.2","ecosystem":"pypi"}],"ecosystems":["pypi"],"tags":["cwe-347","package","python","rfc3161","timestamping"],"not_affected_if":["no-timestamp-verification","not-using-rfc3161-client"],"how_to_check":"- Find the installed version with `pip show rfc3161-client` or check the lock file for `rfc3161-client`.\n- Look for any code that calls the library to verify RFC 3161 timestamp responses (TSR).","fix":"- `rfc3161-client` `1.0.3` or later.","status":"open","published_at":"2025-06-20T18:08:40+00:00","first_seen_at":"2026-11-16T16:23:45+00:00","triaged_at":"2026-11-16T16:25:31+00:00","updated_at":"2026-11-16T16:38:06+00:00","category":"package","confidence":0.8,"triage":{"at":"2026-11-16T16:25:31Z","model":"claude-haiku-5-5","output":{"fix":"- `rfc3161-client` `1.0.3` or later.","reach":"unknown","title":"rfc3161-client: forged timestamp responses are accepted as verified","impact":"medium","summary":"rfc3161-client 1.0.2 and earlier check that a timestamp response's embedded certificate chains to a trusted root but never check the response's own signature. An attacker can therefore present any signature under a valid-looking leaf certificate and have the timestamp treated as verified.","audience":"developers","category":"package","nicknames":[],"who_cares":["python","rfc3161","timestamping"],"confidence":0.8,"fix_status":"available","needs_auth":"unknown","worst_case":"forged timestamps are accepted as valid by verifying code","analyst_note":"","how_to_check":"- Find the installed version with `pip show rfc3161-client` or check the lock file for `rfc3161-client`.\n- Look for any code that calls the library to verify RFC 3161 timestamp responses (TSR).","plain_action":"","product_name":"","needs_analyst":false,"not_affected_if":["not-using-rfc3161-client","no-timestamp-verification"],"who_is_affected":"Applications that use rfc3161-client to verify RFC 3161 timestamp responses are exposed, because forged responses pass verification. Projects that do not use this library to verify timestamps are not affected.","user_interaction":"unknown","product_ecosystem":"","needs_special_setup":"unknown","severity_if_unknown":"critical"},"cost_usd":0.000732,"input_tokens":4793,"output_tokens":505,"severity_before":"critical"},"analyst_status":null,"analyst_note":null,"search":"'-2025':12A,20A '-347':26B '-52556':13A,21A '1.0.2':34B,83C '1.0.3':170C '2g9m':18A '4h7r':17A '6qhv':16A 'attack':59B,143C 'certif':44B,71B,107C,127C 'chain':45B,100C,155C 'check':37B,52B 'client':3A,24A,33B,82C,169C 'consequ':128C 'consid':137C 'contain':86C 'cve':11A,19A 'cwe':25B 'earlier':36B,85C 'embed':43B,106C,153C 'fail':115C 'fix':185C 'flaw':88C 'ghsa':15A 'ghsa-6qhv-4h7r-2g9m':14A 'immedi':164C,181C 'impact':79C 'insuffici':5A,132C 'introduc':145C 'later':172C 'leaf':70B,126C,154C 'logic':95C 'long':150C 'look':69B 'never':51B 'packag':27B 'particular':97C 'patch':161C 'perform':99C,131C 'possibl':178C 'present':62B 'proper':136C 'python':28B 'respons':9A,41B,54B,92C 'rfc3161':2A,23A,29B,32B,81C,168C 'rfc3161-client':1A,22A,31B,80C,167C 'root':49B,112C,159C 'signatur':10A,57B,64B,93C,122C,133C,148C 'therefor':61B 'timestamp':8A,30B,40B,75B,91C,125C 'treat':76B 'trust':48B,111C 'tsa':160C 'tsr':104C,119C,139C,147C 'upgrad':165C,182C 'user':162C,179C 'valid':68B,134C 'valid-look':67B 'verif':6A,94C,101C 'verifi':78B,117C,140C 'version':130C,186C 'vulner':129C 'workaround':173C,177C","nicknames":[],"mitigations":[],"who_affected":"Applications that use rfc3161-client to verify RFC 3161 timestamp responses are exposed, because forged responses pass verification. Projects that do not use this library to verify timestamps are not affected.","tier":"B","verified":{},"analyst_revisit_at":null,"fix_status":"available","audience":"developers","plain_action":null,"pkeys":["rfc3161client"],"ptokens":["client","rfc3161"],"labels":["critical","cwe347","package","pypi","python","rfc3161","timestamping"],"campaign_type":null,"search_a":"'-2025':12A,20A '-52556':13A,21A '2g9m':18A '4h7r':17A '6qhv':16A 'client':3A,24A 'cve':11A,19A 'ghsa':15A 'ghsa-6qhv-4h7r-2g9m':14A 'insuffici':5A 'respons':9A 'rfc3161':2A,23A 'rfc3161-client':1A,22A 'signatur':10A 'timestamp':8A 'verif':6A","search_b":"'-347':26B '1.0.2':34B 'attack':59B 'certif':44B,71B 'chain':45B 'check':37B,52B 'client':33B 'cwe':25B 'earlier':36B 'embed':43B 'leaf':70B 'look':69B 'never':51B 'packag':27B 'present':62B 'python':28B 'respons':41B,54B 'rfc3161':29B,32B 'rfc3161-client':31B 'root':49B 'signatur':57B,64B 'therefor':61B 'timestamp':30B,40B,75B 'treat':76B 'trust':48B 'valid':68B 'valid-look':67B 'verifi':78B","search_c":"'1.0.2':83C '1.0.3':170C 'attack':143C 'certif':107C,127C 'chain':100C,155C 'client':82C,169C 'consequ':128C 'consid':137C 'contain':86C 'earlier':85C 'embed':106C,153C 'fail':115C 'fix':185C 'flaw':88C 'immedi':164C,181C 'impact':79C 'insuffici':132C 'introduc':145C 'later':172C 'leaf':126C,154C 'logic':95C 'long':150C 'particular':97C 'patch':161C 'perform':99C,131C 'possibl':178C 'proper':136C 'respons':92C 'rfc3161':81C,168C 'rfc3161-client':80C,167C 'root':112C,159C 'signatur':93C,122C,133C,148C 'timestamp':91C,125C 'trust':111C 'tsa':160C 'tsr':104C,119C,139C,147C 'upgrad':165C,182C 'user':162C,179C 'valid':134C 'verif':94C,101C 'verifi':117C,140C 'version':130C,186C 'vulner':129C 'workaround':173C,177C","cause_entry":null,"cause_path":null,"disclosures_checked_at":null,"first_public_at":"2025-06-20T16:02:41+00:00","kev":null,"cvss_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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","cvss_by":"security-advisories@github.com","poc_count":0,"sources":[{"source":"ghsa","external_id":"GHSA-6qhv-4h7r-2g9m","url":"https://github.com/advisories/GHSA-6qhv-4h7r-2g9m","severity":"critical","published_at":"2025-06-20T18:08:40+00:00","modified_at":"2026-11-16T16:20:56+00:00","first_seen_at":"2026-11-16T16:23:45+00:00","fetched_at":"2026-11-16T16:27:17+00:00","note":null},{"source":"nvd","external_id":"CVE-2025-52556","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-52556","severity":null,"published_at":"2025-06-21T02:15:19+00:00","modified_at":"2026-06-17T09:36:40+00:00","first_seen_at":"2026-11-16T16:38:06+00:00","fetched_at":"2026-11-16T16:38:06+00:00","note":null}],"documents":[{"id":171196,"url":"https://api.github.com/repos/trailofbits/rfc3161-client/security-advisories/GHSA-6qhv-4h7r-2g9m","title":"Maintainer's advisory: api.github.com","kind":"vendor","source":"ghsa","publisher":"vendor","text":null,"published_at":null,"relation":"advisory","confidence":null,"note":"Maintainer's advisory: api.github.com"},{"id":171197,"url":"https://github.com/trailofbits/rfc3161-client/security/advisories/GHSA-6qhv-4h7r-2g9m","title":"Maintainer's advisory: github.com","kind":"vendor","source":"ghsa","publisher":"vendor","text":null,"published_at":"2025-06-20T16:02:41+00:00","relation":"advisory","confidence":null,"note":"Maintainer's advisory: github.com"},{"id":171198,"url":"https://github.com/trailofbits/rfc3161-client/commit/724a184f953e3f171f85cb223871172b41b0d0dc","title":"Patch: github.com","kind":"other","source":"ghsa","publisher":"vendor","text":null,"published_at":null,"relation":"fix","confidence":null,"note":"Patch: github.com"}],"disclosures":[],"exploit_sources":[{"type":"epss","score":0.00169,"url":"https://api.first.org/data/v1/epss?cve=CVE-2025-52556"}],"notice":"Free to read, with fair use of about 60 pages a minute. For higher limits or API access: sales@infrastack.ai"}