Bug 2502916 (CVE-2026-39879) - CVE-2026-39879 syslog-ng: syslog-ng: SQL Injection vulnerability leading to denial of service and data manipulation
Summary: CVE-2026-39879 syslog-ng: syslog-ng: SQL Injection vulnerability leading to d...
Keywords:
Status: NEW
Alias: CVE-2026-39879
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
high
high
Target Milestone: ---
Assignee: Product Security
QA Contact:
URL:
Whiteboard:
Depends On: 2503134 2503135
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-07-20 18:02 UTC by OSIDB Bzimport
Modified: 2026-07-21 06:59 UTC (History)
0 users

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2026-07-20 18:02:18 UTC
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


Note You need to log in before you can comment on or make changes to this bug.