CVE-2021-39561
NixOS vulnerability analysis and mitigation

Overview

A stack-buffer-overflow vulnerability was discovered in swftools through version 20200710. The vulnerability exists in the function Gfx::opSetFillColorN() located in Gfx.cc file. This vulnerability was assigned CVE-2021-39561 and was disclosed on September 20, 2021 (NVD).

Technical details

The vulnerability is a stack-based buffer overflow that occurs in the Gfx::opSetFillColorN() function at line 1258 of the xpdf/Gfx.cc file. The issue has been assigned a CVSS v3.1 Base Score of 7.8 (HIGH) with the vector string CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H (NVD).

Impact

If successfully exploited, this vulnerability allows an attacker to cause code execution in the context of the application. The high CVSS score indicates potential severe impacts on confidentiality, integrity, and availability of the affected system (NVD).

Mitigation and workarounds

Users should upgrade to a version newer than 20200710 if available. No specific workarounds have been publicly documented for this vulnerability (NVD).

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-2025-14330CRITICAL9.8
  • NixOSNixOS
  • rhel10::firefox-flatpak
NoYesDec 09, 2025
CVE-2025-14329HIGH8.8
  • NixOSNixOS
  • cpe:2.3:a:mozilla:firefox
NoYesDec 09, 2025
CVE-2025-14333HIGH8.1
  • NixOSNixOS
  • firefox
NoYesDec 09, 2025
CVE-2025-14332HIGH7.3
  • NixOSNixOS
  • cpe:2.3:a:mozilla:firefox
NoYesDec 09, 2025
CVE-2025-14331MEDIUM6.5
  • NixOSNixOS
  • rhel10::thunderbird-flatpak
NoYesDec 09, 2025

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