Description
Jansson 2.7 and earlier allows context-dependent attackers to cause a denial of service (deep recursion, stack consumption, and crash) via crafted JSON data.
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | jansson | 2.7-5 | — |
| Debian 13 | jansson | 2.7-5 | — |
| Debian 12 | jansson | 2.7-5 | — |
| Debian 8 | jansson | 2.7-1+deb8u1 | DSA-3577-1 |
| Debian 7 | jansson | 2.3.1-2+deb7u1 | DLA-471-1 |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 16.04 LTS | jansson | 2.7-3ubuntu0.1 | — |
| Ubuntu 14.04 LTS | jansson | 2.5-2ubuntu0.1 | — |
Advisories 2
- DLA-471-1 jansson - security update Debian Security (DSA / DLA) · Mar 9, 2026
- DSA-3577-1 jansson - security update Debian Security (DSA / DLA) · Mar 9, 2026
References
- [oss-security] 20160503 Re: CVE Request: Jansson: stack exhaustion parsing a JSON file mailing-list
- [oss-security] 20160501 CVE Request: Jansson: stack exhaustion parsing a JSON file mailing-list
- [oss-security] 20160502 Re: CVE Request: Jansson: stack exhaustion parsing a JSON file mailing-list
- https://github.com/akheron/jansson/issues/282
- https://github.com/akheron/jansson/pull/284
- https://github.com/akheron/jansson/pull/284/commits/64ce0ad3731ebd77e02897b07920eadd0e2cc318
- DSA-3577 vendor-advisory