Missing validation of multibyte character length in PostgreSQL text manipulation allows a database user to issue crafted queries that achieve a buffer overrun. That suffices to execute arbitrary code as the operating system user running the database. Versions before PostgreSQL 18.2, 17.8, 16.12, 15.16, and 14.21 are affected.
[
{
"events": [
{
"introduced": "14.0"
},
{
"fixed": "14.21"
}
]
},
{
"events": [
{
"introduced": "15.0"
},
{
"fixed": "15.16"
}
]
},
{
"events": [
{
"introduced": "16.0"
},
{
"fixed": "16.12"
}
]
},
{
"events": [
{
"introduced": "17.0"
},
{
"fixed": "17.8"
}
]
},
{
"events": [
{
"introduced": "18.0"
},
{
"fixed": "18.2"
}
]
}
]
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-2006.json"