Skip to content
Heist/ feed
Back to feed
UnratedFix available

bsd-mailx — security advisory

Type: advisorySources: OSVAdvisory ID: DEBIAN-CVE-2004-2771

The expand function in fio.c in Heirloom mailx 12.5 and earlier and BSD mailx 8.1.2 and earlier allows remote attackers to execute arbitrary commands via shell metacharacters in an email address.

Products
bsd-mailx
Affected versions
Not specified
Fixed versions
8.1.2-0.20071201cvs-1
CVEs
CVE-2004-2771
Confirmed fixed CVEs
Not specified
Updated in this feed
31 Oct 2026, 14:23 UTC · Revision 1

Source evidence

DEBIAN-CVE-2004-2771

core-osv · Original source

Published 24 Dec 2014, 18:59 UTC

The expand function in fio.c in Heirloom mailx 12.5 and earlier and BSD mailx 8.1.2 and earlier allows remote attackers to execute arbitrary commands via shell metacharacters in an email address.

osv:DEBIAN-CVE-2004-2771

bsd-mailx

Fixed versions: 8.1.2-0.20071201cvs-1

bsd-mailx

Fixed versions: 8.1.2-0.20071201cvs-1

bsd-mailx

Fixed versions: 8.1.2-0.20071201cvs-1

Complete source record
{
  "id": "33e21ce38c559b67bfe19428f8f6d313ab942f1782f5bc3b301db65fdc87e9e2",
  "url": "https://osv.dev/vulnerability/DEBIAN-CVE-2004-2771",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "DEBIAN-CVE-2004-2771",
    "summary": "The expand function in fio.c in Heirloom mailx 12.5 and earlier and BSD mailx 8.1.2 and earlier allows remote attackers to execute arbitrary commands via shell metacharacters in an email address.",
    "evidence": "osv:DEBIAN-CVE-2004-2771",
    "products": [
      {
        "name": {
          "value": "bsd-mailx",
          "evidence": "/affected/0/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "8.1.2-0.20071201cvs-1",
            "evidence": "/affected/0/ranges"
          }
        ],
        "affected_versions": []
      },
      {
        "name": {
          "value": "bsd-mailx",
          "evidence": "/affected/1/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "8.1.2-0.20071201cvs-1",
            "evidence": "/affected/1/ranges"
          }
        ],
        "affected_versions": []
      },
      {
        "name": {
          "value": "bsd-mailx",
          "evidence": "/affected/2/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "8.1.2-0.20071201cvs-1",
            "evidence": "/affected/2/ranges"
          }
        ],
        "affected_versions": []
      }
    ],
    "severity": "unknown",
    "structured": {
      "id": "DEBIAN-CVE-2004-2771",
      "aliases": [
        "DEBIAN-CVE-2004-2771"
      ],
      "affected": [
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "8.1.2-0.20071201cvs-1"
                }
              ]
            }
          ],
          "package": {
            "name": "bsd-mailx",
            "purl": "pkg:deb/debian/bsd-mailx?arch=source&distro=bookworm",
            "ecosystem": "Debian:12"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2004-2771.json"
          },
          "ecosystem_specific": {
            "urgency": "not yet assigned"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "8.1.2-0.20071201cvs-1"
                }
              ]
            }
          ],
          "package": {
            "name": "bsd-mailx",
            "purl": "pkg:deb/debian/bsd-mailx?arch=source&distro=trixie",
            "ecosystem": "Debian:13"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2004-2771.json"
          },
          "ecosystem_specific": {
            "urgency": "not yet assigned"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "8.1.2-0.20071201cvs-1"
                }
              ]
            }
          ],
          "package": {
            "name": "bsd-mailx",
            "purl": "pkg:deb/debian/bsd-mailx?arch=source&distro=forky",
            "ecosystem": "Debian:14"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2004-2771.json"
          },
          "ecosystem_specific": {
            "urgency": "not yet assigned"
          }
        }
      ],
      "modified": "2026-10-21T15:47:27.394001401Z",
      "provider": "osv",
      "upstream": [
        "CVE-2004-2771"
      ],
      "references": [
        "https://security-tracker.debian.org/tracker/CVE-2004-2771"
      ]
    },
    "related_cves": [
      {
        "value": "CVE-2004-2771",
        "evidence": "/upstream"
      }
    ],
    "security_relevant": true,
    "severity_evidence": null
  },
  "source_id": "core-osv",
  "document_id": 393893,
  "published_at": "2014-12-24T18:59:00.103+00:00"
}