CVE-2026-92842

Public on 2026-09-25
Modified on 2026-09-25
Description
The convert.base64-encode, convert.quoted-printable-encode and convert.quoted-printable-decode stream filters accept a line-break-chars option whose length is tracked separately from the string itself. The filter constructors duplicate the value with pestrdup(), which stops at the first NUL byte, while keeping the original length. When the filter later emits a line break it copies the recorded length out of the truncated allocation, reading past its end and placing adjacent heap bytes into the filter output.
Severity
Medium severity
Medium
See what this means
CVSS v3 Base Score
5.9
See breakdown

Affected Packages

Platform Package Release Date Advisory Status
Amazon Linux 2 - Core php Pending Fix
Amazon Linux 2 - Php8.2 Extra php Pending Fix
Amazon Linux 2 - Lamp-mariadb10.2-php7.2 Extra php No Fix Planned
Amazon Linux 2 - Php7.1 Extra php No Fix Planned
Amazon Linux 2 - Php7.2 Extra php No Fix Planned
Amazon Linux 2 - Php7.3 Extra php No Fix Planned
Amazon Linux 2 - Php7.4 Extra php No Fix Planned
Amazon Linux 2 - Php8.0 Extra php No Fix Planned
Amazon Linux 2 - Php8.1 Extra php No Fix Planned
Amazon Linux 2023 php8.1 No Fix Planned
Amazon Linux 2023 php8.2 Pending Fix
Amazon Linux 2023 php8.2-pecl-apcu Not Affected
Amazon Linux 2023 php8.2-pecl-igbinary Not Affected
Amazon Linux 2023 php8.2-pecl-memcached Not Affected
Amazon Linux 2023 php8.2-pecl-msgpack Not Affected
Amazon Linux 2023 php8.2-pecl-redis6 Not Affected
Amazon Linux 2023 php8.3 Pending Fix
Amazon Linux 2023 php8.4 Pending Fix
Amazon Linux 2023 php8.4-pecl-apcu Not Affected
Amazon Linux 2023 php8.4-pecl-igbinary Not Affected
Amazon Linux 2023 php8.4-pecl-memcached Not Affected
Amazon Linux 2023 php8.4-pecl-msgpack Not Affected
Amazon Linux 2023 php8.4-pecl-redis6 Not Affected
Amazon Linux 2023 php8.5 Pending Fix
Amazon Linux 2027 Preview php8.5 Pending Fix

CVSS Scores

Score Type Score Vector
Amazon Linux CVSSv3 5.9 CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N