A use-after-free exists in Python through 3.9 via heappushpop in heapq.
{
"cwe_ids": []
}[
{
"id": "PSF-2023-11-2405f23a",
"target": {
"function": "_heapq_heappushpop_impl",
"file": "Modules/_heapqmodule.c"
},
"signature_version": "v1",
"signature_type": "Function",
"digest": {
"length": 710.0,
"function_hash": "324955308901997629728889525270365667066"
},
"source": "https://github.com/python/cpython/commit/993811ffe75c2573f97fb3fd1414b34609b8c8db",
"deprecated": false
},
{
"id": "PSF-2023-11-2f590d67",
"target": {
"function": "siftdown",
"file": "Modules/_heapqmodule.c"
},
"signature_version": "v1",
"signature_type": "Function",
"digest": {
"length": 760.0,
"function_hash": "22231544886286396884258967265102905279"
},
"source": "https://github.com/python/cpython/commit/79f89e6e5a659846d1068e8b1bd8e491ccdef861",
"deprecated": false
},
{
"id": "PSF-2023-11-50844008",
"target": {
"function": "_heapq_heappushpop_impl",
"file": "Modules/_heapqmodule.c"
},
"signature_version": "v1",
"signature_type": "Function",
"digest": {
"length": 710.0,
"function_hash": "324955308901997629728889525270365667066"
},
"source": "https://github.com/python/cpython/commit/79f89e6e5a659846d1068e8b1bd8e491ccdef861",
"deprecated": false
},
{
"id": "PSF-2023-11-5480b96c",
"target": {
"function": "siftup",
"file": "Modules/_heapqmodule.c"
},
"signature_version": "v1",
"signature_type": "Function",
"digest": {
"length": 832.0,
"function_hash": "3280056374216036770571194715632168683"
},
"source": "https://github.com/python/cpython/commit/958064f8d2b84062b0582bbae911df8ccfc11fd6",
"deprecated": false
},
{
"id": "PSF-2023-11-58974d6e",
"target": {
"file": "Modules/_heapqmodule.c"
},
"signature_version": "v1",
"signature_type": "Line",
"digest": {
"line_hashes": [
"197026239169528121864697451797842612421",
"245310237281355008292010313933120890113",
"266713561029981846971761294270554474936",
"318196095331159298820085355818353768973",
"307188005591867911814352015116154818180",
"164471021853879432685408510714492668097",
"41628812059987655521048142320068133357",
"148400443678205979728189664215441460832",
"29821765899295708463884660989520308452",
"228153497088052303621773466120426103651",
"266843825262058508649798526922853944961",
"140588105149154598894352851068781274885",
"59464876907302982571516389495008471733",
"74775578873597483626241822801118200794",
"257773495927052666337025082142558529651",
"275195414420610702025480568803024254488",
"197026239169528121864697451797842612421",
"108839239207267978185721521497658727036",
"40728676020098106388747717508576800982",
"247311709859079282342701067757106960884",
"56331515336896098150728144898105776350",
"164471021853879432685408510714492668097",
"79984687878173923445851658253290508346",
"121814225812470975313270680405721975421",
"140988819539847330350728794853116669392",
"2036122204803784767379804826640739479",
"210907741191342698581740523193256699262",
"140588105149154598894352851068781274885"
],
"threshold": 0.9
},
"source": "https://github.com/python/cpython/commit/993811ffe75c2573f97fb3fd1414b34609b8c8db",
"deprecated": false
},
{
"id": "PSF-2023-11-594a69e5",
"target": {
"function": "siftdown",
"file": "Modules/_heapqmodule.c"
},
"signature_version": "v1",
"signature_type": "Function",
"digest": {
"length": 760.0,
"function_hash": "22231544886286396884258967265102905279"
},
"source": "https://github.com/python/cpython/commit/958064f8d2b84062b0582bbae911df8ccfc11fd6",
"deprecated": false
},
{
"id": "PSF-2023-11-5afd1982",
"target": {
"function": "siftup",
"file": "Modules/_heapqmodule.c"
},
"signature_version": "v1",
"signature_type": "Function",
"digest": {
"length": 832.0,
"function_hash": "3280056374216036770571194715632168683"
},
"source": "https://github.com/python/cpython/commit/c563f409ea30bcb0623d785428c9257917371b76",
"deprecated": false
},
{
"id": "PSF-2023-11-75a35e60",
"target": {
"file": "Modules/_heapqmodule.c"
},
"signature_version": "v1",
"signature_type": "Line",
"digest": {
"line_hashes": [
"197026239169528121864697451797842612421",
"245310237281355008292010313933120890113",
"266713561029981846971761294270554474936",
"318196095331159298820085355818353768973",
"307188005591867911814352015116154818180",
"164471021853879432685408510714492668097",
"41628812059987655521048142320068133357",
"148400443678205979728189664215441460832",
"29821765899295708463884660989520308452",
"228153497088052303621773466120426103651",
"266843825262058508649798526922853944961",
"140588105149154598894352851068781274885",
"59464876907302982571516389495008471733",
"74775578873597483626241822801118200794",
"257773495927052666337025082142558529651",
"275195414420610702025480568803024254488",
"197026239169528121864697451797842612421",
"108839239207267978185721521497658727036",
"40728676020098106388747717508576800982",
"247311709859079282342701067757106960884",
"56331515336896098150728144898105776350",
"164471021853879432685408510714492668097",
"79984687878173923445851658253290508346",
"121814225812470975313270680405721975421",
"140988819539847330350728794853116669392",
"2036122204803784767379804826640739479",
"210907741191342698581740523193256699262",
"140588105149154598894352851068781274885"
],
"threshold": 0.9
},
"source": "https://github.com/python/cpython/commit/c563f409ea30bcb0623d785428c9257917371b76",
"deprecated": false
},
{
"id": "PSF-2023-11-77c72060",
"target": {
"function": "siftup_max",
"file": "Modules/_heapqmodule.c"
},
"signature_version": "v1",
"signature_type": "Function",
"digest": {
"length": 832.0,
"function_hash": "309963009613668588589849589045883691133"
},
"source": "https://github.com/python/cpython/commit/958064f8d2b84062b0582bbae911df8ccfc11fd6",
"deprecated": false
},
{
"id": "PSF-2023-11-80cb45a4",
"target": {
"function": "siftdown_max",
"file": "Modules/_heapqmodule.c"
},
"signature_version": "v1",
"signature_type": "Function",
"digest": {
"length": 760.0,
"function_hash": "22231544886286396884258967265102905279"
},
"source": "https://github.com/python/cpython/commit/79f89e6e5a659846d1068e8b1bd8e491ccdef861",
"deprecated": false
},
{
"id": "PSF-2023-11-895d3ee9",
"target": {
"function": "siftup",
"file": "Modules/_heapqmodule.c"
},
"signature_version": "v1",
"signature_type": "Function",
"digest": {
"length": 832.0,
"function_hash": "3280056374216036770571194715632168683"
},
"source": "https://github.com/python/cpython/commit/79f89e6e5a659846d1068e8b1bd8e491ccdef861",
"deprecated": false
},
{
"id": "PSF-2023-11-8fffa26c",
"target": {
"function": "siftup_max",
"file": "Modules/_heapqmodule.c"
},
"signature_version": "v1",
"signature_type": "Function",
"digest": {
"length": 832.0,
"function_hash": "309963009613668588589849589045883691133"
},
"source": "https://github.com/python/cpython/commit/c563f409ea30bcb0623d785428c9257917371b76",
"deprecated": false
},
{
"id": "PSF-2023-11-91053e64",
"target": {
"function": "siftup_max",
"file": "Modules/_heapqmodule.c"
},
"signature_version": "v1",
"signature_type": "Function",
"digest": {
"length": 832.0,
"function_hash": "309963009613668588589849589045883691133"
},
"source": "https://github.com/python/cpython/commit/79f89e6e5a659846d1068e8b1bd8e491ccdef861",
"deprecated": false
},
{
"id": "PSF-2023-11-99e03949",
"target": {
"file": "Modules/_heapqmodule.c"
},
"signature_version": "v1",
"signature_type": "Line",
"digest": {
"line_hashes": [
"197026239169528121864697451797842612421",
"245310237281355008292010313933120890113",
"266713561029981846971761294270554474936",
"318196095331159298820085355818353768973",
"307188005591867911814352015116154818180",
"164471021853879432685408510714492668097",
"41628812059987655521048142320068133357",
"148400443678205979728189664215441460832",
"29821765899295708463884660989520308452",
"228153497088052303621773466120426103651",
"266843825262058508649798526922853944961",
"140588105149154598894352851068781274885",
"59464876907302982571516389495008471733",
"74775578873597483626241822801118200794",
"257773495927052666337025082142558529651",
"275195414420610702025480568803024254488",
"197026239169528121864697451797842612421",
"108839239207267978185721521497658727036",
"40728676020098106388747717508576800982",
"247311709859079282342701067757106960884",
"56331515336896098150728144898105776350",
"164471021853879432685408510714492668097",
"79984687878173923445851658253290508346",
"121814225812470975313270680405721975421",
"140988819539847330350728794853116669392",
"2036122204803784767379804826640739479",
"210907741191342698581740523193256699262",
"140588105149154598894352851068781274885"
],
"threshold": 0.9
},
"source": "https://github.com/python/cpython/commit/79f89e6e5a659846d1068e8b1bd8e491ccdef861",
"deprecated": false
},
{
"id": "PSF-2023-11-b3c033e8",
"target": {
"function": "siftdown",
"file": "Modules/_heapqmodule.c"
},
"signature_version": "v1",
"signature_type": "Function",
"digest": {
"length": 760.0,
"function_hash": "22231544886286396884258967265102905279"
},
"source": "https://github.com/python/cpython/commit/c563f409ea30bcb0623d785428c9257917371b76",
"deprecated": false
},
{
"id": "PSF-2023-11-be439b30",
"target": {
"file": "Modules/_heapqmodule.c"
},
"signature_version": "v1",
"signature_type": "Line",
"digest": {
"line_hashes": [
"197026239169528121864697451797842612421",
"245310237281355008292010313933120890113",
"266713561029981846971761294270554474936",
"318196095331159298820085355818353768973",
"307188005591867911814352015116154818180",
"164471021853879432685408510714492668097",
"41628812059987655521048142320068133357",
"148400443678205979728189664215441460832",
"29821765899295708463884660989520308452",
"228153497088052303621773466120426103651",
"266843825262058508649798526922853944961",
"140588105149154598894352851068781274885",
"59464876907302982571516389495008471733",
"74775578873597483626241822801118200794",
"257773495927052666337025082142558529651",
"275195414420610702025480568803024254488",
"197026239169528121864697451797842612421",
"108839239207267978185721521497658727036",
"40728676020098106388747717508576800982",
"247311709859079282342701067757106960884",
"56331515336896098150728144898105776350",
"164471021853879432685408510714492668097",
"79984687878173923445851658253290508346",
"121814225812470975313270680405721975421",
"140988819539847330350728794853116669392",
"2036122204803784767379804826640739479",
"210907741191342698581740523193256699262",
"140588105149154598894352851068781274885"
],
"threshold": 0.9
},
"source": "https://github.com/python/cpython/commit/958064f8d2b84062b0582bbae911df8ccfc11fd6",
"deprecated": false
},
{
"id": "PSF-2023-11-c58f2b0c",
"target": {
"function": "siftup_max",
"file": "Modules/_heapqmodule.c"
},
"signature_version": "v1",
"signature_type": "Function",
"digest": {
"length": 832.0,
"function_hash": "309963009613668588589849589045883691133"
},
"source": "https://github.com/python/cpython/commit/993811ffe75c2573f97fb3fd1414b34609b8c8db",
"deprecated": false
},
{
"id": "PSF-2023-11-cf85dcd2",
"target": {
"function": "siftdown_max",
"file": "Modules/_heapqmodule.c"
},
"signature_version": "v1",
"signature_type": "Function",
"digest": {
"length": 760.0,
"function_hash": "22231544886286396884258967265102905279"
},
"source": "https://github.com/python/cpython/commit/c563f409ea30bcb0623d785428c9257917371b76",
"deprecated": false
},
{
"id": "PSF-2023-11-d792d594",
"target": {
"function": "siftup",
"file": "Modules/_heapqmodule.c"
},
"signature_version": "v1",
"signature_type": "Function",
"digest": {
"length": 832.0,
"function_hash": "3280056374216036770571194715632168683"
},
"source": "https://github.com/python/cpython/commit/993811ffe75c2573f97fb3fd1414b34609b8c8db",
"deprecated": false
},
{
"id": "PSF-2023-11-dbf057bf",
"target": {
"function": "siftdown_max",
"file": "Modules/_heapqmodule.c"
},
"signature_version": "v1",
"signature_type": "Function",
"digest": {
"length": 760.0,
"function_hash": "22231544886286396884258967265102905279"
},
"source": "https://github.com/python/cpython/commit/993811ffe75c2573f97fb3fd1414b34609b8c8db",
"deprecated": false
},
{
"id": "PSF-2023-11-e2637075",
"target": {
"function": "heappushpop",
"file": "Modules/_heapqmodule.c"
},
"signature_version": "v1",
"signature_type": "Function",
"digest": {
"length": 764.0,
"function_hash": "276000613757119954559411687933578853581"
},
"source": "https://github.com/python/cpython/commit/958064f8d2b84062b0582bbae911df8ccfc11fd6",
"deprecated": false
},
{
"id": "PSF-2023-11-e7771184",
"target": {
"function": "siftdown_max",
"file": "Modules/_heapqmodule.c"
},
"signature_version": "v1",
"signature_type": "Function",
"digest": {
"length": 760.0,
"function_hash": "22231544886286396884258967265102905279"
},
"source": "https://github.com/python/cpython/commit/958064f8d2b84062b0582bbae911df8ccfc11fd6",
"deprecated": false
},
{
"id": "PSF-2023-11-e94e7525",
"target": {
"function": "siftdown",
"file": "Modules/_heapqmodule.c"
},
"signature_version": "v1",
"signature_type": "Function",
"digest": {
"length": 760.0,
"function_hash": "22231544886286396884258967265102905279"
},
"source": "https://github.com/python/cpython/commit/993811ffe75c2573f97fb3fd1414b34609b8c8db",
"deprecated": false
},
{
"id": "PSF-2023-11-fc8bf670",
"target": {
"function": "heappushpop",
"file": "Modules/_heapqmodule.c"
},
"signature_version": "v1",
"signature_type": "Function",
"digest": {
"length": 764.0,
"function_hash": "276000613757119954559411687933578853581"
},
"source": "https://github.com/python/cpython/commit/c563f409ea30bcb0623d785428c9257917371b76",
"deprecated": false
}
]