{"answers":{"affected":"4 open source packages ship an affected version, including org.apache.logging.log4j:log4j-api. It affects 1 product.","exploited":"There is no known exploitation of CVE-2026-49844 in the wild and no public exploit code.","fix":"Upgrade org.apache.logging.log4j:log4j-api to a fixed version for your release line: 2.25.5 or 2.26.1.","what":"CVE-2026-49844 is a medium-severity vulnerability in Apache Log4j API, published on 10 Jul 2026. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2026-49844 and fix it if it is affected.\n\nWhat it is: CVE-2026-49844 is a medium-severity vulnerability in Apache Log4j API, published on 10 Jul 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2026-49844 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- org.apache.logging.log4j:log4j-api (Maven): affected from 2.13.1; fixed in 2.25.5\n- org.apache.logging.log4j:log4j-api (Maven): affected from 2.13.1; fixed in 2.25.5\n- org.apache.logging.log4j:log4j-api (Maven): affected from 2.26.0; fixed in 2.26.1\n- org.apache.logging.log4j:log4j-api (Maven): affected from 2.26.0; fixed in 2.26.1\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2026-49844/ (Markdown: https://insights.sbomify.com/CVE-2026-49844/index.md)","id":"CVE-2026-49844","markdown":"https://insights.sbomify.com/CVE-2026-49844/index.md","name":"CVE-2026-49844","record":{"aliases":["CLEANSTART-2026-AP60356","CLEANSTART-2026-HD36441","CLEANSTART-2026-KK56976","CLEANSTART-2026-OB90229","CLEANSTART-2026-ON00136","CLEANSTART-2026-PP78809","CLEANSTART-2026-PZ72315","CLEANSTART-2026-QZ41346","CLEANSTART-2026-SN07875","CLSA-2026-1784624635","CLSA-2026-1785380784","DEBIAN-CVE-2026-49844","ECHO-a29e-7cbe-3436","GHSA-qv9r-c865-cp47","MINI-238c-g2wh-2j7g","MINI-23xp-xrv7-vww4","MINI-256w-8p58-v884","MINI-2fjf-6f85-558x","MINI-2jgg-3mw3-hh2w","MINI-2mq5-jrg2-m4gr","MINI-34mq-hx63-c7q2","MINI-3pfm-3jgr-5wjj","MINI-3qw3-8qvc-27x8","MINI-3wmr-3jfm-qpm8","MINI-432m-8jhj-82m8","MINI-45qg-g8g6-m9cj","MINI-48hr-77xw-vf3v","MINI-4rxv-9p52-hv5v","MINI-52mx-ch5x-3f5g","MINI-52vj-r8w5-4w93","MINI-57rh-87vq-cwxq","MINI-5qhp-3j5v-6p2h","MINI-63w9-76fh-v255","MINI-64wr-28vc-887x","MINI-66xq-cqhc-v5vr","MINI-6h65-q9mj-9vf6","MINI-6jvh-pcfh-4r3j","MINI-6p88-4fq4-98fm","MINI-73jj-fv4h-w345","MINI-79g9-mw5c-mp3r","MINI-7vr6-r3f6-f69c","MINI-7wrr-7h8w-vwg8","MINI-7xf2-xvrm-h99m","MINI-83gw-7wpq-j8g4","MINI-877w-vq26-c5g3","MINI-8cqm-c3qm-3rhg","MINI-8wcp-r56r-c82f","MINI-9346-rggg-98g7","MINI-94jj-2m44-35cc","MINI-9p27-vhmr-m23r","MINI-9v9q-v4x7-87mx","MINI-c44q-h7p4-wc3h","MINI-c4wm-5q29-wh34","MINI-c99r-25f7-6vhw","MINI-cx5f-v4h5-q5vv","MINI-f594-7xr6-m277","MINI-f6xr-wg9x-cvw9","MINI-f89m-qqg4-h34m","MINI-fqpm-69p8-9m4v","MINI-frqp-7wjq-vf8f","MINI-fwph-qrpw-583g","MINI-gc54-ph5x-35ph","MINI-hc7q-mg24-wxpm","MINI-hcc6-c977-9wqv","MINI-hg96-prxg-3w23","MINI-hhxj-jx4f-vjvp","MINI-hv23-39q5-hw9v","MINI-jfj5-723m-7q6p","MINI-jgpx-42mf-92q7","MINI-jjc5-w9mf-6m6q","MINI-jq4x-3pv2-x8r3","MINI-jxh3-h7hq-9wcv","MINI-m292-x845-hgwj","MINI-m5rv-3p2w-hrvv","MINI-m7hg-3jx5-fwgc","MINI-mgq9-p675-87ch","MINI-mvvx-ff6r-8j5m","MINI-mxjc-w329-v6pm","MINI-p3j7-wvx7-x6m4","MINI-p8hf-wgrv-hhqr","MINI-qgfx-wv77-26fw","MINI-qgqq-rxcg-hh5x","MINI-qvw9-73wp-w9v6","MINI-rcwc-wmr4-xx4w","MINI-rg9p-8p33-9vq9","MINI-rp5f-m5x4-3h7j","MINI-rr42-967m-c86h","MINI-v23f-2jhh-2242","MINI-v9c3-5hw7-xvrg","MINI-w24p-q68p-34cg","MINI-w2gq-2phx-mvpp","MINI-w7cf-29jw-7mjg","MINI-w8h8-6mxm-9hgf","MINI-wf6g-wvjh-h6wp","MINI-wffc-vfcg-5qjv","MINI-wj3v-qw43-pgjv","MINI-wr9h-x8hp-m3fm","MINI-x544-f4jg-6rrf","MINI-xf47-rfp8-7g3m","MINI-xf7j-4833-fp28","MINI-xfp2-vg72-fv49","MINI-xwhc-hgvr-7m6r","UBUNTU-CVE-2026-49844"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["denial_of_service"],"network_reachable":"yes","non_default_config":true,"product_category":"Java logging library","requires_auth":"none","summary":"Attackers can inject non-finite values to generate invalid JSON logs, disrupting downstream log ingestion and parsing in applications using specific Log4j layouts.","user_interaction":"not_required","vuln_class":"other"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"apache","cpe":[{"product":"log4j","vendor":"apache"}],"cvss":{"score":6.3,"severity":"medium","source":"cna","vector":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:N/SC:N/SI:L/SA:N","version":"4.0"},"cwes":[{"id":"CWE-116","name":"Improper Encoding or Escaping of Output"}],"description":"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.\n\nThe 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.\n\nThe defect is reachable only when both of the following conditions hold:\n\n  *  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\"}).\n  *  The application logs a MapMessage that contains an attacker-controlled floating-point value.\n\nAn 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.\n\nUsers 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.","ecosystems":["Maven"],"exploits":{"exploitdb":0,"first_seen":"2026-08-07","github_poc":1,"max_poc_stars":0,"metasploit":0,"nuclei":0,"refs":[{"date":"2026-08-07T19:09:13Z","kind":"github_poc","ref":"https://github.com/xiaoqiMikko/log4j-check","stars":0,"title":"log4j 2025/2026 年 7 条「配置静默失效」CVE 自查:按 CVE×模块 判定 4 个模块,结构化解析 log4j2 配置做 applicability 降噪,并算出该升到哪个版本才一次到位(6 条写 2.25.4,但有一条要 2.25.5,而它 Dependabot 报不出来) CVE-2026-49844 / CVE-2026-34477"}],"tier":"poc_unverified"},"has_fix":true,"headline":"Apache Log4j API: Improper serialization of non-finite floating-point values in MapMessage.asJson()","id":"CVE-2026-49844","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Maven","product":null,"products":[],"type":"other","year":"2026"},"n_packages":4,"n_references":4,"next":{"headline":"Apache Hive: SQL Injection vulnerability in HiveMetaStore partition-name direct-SQL paths","id":"CVE-2026-49845"},"packages":[{"ecosystem":"Maven","fixed":["2.25.5"],"introduced":["2.13.1"],"last_affected":[],"package":"org.apache.logging.log4j:log4j-api","purl":null,"source":"GHSA-qv9r-c865-cp47"},{"ecosystem":"Maven","fixed":["2.25.5"],"introduced":["2.13.1"],"last_affected":[],"package":"org.apache.logging.log4j:log4j-api","purl":"pkg:maven/org.apache.logging.log4j/log4j-api","source":"GHSA-qv9r-c865-cp47"},{"ecosystem":"Maven","fixed":["2.26.1"],"introduced":["2.26.0"],"last_affected":[],"package":"org.apache.logging.log4j:log4j-api","purl":null,"source":"GHSA-qv9r-c865-cp47"},{"ecosystem":"Maven","fixed":["2.26.1"],"introduced":["2.26.0"],"last_affected":[],"package":"org.apache.logging.log4j:log4j-api","purl":"pkg:maven/org.apache.logging.log4j/log4j-api","source":"GHSA-qv9r-c865-cp47"}],"prev":{"headline":"FreeSWITCH: Pre-authentication session eviction via attacker-chosen `sessid` in `mod_verto`","id":"CVE-2026-49843"},"products":["Apache Log4j API"],"published":"2026-07-10","related":[{"cvss_score":10,"headline":"Apache Log4j2 Remote Code Execution","id":"CVE-2021-44228","kev_date_added":"2021-12-10","published":"2021-12-10"},{"cvss_score":9,"headline":"Apache Log4j2 Deserialization of Untrusted Data","id":"CVE-2021-45046","kev_date_added":"2023-05-01","published":"2021-12-14"},{"cvss_score":9.8,"headline":"SQL injection in JDBC Appender in Apache Log4j V1","id":"CVE-2022-23305","kev_date_added":null,"published":"2022-01-18"},{"cvss_score":9.8,"headline":"Deserialization of Untrusted Data in Log4j","id":"CVE-2017-5645","kev_date_added":null,"published":"2017-04-17"},{"cvss_score":8.8,"headline":"Deserialization of untrusted data in JMSSink in Apache Log4j 1.x","id":"CVE-2022-23302","kev_date_added":null,"published":"2022-01-18"},{"cvss_score":7.5,"headline":"Apache Log4j 1.x (EOL) allows DoS in Chainsaw and SocketAppender","id":"CVE-2023-26464","kev_date_added":null,"published":"2023-03-10"},{"cvss_score":7.5,"headline":"Deserialization of untrusted data in JMSAppender in Apache Log4j 1.2","id":"CVE-2021-4104","kev_date_added":null,"published":"2021-12-14"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"},{"class":"open","licence":"CC0","name":"PoC-in-GitHub"}],"ssvc":{"automatable":"no","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2026-09-17","vendors":["Apache Software Foundation"]},"summary":"Attackers can inject non-finite values to generate invalid JSON logs, disrupting downstream log ingestion and parsing in applications using specific Log4j layouts.","url":"https://insights.sbomify.com/CVE-2026-49844/"}