EST. 2026 — Notes from real server work SYSADMIN · SECURITY · AI · DIRECTADMIN Issue 01
THE SYSADMIN ALMANAC
Home / Security Update / Debian Patches Exim and RT CVE-2026-108351—Check Mail and Tickets
Security Update

Debian Patches Exim and RT CVE-2026-108351—Check Mail and Tickets

by Ton-Or ·25 Nov 2026·7 min read
Debian Patches Exim and RT CVE-2026-108351—Check Mail and Tickets

Debian administrators receiving SMTP through Exim or running Request Tracker should check package versions and schedule patching promptly, putting services that accept external input first.

1-minute summary

Symptom / problem
Exim เขียนล้ำขอบเขต heap ระหว่างรับ SMTP ส่วน RT มีปัญหาข้ามสิทธิ์ ข้อมูลรั่ว CSRF และรันโค้ดภายใต้เงื่อนไขสิทธิ์ของผู้ใช้
Who should read
ผู้ใช้แพ็กเกจ exim4 และ request-tracker5 บน Debian โดยต้องแยกสถานะ trixie กับ bookworm และแยกจากรุ่น upstream
Fix in short
บน trixie อัปเดต exim4 เป็น 4.98.2-1+deb13u6 และ request-tracker5 เป็น 5.0.7+dfsg-4+deb13u4 หรือรุ่นแก้ที่ใหม่กว่าในสายเดียวกัน แล้วรีสตาร์ตโปรเซสที่ใช้โค้ดเหล่านั้น
Jump to steps

I noticed Debian had issued DSA-6659-1 for Exim and DSA-6658-1 for Request Tracker, so I put together the checks for administrators handling mail and tickets. Upstream versions need to be checked separately from Debian package versions, and bookworm separately from trixie.

HighExim severity in the full advisory
28 CVERequest Tracker coverage in the DSA
7.5CVSS 4.0 for CVE-2026-108351
trixieSecurity packages fix both issues
Advisory Main issues Fixed version for Debian trixie
DSA-6659-1 · exim4 GCVE-25-2026-11-82-1 heap out-of-bounds write while receiving SMTP 4.98.2-1+deb13u6
DSA-6658-1 · request-tracker5 Authorization bypass, information disclosure, CSRF, XSS, DoS, and code execution under specific conditions 5.0.7+dfsg-4+deb13u4

The fixed versions are confirmed in DSA-6659-1 and DSA-6658-1. For containers, see Debian runc: Host Patching Is Separate from Application Patching.

Exim: SMTP Data Reaches Operations Running as root

The full Exim advisory, disclosed on 25 Nov 2026, describes a heap out-of-bounds write. A remote attacker can cause the program to write beyond allocated memory, followed by expansion operations running as root. The Debian tracker says the issue arises from decoding mail headers.

The advisory does not fully specify authentication or configuration requirements, and it does not explain how an attack could achieve code execution. I therefore would not call this unauthenticated RCE in every configuration.

Upstream lists versions 4.100 and 4.100.1 as vulnerable, with a fix in 4.100.2, but Debian says trixie's 4.98.2 series is also affected and has issued a patch for it. The two sources list different affected versions without explaining the reason for the difference. Debian users therefore need to follow Debian's package status.

Match the patch to the sourceExim upstream4.100 / 4.100.1Upstream fix4.100.2Debian trixie4.98.2-1+deb13u5Security package4.98.2-1+deb13u6
Upstream and Debian package versions must be compared within their own series. An apparently older program version may already be patched if the package revision matches the advisory.

Request Tracker: What Permissions Each Flaw Requires

The DSA covers 28 CVEs. I will explain three entries from the RT 5.0.11 release notes first.

  • CVE-2026-108270: A user with ForwardMessage on any ticket can email the content and attachments of any transaction, including information in tickets they have no permission to view.
  • CVE-2026-108279: This is CSRF through the URL shortener. If an administrator opens a short link prepared by an attacker, the attacker can change permissions as that administrator, including granting SuperUser. This flaw affects the RT 5.0 series from 5.0.4 and is fixed in 5.0.11.
  • CVE-2026-108351: A user with ModifyTemplate but without ShowTemplate can modify code in an existing Perl template. For a global template, the missing permission is ShowGlobalTemplates. When a scrip uses the template, the code runs as the operating system account used by the web server. This flaw can bypass the ExecuteCode and $DisallowExecuteCode checks, according to the vendor advisory. An attacker must already have the required permissions; this is not a pre-login RCE flaw.

The remaining entries in the DSA can be grouped by impact as shown below. I have included the full CVE identifiers for searching and cross-checking.

Impact group Remaining CVEs in the set
Authorization bypass for objects, custom fields, templates/scrips, and user groups CVE-2026-108271, CVE-2026-108274, CVE-2026-108275, CVE-2026-108280, CVE-2026-108281, CVE-2026-108282, CVE-2026-108352, CVE-2026-108353
Disclosure of mail recipients, group information, RSS, time information, and ticket charts CVE-2026-108273, CVE-2026-108276, CVE-2026-108278, CVE-2026-108346, CVE-2026-108347
CSRF in REST, login, Rights Inspector, and search charts CVE-2026-108277, CVE-2026-108344, CVE-2026-108365, CVE-2026-108371
XSS in ticket content, custom field displays, and the lifecycle editor CVE-2026-105454, CVE-2026-108342, CVE-2026-108343, CVE-2026-108363
Incorrect mail signature status or bypass of trust checks CVE-2026-108272, CVE-2026-108350
Token/salt randomness unsuitable for cryptographic use, and CSS cache growth leading to DoS CVE-2026-108348, CVE-2026-108349

Severity and the Separate bookworm Status Check

The full Exim advisory rates the issue High but provides no CVSS score or vector. For RT CVE-2026-108351, the developer assigns CVSS 4.0 = 7.5 High, with the vector CVSS:4.0/AV:N/AC:L/AT:P/PR:H/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N. The value PR:H means high privileges are required before exploitation, while VC:H/VI:H/VA:H means high impact on the confidentiality, integrity, and availability of the vulnerable system. This score applies only to this CVE.

The cited advisories do not report exploitation in the wild. All 28 RT CVEs were absent from the KEV version dated 24 Nov 2026, which I checked using the JSON file in CISA's official mirror. Absence from KEV does not mean exploitation has never occurred.

According to the Exim tracker and the RT tracker, the bookworm status breaks down as follows.

bookworm package shown in the tracker Status for this set of issues
Exim 4.96-15+deb12u10 The tracker still lists this GCVE as vulnerable and does not yet list a fixed bookworm version
RT 5.0.3+dfsg-3~deb12u6 Still listed as vulnerable for other entries in the set; CVE-2026-108279 is not affected because the vulnerable code is absent

The RT exception is documented in CVE-2026-108279 in Debian. The table says fixed, but the note states that bookworm is not affected because it does not contain the vulnerable code. Choose packages for the correct release; do not use trixie packages on bookworm.

Check the revision for Debian backports

trixie has patches for both issues, so compare the full package versions against Debian's information. For RT installed from upstream, use 5.0.11 in the 5.0 series. CVE-2026-108351 is also fixed in 6.0.4 in the 6.0 series. A separate installation needs to be updated separately from APT.

Update Packages, Then Restart Processes to Load the New Code

Check the release and installed packages first. These APT commands do not cover Exim compiled through a hosting management system.

. /etc/os-release
printf '%s\n' "$VERSION_CODENAME"
dpkg-query -W -f='${binary:Package}\t${Version}\t${db:Status-Status}\n' \
  'exim4*' 'request-tracker5' 'rt5-*'
apt-cache policy exim4-base exim4-daemon-light exim4-daemon-heavy request-tracker5
  1. Check the release and back up Save the mail configuration, RT database, and attachments, along with a recovery procedure
  2. Check the candidate Use the security repository for the same release and compare the full package versions against the table
  3. Simulate before installing Read the proposed changes and avoid accidentally switching between daemon-light and daemon-heavy
  4. Restart all relevant processes Both Exim and the Perl processes serving RT
  5. Test operations Send and receive mail, open and reply to tickets, and check permissions across queues

The following commands select only installed packages built from these two source packages for upgrade. Run them in the same shell, then read the simulation results before installing.

sudo apt update
packages=$(dpkg-query -W -f='${binary:Package} ${source:Package} ${db:Status-Status}\n' \
  'exim4*' 'request-tracker5' 'rt5-*' 2>/dev/null |
  awk '$3 == "installed" && ($2 == "exim4" || $2 == "request-tracker5") {print $1}')
if [ -n "$packages" ]; then
  sudo apt-get -s install --only-upgrade $packages
fi

After checking the simulation results and candidates, install in the same shell.

if [ -n "$packages" ]; then
  sudo apt-get install --only-upgrade $packages
fi

If the candidate is still below the fixed version, check the repositories first. Restart services after installation. The Apache command below applies only to RT running inside Apache processes. If you use FastCGI or a separate application service, also restart the backend running RT. Reloading only the reverse proxy does not make workers load the new Perl code.

# เฉพาะเครื่องที่มีบริการ Exim
sudo systemctl restart exim4
systemctl status exim4 --no-pager

# เฉพาะ RT ที่ทำงานในโปรเซส Apache
sudo systemctl restart apache2
systemctl status apache2 --no-pager

# ตรวจรุ่นหลังอัปเดต เทียบตารางตาม release
dpkg-query -W -f='${binary:Package}\t${Version}\n' \
  'exim4-base' 'exim4-daemon-*' 'request-tracker5'
Temporary mitigation for one RT flaw

For CVE-2026-108351, the developer recommends removing ModifyTemplate from users who do not need it. If it is still needed, also grant ShowTemplate. For global templates, use ShowGlobalTemplates so that the ExecuteCode check works correctly. This does not cover other CVEs in the DSA. The Exim advisory states that no temporary mitigation is available.

Review Past Activity Even If Logs Look Normal

The cited sources do not provide IOCs such as hashes or IP addresses. I recommend checking whether Exim crashed or panicked while receiving mail. For RT, check mail forwarding to unrelated recipients, grants of SuperUser, group membership changes, and Perl template edits. Compare the times and accounts involved against approved work as well.

# ดูบันทึกบริการ Exim ที่ระบบเก็บไว้
sudo journalctl -u exim4 --no-pager
# ใช้เมื่อระบบมีไฟล์ paniclog ของแพ็กเกจ Debian
sudo less /var/log/exim4/paniclog

For RT, review ticket history, application and web logs, and group and template permissions. Even if the logs look normal, that does not establish that exploitation never occurred, because the records may be incomplete. Preserve evidence before deleting anything or restoring over it.

Where I Would Prioritize Patching

I would put Exim receiving external SMTP and RT receiving mail or serving multiple user groups at the front of the patch queue, because these issues involve privileged operations and access to data beyond granted permissions. trixie has fixed versions available. For bookworm, track fixed versions separately in the Debian tracker.

Sources: Debian DSA-6659-1, Debian DSA-6658-1, Exim advisory, Exim Debian tracker, RT Debian tracker, RT CVE-2026-108279, RT 5.0.11 release notes, RT CVE-2026-108351 advisory. Information current through 25 Nov 2026. I will come back and update this later.

Want us to set this up?

Get help with server setup, configuration, migration, or troubleshooting. Save time for the work that matters.

Get a quote

Hit something like this? Stuck somewhere?

Come trade notes on the LinuxThai board

→ Continue on the board

Comments 0

No comments yet — be the first