In PHP versions:8.1.* before 8.1.33, 8.2.* before 8.2.29, 8.3.* before 8.3.23, 8.4.* pgsql and pdo_pgsql escaping functions do not check if the underlying quoting functions returned errors. ThisĀ could cause crashes if Postgres server rejects the string as invalid.
{
"versions": [
{
"introduced": "8.1.0"
},
{
"fixed": "8.1.33"
},
{
"introduced": "8.2.0"
},
{
"fixed": "8.2.29"
},
{
"introduced": "8.3.0"
},
{
"fixed": "8.3.23"
},
{
"introduced": "8.4.0"
},
{
"fixed": "8.4.10"
}
]
}