PSF-2023-3

See a problem?
Import Source
https://github.com/psf/advisory-database/blob/main/advisories/python/PSF-2023-3.json
JSON Data
https://api.test.osv.dev/v1/vulns/PSF-2023-3
Aliases
Published
2023-06-07T00:00:00Z
Modified
2025-08-11T14:45:01.781111Z
Summary
[none]
Details

CPython v3.12.0 alpha 7 was discovered to contain a heap use-after-free via the function ascii_decode at /Objects/unicodeobject.c.

Database specific
{
    "cwe_ids": [
        "CWE-416"
    ]
}
References

Affected packages

Git / github.com/python/cpython

Affected ranges

Type
GIT
Repo
https://github.com/python/cpython
Events

Database specific

vanir_signatures

[
    {
        "signature_type": "Function",
        "deprecated": false,
        "source": "https://github.com/python/cpython/commit/d5a97074d24cd14cb2a35a2b1ad3074863cde264",
        "signature_version": "v1",
        "target": {
            "function": "tok_get_fstring_mode",
            "file": "Parser/tokenizer.c"
        },
        "digest": {
            "function_hash": "246454790113584125124450278536411816426",
            "length": 3735.0
        },
        "id": "PSF-2023-3-54f249cb"
    },
    {
        "signature_type": "Line",
        "deprecated": false,
        "source": "https://github.com/python/cpython/commit/d5a97074d24cd14cb2a35a2b1ad3074863cde264",
        "signature_version": "v1",
        "target": {
            "file": "Parser/tokenizer.c"
        },
        "digest": {
            "threshold": 0.9,
            "line_hashes": [
                "51267681898860069028679615138883177799",
                "213093290520206118406422764680253202129",
                "192193823543881691897098346576838619575",
                "240189861850278322221601354770139566320"
            ]
        },
        "id": "PSF-2023-3-ccff2eec"
    }
]