BSD Ports

sqlite -- integer overflow

· CVE-2025-29087 · VuXML entry

[email protected] reports: In SQLite 3.44.0 through 3.49.0 before 3.49.1, the concat_ws() SQL function can cause memory to be written beyond the end of a malloc-allocated buffer. If the separator argument is attacker-controlled and has a large string (e.g., 2MB or more), an integer overflow occurs in calculating the size of the result buffer, and thus malloc may not allocate enough memory.

Affected versions

By system

2 still vulnerable, 0 fixed. Where VuXML applies (FreeBSD, DragonFly, FreeBSD's derivatives) a port is vulnerable while its version is in a range; pkgsrc says itself whether it lists a CVE of this advisory; OpenBSD and MidnightBSD keep no list this site reads, so their row is only an estimate: FreeBSD's ranges applied to upstream's version.

SystemPortVersionStateFixed
FreeBSDdatabases/sqlite22.8.17_5 vulnerable since 2025-04-30
NetBSDdatabases/sqlite2.8.17nb3 not listed
MidnightBSDdatabases/sqlite22.8.17 in range, by version
DragonFlydatabases/sqlite22.8.17_5 vulnerable since 2025-04-30