CVE-2026-92842
Beschrijving NL
De filters convert.base64-encode, convert.quoted-printable-encode en convert.quoted-printable-decode stream accepteren een line-break-chars optie waarvan de lengte afzonderlijk van de tekenreeks zelf wordt bijgehouden. De filterconstructeurs dupliceren de waarde met pestrdup (), die stopt bij de eerste nul byte, terwijl de oorspronkelijke lengte behouden blijft. Wanneer het filter later een regeleinde uitzendt, kopieert het de opgenomen lengte uit de afgeknotte toewijzing, leest het voorbij het einde en plaatst het aangrenzende heap-bytes in de filteruitvoer.
Origineel (Engels) tonen
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.