Skip to content
OpenAdvisories
Unscored Public exploit CVE-2003-0161 EUVD-2003-0157GHSA-2259-4w76-9w2p

The prescan() function in the address parser (parseaddr.c) in Sendmail before 8.12.9 does not properly handle certain conversions from char…

Published Apr 1, 2003 · Updated Aug 8, 2024 · Assigned by mitre

Description

The prescan() function in the address parser (parseaddr.c) in Sendmail before 8.12.9 does not properly handle certain conversions from char and int types, which can cause a length check to be disabled when Sendmail misinterprets an input value as a special "NOCHAR" control value, allowing attackers to cause a denial of service and possibly execute arbitrary code via a buffer overflow attack using messages, a different vulnerability than CVE-2002-1337.

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 sendmail 8.12.9-1 —
Debian 13 sendmail 8.12.9-1 —
Debian 12 sendmail 8.12.9-1 —
Debian 3.0 sendmail 8.12.3-6.3 DSA-278
Debian 3.0 sendmail-wide 8.12.3+3.5Wbeta-5.4 DSA-290

Public exploits

Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.

Third-party code, not reviewed by us. Public PoCs are sometimes fake or contain malware. Read the code first and run it only in an isolated lab, against systems you are authorised to test.

Exploit-DB 2

Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.

Advisories 2

References