Skip to content
Heist/ feed
Back to feed
MediumFix available

Lightwell Security Advisory: apache-mime4j-core 0.8.9.rhlw-00004

Type: advisorySources: OSV

Red Hat Lightwell has released org.apache.james:apache-mime4j-core 0.8.9.rhlw-00004 with a backported security fix. CVE-2024-21742: Improper input validation allows for header injection in MIME4J library when using MIME4J DOM for composing message. This can be exploited by an attacker to add unintended headers to MIME messages. This patched artifact is a drop-in replacement for org.apache.james:apache-mime4j-core 0.8.9 from Maven Central.

Products
org.apache.james:apache-mime4j-core
Affected versions
0.7, 0.7.1, 0.7.2, 0.8.0, 0.8.1, 0.8.2, 0.8.3, 0.8.4, 0.8.5, 0.8.6, 0.8.7, 0.8.8, 0.8.9
Fixed versions
0.8.9.rhlw-00004
CVEs
CVE-2024-21742
Confirmed fixed CVEs
Not specified
Updated in this feed
1 Nov 2026, 17:14 UTC · Revision 1

Source evidence

Lightwell Security Advisory: apache-mime4j-core 0.8.9.rhlw-00004

core-osv · Original source

Published 28 Sept 2026, 20:42 UTC

Red Hat Lightwell has released org.apache.james:apache-mime4j-core 0.8.9.rhlw-00004 with a backported security fix. CVE-2024-21742: Improper input validation allows for header injection in MIME4J library when using MIME4J DOM for composing message. This can be exploited by an attacker to add unintended headers to MIME messages. This patched artifact is a drop-in replacement for org.apache.james:apache-mime4j-core 0.8.9 from Maven Central.

osv:RHLW-2026-e78d277bde69c3f5

org.apache.james:apache-mime4j-core

Fixed versions: 0.8.9.rhlw-00004

Complete source record
{
  "id": "6a7ff50c4b996766f9a130d6a3f231d08180464a350392691fc057194695cfd0",
  "url": "https://osv.dev/vulnerability/RHLW-2026-e78d277bde69c3f5",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "Lightwell Security Advisory: apache-mime4j-core 0.8.9.rhlw-00004",
    "summary": "Red Hat Lightwell has released org.apache.james:apache-mime4j-core 0.8.9.rhlw-00004 with a backported security fix. CVE-2024-21742: Improper input validation allows for header injection in MIME4J library when using MIME4J DOM for composing message. This can be exploited by an attacker to add unintended headers to MIME messages. This patched artifact is a drop-in replacement for org.apache.james:apache-mime4j-core 0.8.9 from Maven Central.",
    "evidence": "osv:RHLW-2026-e78d277bde69c3f5",
    "products": [
      {
        "name": {
          "value": "org.apache.james:apache-mime4j-core",
          "evidence": "/affected/0/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "0.8.9.rhlw-00004",
            "evidence": "/affected/0/ranges"
          }
        ],
        "affected_versions": [
          {
            "value": "0.7",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "0.7.1",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "0.7.2",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "0.8.0",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "0.8.1",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "0.8.2",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "0.8.3",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "0.8.4",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "0.8.5",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "0.8.6",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "0.8.7",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "0.8.8",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "0.8.9",
            "evidence": "/affected/0/versions"
          }
        ]
      }
    ],
    "severity": "medium",
    "structured": {
      "id": "RHLW-2026-e78d277bde69c3f5",
      "aliases": [
        "RHLW-2026-e78d277bde69c3f5"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "0.8.9.rhlw-00004"
                }
              ]
            }
          ],
          "package": {
            "name": "org.apache.james:apache-mime4j-core",
            "purl": "pkg:maven/org.apache.james/apache-mime4j-core",
            "ecosystem": "Red Hat Lightwell:Maven"
          },
          "versions": [
            "0.7",
            "0.7.1",
            "0.7.2",
            "0.8.0",
            "0.8.1",
            "0.8.2",
            "0.8.3",
            "0.8.4",
            "0.8.5",
            "0.8.6",
            "0.8.7",
            "0.8.8",
            "0.8.9"
          ],
          "database_specific": {
            "source": "https://github.com/project-lightwell/lightwell-osv/blob/main/advisories/RHLW-2026-e78d277bde69c3f5.json",
            "lightwell": {
              "repository_url": "https://packages.redhat.com/lightwell/java/remediated/",
              "remediated_version": "0.8.9.rhlw-00004",
              "backport_base_version": "0.8.9"
            }
          }
        }
      ],
      "modified": "2026-10-27T04:00:17.366694125Z",
      "provider": "osv",
      "upstream": [
        "CVE-2024-21742",
        "GHSA-jw7r-rxff-gv24"
      ],
      "references": [
        "https://lists.apache.org/thread/nrqzg93219wdj056pqfszsd33dc54kfy",
        "https://nvd.nist.gov/vuln/detail/CVE-2024-21742",
        "https://github.com/advisories/GHSA-jw7r-rxff-gv24"
      ]
    },
    "related_cves": [
      {
        "value": "CVE-2024-21742",
        "evidence": "/upstream"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 460143,
  "published_at": "2026-09-28T20:42:52+00:00"
}