CVE-2021-35525
NixOS vulnerability analysis and mitigation

Overview

CVE-2021-35525 affects PostSRSd versions before 1.11, allowing a denial of service (subprocess hang) condition if Postfix sends certain long data fields such as multiple concatenated email addresses. The vulnerability was discovered and reported by Mateusz Jończyk, with the fix released on March 21, 2021 (GitHub Release).

Technical details

The vulnerability occurs when PostSRSd's subprocess that communicates with Postfix encounters overly long GET requests. The issue stems from the fread()/fwrite() logic in the subprocess becoming confused by remaining input line in its buffer. While theoretically this error should never occur as Postfix is supposed to send valid email addresses shorter than the buffer (even with percent-encoding), Postfix sometimes sends malformed requests with multiple concatenated email addresses (GitHub Commit).

Impact

The vulnerability can result in a denial of service condition where the PostSRSd subprocess hangs, potentially disrupting email processing services (Gentoo Security).

Exploitability

The PostSRSd maintainer noted that the vulnerability's exploitability is limited, stating 'I'm not sure if there's a reliable way to trigger this condition by an external attacker.' However, it can be triggered if Postfix is manipulated into passing a whole list of addresses as a single query to PostSRSd (GitHub Release).

Mitigation and workarounds

The vulnerability was fixed in PostSRSd version 1.11. Users are advised to upgrade to this version or later. For Gentoo users, the fix can be applied by running 'emerge --sync' followed by 'emerge --ask --oneshot --verbose ">=mail-filter/postsrsd-1.11"' (Gentoo Security).

Additional resources


SourceThis report was generated using AI

Related NixOS vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-78662HIGH7.5
  • Docker logoDocker
  • argo-workflows-fips-4.1
NoYesSep 02, 2026
CVE-2026-56855HIGH7.5
  • Docker logoDocker
  • grafana-13.2
NoYesSep 02, 2026
CVE-2026-84642HIGH7.5
  • NixOS logoNixOS
  • cpe:2.3:a:mozilla:thunderbird
NoYesSep 01, 2026
CVE-2026-84641HIGH7.5
  • NixOS logoNixOS
  • thunderbird
NoYesSep 01, 2026
CVE-2026-32773MEDIUM6.1
  • NixOS logoNixOS
  • spark
NoYesSep 02, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management