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.osv.dev/v1/vulns/PSF-2023-3
Aliases
Published
2023-06-07T00:00:00Z
Modified
2025-08-11T15:13:30Z
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"
    ]
}

Affected packages

Git / github.com/python/cpython

Affected ranges

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

Database specific

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