Python has added a denylist for known compromised certificates to the "ssl" module to ensure user safety even without certificate revocation configured. Known compromised certificates will automatically be rejected regardless of the SSLContext policy configuration.
{
"cwe_ids": []
}"https://github.com/psf/advisory-database/blob/main/advisories/python/PSF-2026-46.json"
[
{
"deprecated": false,
"digest": {
"line_hashes": [
"192217216991091263475711989879938316954",
"238070989960576811264482105902919823341",
"134038719095220871405284827112287868518",
"77970071526235605340954041649680607146",
"21884609601975357649917134593042529944",
"136165768508008028945992981145197065028",
"330788130771942814246540460120775367056",
"15949714626956394121619362262004021854",
"124051474882245648160737536393568773260",
"242757717082730188500821256786854773831",
"240375076327967952430039559328208001334",
"185277528451095632571122012543930156537",
"248903670722248384815981248722484760574",
"175989873312767661036254412706751685521",
"161683403892585145159284253956433083260"
],
"threshold": 0.9
},
"id": "PSF-2026-46-09b7462a",
"signature_type": "Line",
"signature_version": "v1",
"source": "https://github.com/python/cpython/commit/98f0e4ed349f370dc8a00366da1a9797e11c9ed5",
"target": {
"file": "Modules/_ssl.c"
}
},
{
"deprecated": false,
"digest": {
"function_hash": "191705627437200287854997013070490452970",
"length": 2977
},
"id": "PSF-2026-46-2dd10dec",
"signature_type": "Function",
"signature_version": "v1",
"source": "https://github.com/python/cpython/commit/98f0e4ed349f370dc8a00366da1a9797e11c9ed5",
"target": {
"file": "Modules/_ssl.c",
"function": "newPySSLSocket"
}
},
{
"deprecated": false,
"digest": {
"function_hash": "56280158761300933419249271862590179075",
"length": 3043
},
"id": "PSF-2026-46-311c9994",
"signature_type": "Function",
"signature_version": "v1",
"source": "https://github.com/python/cpython/commit/36cd295f32fc9ba19399e01abee91231440a41dd",
"target": {
"file": "Modules/_ssl.c",
"function": "newPySSLSocket"
}
},
{
"deprecated": false,
"digest": {
"line_hashes": [
"192217216991091263475711989879938316954",
"238070989960576811264482105902919823341",
"134038719095220871405284827112287868518",
"77970071526235605340954041649680607146",
"21884609601975357649917134593042529944",
"136165768508008028945992981145197065028",
"330788130771942814246540460120775367056",
"15949714626956394121619362262004021854",
"124051474882245648160737536393568773260",
"242757717082730188500821256786854773831",
"240375076327967952430039559328208001334",
"185277528451095632571122012543930156537",
"248903670722248384815981248722484760574",
"175989873312767661036254412706751685521",
"161683403892585145159284253956433083260"
],
"threshold": 0.9
},
"id": "PSF-2026-46-3710abf2",
"signature_type": "Line",
"signature_version": "v1",
"source": "https://github.com/python/cpython/commit/36cd295f32fc9ba19399e01abee91231440a41dd",
"target": {
"file": "Modules/_ssl.c"
}
},
{
"deprecated": false,
"digest": {
"line_hashes": [
"192217216991091263475711989879938316954",
"238070989960576811264482105902919823341",
"134038719095220871405284827112287868518",
"77970071526235605340954041649680607146",
"21884609601975357649917134593042529944",
"136165768508008028945992981145197065028",
"330788130771942814246540460120775367056",
"15949714626956394121619362262004021854",
"124051474882245648160737536393568773260",
"242757717082730188500821256786854773831",
"240375076327967952430039559328208001334",
"185277528451095632571122012543930156537",
"248903670722248384815981248722484760574",
"175989873312767661036254412706751685521",
"161683403892585145159284253956433083260"
],
"threshold": 0.9
},
"id": "PSF-2026-46-4e7bf75c",
"signature_type": "Line",
"signature_version": "v1",
"source": "https://github.com/python/cpython/commit/e9bf2cf84eebf838a1edaa1c648c2b36345b99d3",
"target": {
"file": "Modules/_ssl.c"
}
},
{
"deprecated": false,
"digest": {
"line_hashes": [
"192217216991091263475711989879938316954",
"238070989960576811264482105902919823341",
"134038719095220871405284827112287868518",
"77970071526235605340954041649680607146",
"124051474882245648160737536393568773260",
"242757717082730188500821256786854773831",
"240375076327967952430039559328208001334",
"249830481294650080298236528663764769673",
"134949556096744398870646435413078257035",
"205883224611726291114141986066901257124",
"236738915866659534465695940249703127974",
"210887092294672740715694065927839624289",
"176133449056693427239898443610206236139",
"288422798758036370032428440816371929460",
"130456764179447088121999758037892072961",
"105542129947736799847561309588421451365",
"120892600845899487173191715550550967353"
],
"threshold": 0.9
},
"id": "PSF-2026-46-5d0aee23",
"signature_type": "Line",
"signature_version": "v1",
"source": "https://github.com/python/cpython/commit/a17d9ef549008133eadf20689b1f4787902efe5b",
"target": {
"file": "Modules/_ssl.c"
}
},
{
"deprecated": false,
"digest": {
"function_hash": "290437881438454414008666605443973194969",
"length": 441
},
"id": "PSF-2026-46-5ddebfbc",
"signature_type": "Function",
"signature_version": "v1",
"source": "https://github.com/python/cpython/commit/7dd8b4736a1419750b94a388e6d158be15836fe6",
"target": {
"file": "Modules/_ssl.c",
"function": "_set_verify_mode"
}
},
{
"deprecated": false,
"digest": {
"function_hash": "151892012625720414648886001279065125950",
"length": 519
},
"id": "PSF-2026-46-7ebdde20",
"signature_type": "Function",
"signature_version": "v1",
"source": "https://github.com/python/cpython/commit/af52b41afa4330fb38583db553631baa2f122f90",
"target": {
"file": "Modules/_ssl.c",
"function": "_set_verify_mode"
}
},
{
"deprecated": false,
"digest": {
"line_hashes": [
"192217216991091263475711989879938316954",
"238070989960576811264482105902919823341",
"134038719095220871405284827112287868518",
"77970071526235605340954041649680607146",
"21884609601975357649917134593042529944",
"136165768508008028945992981145197065028",
"330788130771942814246540460120775367056",
"15949714626956394121619362262004021854",
"124051474882245648160737536393568773260",
"242757717082730188500821256786854773831",
"240375076327967952430039559328208001334",
"185277528451095632571122012543930156537",
"248903670722248384815981248722484760574",
"175989873312767661036254412706751685521",
"161683403892585145159284253956433083260"
],
"threshold": 0.9
},
"id": "PSF-2026-46-a6e8be42",
"signature_type": "Line",
"signature_version": "v1",
"source": "https://github.com/python/cpython/commit/7dd8b4736a1419750b94a388e6d158be15836fe6",
"target": {
"file": "Modules/_ssl.c"
}
},
{
"deprecated": false,
"digest": {
"function_hash": "102565169441161694672235038587348650397",
"length": 3465
},
"id": "PSF-2026-46-b9c1a03f",
"signature_type": "Function",
"signature_version": "v1",
"source": "https://github.com/python/cpython/commit/7dd8b4736a1419750b94a388e6d158be15836fe6",
"target": {
"file": "Modules/_ssl.c",
"function": "newPySSLSocket"
}
},
{
"deprecated": false,
"digest": {
"function_hash": "151892012625720414648886001279065125950",
"length": 519
},
"id": "PSF-2026-46-bef78288",
"signature_type": "Function",
"signature_version": "v1",
"source": "https://github.com/python/cpython/commit/a17d9ef549008133eadf20689b1f4787902efe5b",
"target": {
"file": "Modules/_ssl.c",
"function": "_set_verify_mode"
}
},
{
"deprecated": false,
"digest": {
"function_hash": "290437881438454414008666605443973194969",
"length": 441
},
"id": "PSF-2026-46-c6398b6b",
"signature_type": "Function",
"signature_version": "v1",
"source": "https://github.com/python/cpython/commit/e9bf2cf84eebf838a1edaa1c648c2b36345b99d3",
"target": {
"file": "Modules/_ssl.c",
"function": "_set_verify_mode"
}
},
{
"deprecated": false,
"digest": {
"line_hashes": [
"192217216991091263475711989879938316954",
"238070989960576811264482105902919823341",
"134038719095220871405284827112287868518",
"77970071526235605340954041649680607146",
"229422805876342649744950105099714730642",
"130329821456587203787834809973961521473",
"138947713681684904628640007576067002568",
"168398003599931133949957715081662883933",
"29456615883584131281259238953157377430",
"242757717082730188500821256786854773831",
"240375076327967952430039559328208001334",
"249830481294650080298236528663764769673",
"134949556096744398870646435413078257035",
"205883224611726291114141986066901257124",
"236738915866659534465695940249703127974",
"210887092294672740715694065927839624289",
"176133449056693427239898443610206236139",
"288422798758036370032428440816371929460",
"130456764179447088121999758037892072961",
"105542129947736799847561309588421451365",
"120892600845899487173191715550550967353"
],
"threshold": 0.9
},
"id": "PSF-2026-46-e2995511",
"signature_type": "Line",
"signature_version": "v1",
"source": "https://github.com/python/cpython/commit/af52b41afa4330fb38583db553631baa2f122f90",
"target": {
"file": "Modules/_ssl.c"
}
},
{
"deprecated": false,
"digest": {
"function_hash": "121927350968857189667226680689703665796",
"length": 3075
},
"id": "PSF-2026-46-e377c519",
"signature_type": "Function",
"signature_version": "v1",
"source": "https://github.com/python/cpython/commit/e9bf2cf84eebf838a1edaa1c648c2b36345b99d3",
"target": {
"file": "Modules/_ssl.c",
"function": "newPySSLSocket"
}
},
{
"deprecated": false,
"digest": {
"function_hash": "290437881438454414008666605443973194969",
"length": 441
},
"id": "PSF-2026-46-f7518325",
"signature_type": "Function",
"signature_version": "v1",
"source": "https://github.com/python/cpython/commit/98f0e4ed349f370dc8a00366da1a9797e11c9ed5",
"target": {
"file": "Modules/_ssl.c",
"function": "_set_verify_mode"
}
},
{
"deprecated": false,
"digest": {
"function_hash": "290437881438454414008666605443973194969",
"length": 441
},
"id": "PSF-2026-46-fcfbb104",
"signature_type": "Function",
"signature_version": "v1",
"source": "https://github.com/python/cpython/commit/36cd295f32fc9ba19399e01abee91231440a41dd",
"target": {
"file": "Modules/_ssl.c",
"function": "_set_verify_mode"
}
}
]
"2026-10-25T07:08:33Z"