7.1

CVE-2026-39879: SQL injection in syslog-ng SQL destionation driver

Deferred
AliasesUBUNTU-CVE-2026-39879DEBIAN-CVE-2026-39879ALPINE-CVE-2026-39879
Published 20-07-2026Last modified 21-07-2026

Vulnerability summary

CVE-2026-39879 is a high (CVSS 7.1) vulnerability in syslog-ng. EPSS estimates a 0.17% chance of exploitation in the next 30 days, higher than 6.8% of scored vulnerabilities.

Priority
Routine

Not severe (CVSS 7.1, adjacent network); no exploitation reported by the 5 checked sources

Source freshness unavailable

How is this decided?
CVSS score
7.1/10
010
High · v3.1 (CVE.org)
EPSS score
0.17%
0%100%
Low · -0.10 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits0No public exploits recorded

Timeline

  1. 20-07-2026
    PublishedVulnerability first disclosed.
  2. 21-07-2026
    Last modifiedVulnerability information updated.

Description

Due to a missing sanitization call in [`afsql_dd_run_query`](https://github.com/syslog-ng/syslog-ng/blob/649e6e18e3459fb4467000a88dfb12fa97f9719c/modules/afsql/afsql.c#L219), syslog-ng before 4.12 are vulnerable to SQL injection from an untrusted source. This is not part of the default configuration, the SQL driver has to be manually configured. Fixes are in syslog-ng 4.12, syslog-ng Premium Edition 8.2 and syslog-ng Store Box 7.8

CVSS metrics

5 scores · 5 sources · 1 version

EPSS trend

Probability

0.17%

Chance of exploitation in the next 30 days

Percentile

7%

Versus all other CVEs

30-day change

Decrease -0.10 pp

From 0.27% on 04-11-2026

04-11-202604-12-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Version check

Known conditions: adjacent network, no authentication, no user interaction (CVSS vector). Other conditions: not stated in public data.

Alpine1 product
  • syslog-ng< 4.8.3-r2 | < 4.10.2-r2 | < 4.11.0-r1 | < 4.13.0-r0
Debian1 product
  • syslog-ngAll versions (No fix recorded) | < 4.12.0-1
Syslog-ng1 product
Ubuntu1 product
  • syslog-ngAll versions (No fix recorded)

4 vendors · 4 products

References

9 links