#3002·CTFd

Vulnerabilities identified in ctfd/ctfd:3.8.2 docker image by trivy

Author: adb014Created Mar 30, 2026Updated Jun 25, 2026

I scanned the ctfd/ctfd:3.8.2 docker image with trivy that identified the following vulnerabilites in the underlying debian OS

#  docker run -t --rm --network host  -v /var/run/docker.sock:/var/run/docker.sock -v /root/trivy-cache:/root/.cache/trivy aquasec/trivy:latest image --severity HIGH,CRITICAL --ignore-status not_affected,fixed ctfd/ctfd:3.8.2
...
ctfd/ctfd:3.8.2 (debian 12.13)

Total: 4 (HIGH: 2, CRITICAL: 2)

┌──────────────┬────────────────┬──────────┬──────────────┬───────────────────┬───────────────┬──────────────────────────────────────────────────────────────┐
│   Library    │ Vulnerability  │ Severity │    Status    │ Installed Version │ Fixed Version │                            Title                             │
├──────────────┼────────────────┼──────────┼──────────────┼───────────────────┼───────────────┼──────────────────────────────────────────────────────────────┤
│ libc-bin     │ CVE-2026-0861  │ HIGH     │ affected     │ 2.36-9+deb12u13   │               │ glibc: Integer overflow in memalign leads to heap corruption │
│              │                │          │              │                   │               │ https://avd.aquasec.com/nvd/cve-2026-0861                    │
├──────────────┤                │          │              │                   ├───────────────┤                                                              │
│ libc6        │                │          │              │                   │               │                                                              │
│              │                │          │              │                   │               │                                                              │
├──────────────┼────────────────┼──────────┤              ├───────────────────┼───────────────┼──────────────────────────────────────────────────────────────┤
│ libsqlite3-0 │ CVE-2025-7458  │ CRITICAL │              │ 3.40.1-2+deb12u2  │               │ sqlite: SQLite integer overflow                              │
│              │                │          │              │                   │               │ https://avd.aquasec.com/nvd/cve-2025-7458                    │
├──────────────┼────────────────┤          ├──────────────┼───────────────────┼───────────────┼──────────────────────────────────────────────────────────────┤
│ zlib1g       │ CVE-2023-45853 │          │ will_not_fix │ 1:1.2.13.dfsg-1   │               │ zlib: integer overflow and resultant heap-based buffer       │
│              │                │          │              │                   │               │ overflow in zipOpenNewFileInZip4_6                           │
│              │                │          │              │                   │               │ https://avd.aquasec.com/nvd/cve-2023-45853                   │
└──────────────┴────────────────┴──────────┴──────────────┴───────────────────┴───────────────┴──────────────────────────────────────────────────────────────┘

You need to be able to execute arbitrary SQL commands for the SQLITE CVE, so in the case of CTFd its probably not a problem. The libc CVE itself says its difficult to exploit. For the zlib1g vulnerability, the "will not fix" in debian is only because there is an unbuilt source package impacted that is not built, debian itself is fixed.

So I suppose its just my paranoia (comes from working in cybersecurity), but can we get an update of the debian version for CTFd 3.8.3. Thanks