PHPMailer 6.1.8 through 6.4.0 allows object injection through Phar Deserialization via addAttachment with a UNC pathname. NOTE: this is similar to CVE-2018-19296, but arose because 6.1.8 fixed a functionality problem in which UNC pathnames were always considered unreadable by PHPMailer, even in safe contexts. As an unintended side effect, this fix eliminated the code that blocked addAttachment exploitation.
{
"versions": [
{
"introduced": "6.1.8"
},
{
"last_affected": "6.4.0"
},
{
"introduced": "5.2"
},
{
"fixed": "5.2.11"
}
]
}{
"versions": [
{
"introduced": "3.7"
},
{
"fixed": "3.7.36"
},
{
"introduced": "3.8"
},
{
"fixed": "3.8.36"
},
{
"introduced": "3.9"
},
{
"fixed": "3.9.34"
},
{
"introduced": "4.0"
},
{
"fixed": "4.0.33"
},
{
"introduced": "4.1"
},
{
"fixed": "4.1.33"
},
{
"introduced": "4.2"
},
{
"fixed": "4.2.30"
},
{
"introduced": "4.3"
},
{
"fixed": "4.3.26"
},
{
"introduced": "4.4"
},
{
"fixed": "4.4.25"
},
{
"introduced": "4.5"
},
{
"fixed": "4.5.24"
},
{
"introduced": "4.6"
},
{
"fixed": "4.6.21"
},
{
"introduced": "4.7"
},
{
"fixed": "4.7.21"
},
{
"introduced": "4.8"
},
{
"fixed": "4.8.17"
},
{
"introduced": "4.9"
},
{
"fixed": "4.9.18"
},
{
"introduced": "5.0"
},
{
"fixed": "5.0.13"
},
{
"introduced": "5.1"
},
{
"fixed": "5.1.10"
},
{
"introduced": "5.3"
},
{
"fixed": "5.3.8"
},
{
"introduced": "5.4"
},
{
"fixed": "5.4.6"
},
{
"introduced": "5.5"
},
{
"fixed": "5.5.5"
},
{
"introduced": "5.6"
},
{
"fixed": "5.6.4"
},
{
"introduced": "5.7"
},
{
"fixed": "5.7.2"
}
]
}