llamaCVEVulnerability Intelligence
/
Advisory · GitHub · Packagist · php-standard-library/message

GHSA-RJ6Q-J8XP-7532

Message serialization includes the Bcc and Resent-Bcc header fields, disclosing blind recipients to every recipient

Texto original en inglés · Ver en español

Parche disponible
Descargar PNG JSON
CVSS 3.1
5.3
Media
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N Fuente: GitHub
ExplotaciónSin evidenciaNo figura en CISA KEV
Exploits públicos0Ninguno conocido
Parche1 versión6.4.0
Exposición24 dDesde la divulgación, 27 oct 2026, 8:46 p. m.
Detección22 dDesde la divulgación hasta su ingreso al índice
Decisión estimadaSeguir
Remediar en la ventana regular de mantenimiento
Estimación de Llama con el árbol SSVC de CISA a partir de vector CVSS 3.1 y la evidencia de explotación (sin evaluación oficial): sin explotación conocida, automatizable e impacto técnico parcial. Hay versiones corregidas disponibles.
Ni pánico ni ignorarla: término medio.Esta la tienes controlada, confío en ti.
Timeline

Ciclo de vida de la vulnerabilidad

Hoy
Divulgación
Publicada
Explotación
Remediación
Monitoreo
Detectada +1
28 oct 26
19 nov 26
21 nov 26
28 oct 26
3 nov 26
9 nov 26
15 nov 26
21 nov 26
FechaFaseEventoDetalle
Divulgación Publicada GHSA-RJ6Q-J8XP-7532 divulgada · CVSS 5.3 (GitHub)
Monitoreo Detectada Ingresó al índice
Monitoreo Verificada Última verificación contra las fuentes
Resumen
Descripción del advisory
Texto original · GitHub · en inglés

Impact

`Psl\Message\serialize()` copied every header field of a message into its output, including `Bcc` and `Resent-Bcc`. RFC 5322 section 3.6.3 defines `Bcc` as the recipients whose addresses are not to be revealed to the other recipients of the message, so these fields must not be transmitted as they are.

`Psl\SMTP\Client\Transport::send()` transmits the output of `serialize()` as the message data. The envelope built by `Psl\Message\Envelope::fromMessage()` delivers the message to the `Bcc` addresses, and the header section that every recipient received, `To` and `Cc` recipients included, carried the full `Bcc` list. Any recipient could read the address of every blind recipient by viewing the raw headers, and each blind recipient could see the others. No action is needed beyond receiving the message.

Applications are affected when they set blind recipients with `Message::withBcc()`, with a raw `Bcc` or `Resent-Bcc` header through `withHeader()`, or by re-sending a parsed message that carries those fields, and then send the message with `Psl\SMTP\Client\Transport` or transmit the output of `Psl\Message\serialize()` in any other way. Some mail servers remove `Bcc` fields on receipt, but that is server behavior PSL cannot rely on: a server that relays the header section as received delivers the blind recipient list to everyone. Messages without blind recipients are not affected.

The flaw discloses email addresses, which are personal data, and the fact that those people received the message. It does not disclose the message content to anyone who was not already a recipient.

Patches

Fixed in 6.4.0 https://github.com/php-standard-library/php-standard-library/releases/tag/6.4.0.

  • `serialize()` leaves `Bcc` and `Resent-Bcc` header fields, matched case-insensitively, out of its output.
  • The message object keeps those fields, and `Envelope::fromMessage()` still includes the `Bcc` recipients, so blind recipients still receive the message through the SMTP envelope.
  • Because the serialized output no longer contains the blind recipients, derive the envelope from the message object, not from a parsed copy of the serialized output. A copy saved from `serialize()` output, for example in a Sent folder, no longer contains the `Bcc` field either.

Workarounds

Build the message that is sent without `withBcc()` and without a `Bcc` or `Resent-Bcc` header, and add the blind recipients to the SMTP envelope yourself:

$envelope = Message\Envelope::fromMessage($message);
$envelope = new Message\Envelope($envelope->sender, [...$envelope->recipients, ...$blindRecipients]);

$transport->send($envelope, $message);

Here `$message` has no `Bcc` header and `$blindRecipients` is a list of `Psl\Message\Address\Mailbox` instances.

References

  • RFC 5322 section 3.6.3 (destination address fields: `Bcc`)
  • RFC 5322 section 3.6.6 (resent fields: `Resent-Bcc`)
  • https://github.com/php-standard-library/php-standard-library/releases/tag/6.4.0
Vector CVSS 3.1

Desglose de métricas

Opción resaltada = valor del vector · izquierda = peor caso · GitHub
Vector de ataqueAV:N
RedAdyacenteLocalFísica
ComplejidadAC:L
BajaAlta
PrivilegiosPR:N
NingunoBajosAltos
InteracciónUI:N
NingunaRequerida
AlcanceS:U
CambiadoSin cambio
ConfidencialidadC:L
AltoBajoNinguno
IntegridadI:N
AltoBajoNinguno
DisponibilidadA:N
AltoBajoNinguno
Score de explotaciónQué tan fácil y probable es que la exploten
10.0/ 10Muy alto
Vector 10.0 (muy fácil) · sin evidencia de explotación.
Versiones

Rangos afectados

Afectada Corregida
php-standard-library/message · php-standard-library/php-standard-library≥ 6.2.0 < 6.4.0
6.2.0
6.4.0
Remediación

Estado del parche por paquete

Paquete / productoEstadoCorregida enDesde divulgaciónÚltima versión
Packagistphp-standard-library/message
Corregida 6.4.0 — —
Packagistphp-standard-library/php-standard-library
Corregida 6.4.0 — —
Versiones corregidas6.4.0
Explotación

Arsenal público

Sin exploits, módulos ni PoC públicos conocidos a la fecha de verificación.

Referencias
Advisoryhttps://github.com/php-standard-library/php-standard-library/security/advisories/GHSA-rj6q-j8xp-7532

Las referencias externas se muestran para copiar: cve.llama.ec no lo redirige a otros sitios.