An issue was discovered in base/gsdevice.c in Artifex Ghostscript before 10.04.0. An integer overflow when parsing the filename format string (for the output filename) results in path truncation, and possible path traversal and code execution.
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2024-46953.json"
[
{
"events": [
{
"introduced": "0"
},
{
"fixed": "10.04.0"
}
]
},
{
"events": [
{
"introduced": "0"
},
{
"last_affected": "12.0"
}
]
},
{
"events": [
{
"introduced": "0"
},
{
"last_affected": "12.0-sp5"
}
]
},
{
"events": [
{
"introduced": "0"
},
{
"last_affected": "12-sp5"
}
]
},
{
"events": [
{
"introduced": "0"
},
{
"last_affected": "12-sp5"
}
]
},
{
"events": [
{
"introduced": "0"
},
{
"last_affected": "12-sp5"
}
]
},
{
"events": [
{
"introduced": "0"
},
{
"last_affected": "12-sp5"
}
]
},
{
"events": [
{
"introduced": "0"
},
{
"fixed": "10.04.0"
}
]
}
]