- Accueil
- Vulnérabilités
- CVE-2026-49844
CVE-2026-49844
Improper encoding of non-finite floating-point values during MapMessage JSON serialization in Apache Log4j…
Résumé
Improper encoding of non-finite floating-point values during MapMessage JSON serialization in Apache Log4j API produces output that is not valid JSON. This issue affects Apache Log4j API versions 2.13.1 through 2.25.4 and version 2.26.0. The fix for CVE-2026-34481 did not cover all code paths: when a MapMessage contains a non-finite IEEE 754 value (NaN, Infinity, or -Infinity), MapMessage.asJson() emits the corresponding bare token. RFC 8259 does not permit these tokens, so a conformant parser rejects the resulting document. The defect is reachable only when both of the following conditions hold: * The application uses the message resolver https://logging.apache.org/log4j/2.x/manual/json-template-layout.html#event-template-resolver-message of JsonTemplateLayout or any other layout that relies on MapMessage.asJson() or MapMessage.getFormattedMessage(new String[]{"JSON"}). * The application logs a MapMessage that contains an attacker-controlled floating-point value. An attacker who can supply a non-finite value can cause the affected layout to emit malformed JSON, which may corrupt the enclosing log record or disrupt downstream log ingestion and parsing. Users are advised to upgrade to Apache Log4j API 2.25.5 or 2.26.1, both of which emit RFC 8259-compliant JSON for non-finite values.
Aucune traduction française : description d’origine affichée.
Produits et versions affectés
Correctif
Non renseigné par l’éditeur.
Contournement
Aucun contournement renseigné.
Savoir si vous êtes touché
Aucune méthode de vérification renseignée.
Chronologie
- — Publication de la CVE (cve)
- — Avis du CERT-FR (certfr:CERTFR-2026-AVI-1256)
- — Avis du CERT-FR (certfr:CERTFR-2026-AVI-1291)
- — Avis du CERT-FR (certfr:CERTFR-2026-AVI-1336)
- — Avis du CERT-FR (certfr:CERTFR-2026-AVI-1355)
- — Avis du CERT-FR (certfr:CERTFR-2026-AVI-1385)
- — Avis du CERT-FR (certfr:CERTFR-2026-AVI-1472)
- — Avis du CERT-FR (certfr:CERTFR-2026-AVI-1486)
Avis CERT-FR
- CERTFR-2026-AVI-1486 — Multiples vulnérabilités dans les produits VMware (09 novembre 2026) 9 nov. 2026
- CERTFR-2026-AVI-1472 — Multiples vulnérabilités dans les produits IBM (06 novembre 2026) 6 nov. 2026
- CERTFR-2026-AVI-1385 — Multiples vulnérabilités dans les produits VMware (26 octobre 2026) 26 oct. 2026
- CERTFR-2026-AVI-1355 — Multiples vulnérabilités dans Oracle Weblogic (21 octobre 2026) 21 oct. 2026
- CERTFR-2026-AVI-1336 — Multiples vulnérabilités dans les produits IBM (16 octobre 2026) 16 oct. 2026
- CERTFR-2026-AVI-1291 — Multiples vulnérabilités dans les produits IBM (09 octobre 2026) 9 oct. 2026
- CERTFR-2026-AVI-1256 — Multiples vulnérabilités dans les produits IBM (02 octobre 2026) 2 oct. 2026
Références
- https://github.com/apache/logging-log4j2/pull/4163Issue Tracking, Patch
- https://logging.apache.org/cyclonedx/vdr.xmlVendor Advisory
- https://logging.apache.org/security.html#CVE-2026-49844Vendor Advisory
- https://logging.apache.org/log4j/2.x/manual/json-template-layout.html#event-template-resolver-messageProduct
Provenance des données
- Statut
- NVD
- Date de publication
- NVD
- Description
- NVD
- Score CVSS
- NVD
- Faiblesse (CWE)
- CNA (éditeur ou attributeur)
- Vecteur CVSS
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N(CVSS 3.1, NVD)- Faiblesse
- CWE-116 · Autre (CWE-116)