Skip to content
Heist/ feed
Back to feed
CriticalFix available

exim4 — security advisory

Type: advisorySources: OSVAdvisory ID: DEBIAN-CVE-2023-42115

Exim AUTH Out-Of-Bounds Write Remote Code Execution Vulnerability. This vulnerability allows remote attackers to execute arbitrary code on affected installations of Exim. Authentication is not required to exploit this vulnerability. The specific flaw exists within the smtp service, which listens on TCP port 25 by default. The issue results from the lack of proper validation of user-supplied data, which can result in a write past the end of a buffer. An attacker can leverage this vulnerability to execute code in the context of the service account. . Was ZDI-CAN-17434.

Products
exim4
Affected versions
4.96-15, 4.96-15+deb12u1
Fixed versions
4.96-15+deb12u2, 4.97~RC1-2
CVEs
CVE-2023-42115
Confirmed fixed CVEs
Not specified
Updated in this feed
1 Nov 2026, 16:25 UTC · Revision 1

Source evidence

DEBIAN-CVE-2023-42115

core-osv · Original source

Published 3 May 2024, 03:15 UTC

Exim AUTH Out-Of-Bounds Write Remote Code Execution Vulnerability. This vulnerability allows remote attackers to execute arbitrary code on affected installations of Exim. Authentication is not required to exploit this vulnerability. The specific flaw exists within the smtp service, which listens on TCP port 25 by default. The issue results from the lack of proper validation of user-supplied data, which can result in a write past the end of a buffer. An attacker can leverage this vulnerability to execute code in the context of the service account. . Was ZDI-CAN-17434.

osv:DEBIAN-CVE-2023-42115

exim4

Fixed versions: 4.96-15+deb12u2

exim4

Fixed versions: 4.97~RC1-2

exim4

Fixed versions: 4.97~RC1-2

Complete source record
{
  "id": "2e6414216ef8b8cc32eca0b03ef788cb0d57600d3570aaf4270ef7d3103721a1",
  "url": "https://osv.dev/vulnerability/DEBIAN-CVE-2023-42115",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "DEBIAN-CVE-2023-42115",
    "summary": "Exim AUTH Out-Of-Bounds Write Remote Code Execution Vulnerability. This vulnerability allows remote attackers to execute arbitrary code on affected installations of Exim. Authentication is not required to exploit this vulnerability. The specific flaw exists within the smtp service, which listens on TCP port 25 by default. The issue results from the lack of proper validation of user-supplied data, which can result in a write past the end of a buffer. An attacker can leverage this vulnerability to execute code in the context of the service account. . Was ZDI-CAN-17434.",
    "evidence": "osv:DEBIAN-CVE-2023-42115",
    "products": [
      {
        "name": {
          "value": "exim4",
          "evidence": "/affected/0/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "4.96-15+deb12u2",
            "evidence": "/affected/0/ranges"
          }
        ],
        "affected_versions": [
          {
            "value": "4.96-15",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "4.96-15+deb12u1",
            "evidence": "/affected/0/versions"
          }
        ]
      },
      {
        "name": {
          "value": "exim4",
          "evidence": "/affected/1/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "4.97~RC1-2",
            "evidence": "/affected/1/ranges"
          }
        ],
        "affected_versions": []
      },
      {
        "name": {
          "value": "exim4",
          "evidence": "/affected/2/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "4.97~RC1-2",
            "evidence": "/affected/2/ranges"
          }
        ],
        "affected_versions": []
      }
    ],
    "severity": "critical",
    "structured": {
      "id": "DEBIAN-CVE-2023-42115",
      "aliases": [
        "DEBIAN-CVE-2023-42115"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "4.96-15+deb12u2"
                }
              ]
            }
          ],
          "package": {
            "name": "exim4",
            "purl": "pkg:deb/debian/exim4?arch=source&distro=bookworm",
            "ecosystem": "Debian:12"
          },
          "versions": [
            "4.96-15",
            "4.96-15+deb12u1"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2023-42115.json"
          },
          "ecosystem_specific": {
            "urgency": "not yet assigned"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "4.97~RC1-2"
                }
              ]
            }
          ],
          "package": {
            "name": "exim4",
            "purl": "pkg:deb/debian/exim4?arch=source&distro=trixie",
            "ecosystem": "Debian:13"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2023-42115.json"
          },
          "ecosystem_specific": {
            "urgency": "not yet assigned"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "4.97~RC1-2"
                }
              ]
            }
          ],
          "package": {
            "name": "exim4",
            "purl": "pkg:deb/debian/exim4?arch=source&distro=forky",
            "ecosystem": "Debian:14"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2023-42115.json"
          },
          "ecosystem_specific": {
            "urgency": "not yet assigned"
          }
        }
      ],
      "modified": "2026-10-26T18:03:06.953406497Z",
      "provider": "osv",
      "upstream": [
        "CVE-2023-42115"
      ],
      "references": [
        "https://security-tracker.debian.org/tracker/CVE-2023-42115"
      ]
    },
    "related_cves": [
      {
        "value": "CVE-2023-42115",
        "evidence": "/upstream"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 457690,
  "published_at": "2024-05-03T03:15:50.123+00:00"
}